Website ➔ API Hub Hostinger Live
High-speed, zero-browser API gateway
Select an operation
Choose an operation from the left sidebar to inspect and run.
⚙ Query Arguments
0 paramsHow to Add Any Website into Your API
Run the 10-second learning step on your PC with full Google Chrome. Once captured, push to GitHub or update Hostinger, and it serves it over plain HTTP in 100ms!
Step 1: Configure Your New Site
Step 2: Run This Command in Your Terminal
node scripts/learn.js --site my-store --op searchProducts --trigger "https://example.com/search?q={query}" --param query --ex1 shoes --ex2 boots
This opens headless Chrome on your PC once, catches the backend request, creates sites/my-store.json, and validates the output.
Step 3: Push to GitHub to Auto-Deploy on Hostinger
git add sites/ git commit -m "Add new site API" git push origin main
Hostinger automatically redeploys your app. Your new API is live immediately at /api/v1/my-store/searchProducts?query=...&key=YOUR_PASSWORD!
Hostinger Security & Deployment
Your server is locked with password sakuvslumbu.
How to authenticate external calls
Pass your password in any of these ways:
- Header:
x-api-key: sakuvslumbu - Bearer:
Authorization: Bearer sakuvslumbu - Query parameter:
?key=sakuvslumbu