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=... (pass x-api-key in headers)!
Hostinger Security & Deployment
Your server is locked with encrypted master key protection.
How to authenticate external calls
Authenticate requests using standard secure headers:
- API Key Header:
x-api-key: YOUR_API_KEY - Bearer Token Header:
Authorization: Bearer YOUR_API_KEY