WEBHOOKS
Pass a webhook URL on any run and WebRobot POSTs the result envelope when the run finishes. Payloads are signed with an HMAC-SHA256 header so you can verify origin. Retries with exponential backoff for 24 hours if your endpoint is down.
A web scraping API lets your code request data from any website and get structured JSON back. With WebRobot you define a robot once in plain English, then trigger it with a single POST request. No proxies, no headless browsers, no selectors to maintain.
REQUEST
curl -X POST https://api.webrobot.ai/v1/robots/rbt_8k2fq/run \
-H "Authorization: Bearer $WEBROBOT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": { "url": "https://shop.example.com/laptops" },
"webhook": "https://yourapp.com/hooks/webrobot"
}'
RESPONSE · 200
{
"run_id": "run_01hq3xv9",
"robot_id": "rbt_8k2fq",
"status": "succeeded",
"rows": 214,
"duration_ms": 48210,
"data": [
{ "title": "ProBook 14 G11", "price": 899.00,
"currency": "USD", "rating": 4.6, "in_stock": true },
{ "title": "ZenLine 15 OLED", "price": 1249.00,
"currency": "USD", "rating": 4.8, "in_stock": false }
]
}
| Endpoint | What it does |
|---|---|
| POST /v1/robots/{id}/run | Triggers a run. Accepts input overrides (start URL, search term) and an optional webhook URL. Returns a run_id immediately. |
| GET /v1/runs/{id} | Run status and metadata: queued, running, succeeded, failed, row count, duration. |
| GET /v1/runs/{id}/data | The extracted rows as JSON, paginated with cursor parameters. CSV via the Accept header. |
| GET /v1/robots/{id}/data | Latest successful dataset for a robot, ideal for scheduled robots your app polls. |
WEBHOOKS
Pass a webhook URL on any run and WebRobot POSTs the result envelope when the run finishes. Payloads are signed with an HMAC-SHA256 header so you can verify origin. Retries with exponential backoff for 24 hours if your endpoint is down.
RATE LIMITS
API requests are limited to 60 per minute on Launch, 300 per minute on Scale and 1,200 on Autopilot, with standard X-RateLimit headers. Record quotas match your plan: 10k, 100k or 1M rows per month. Limits are on your account, never surprise per-request pricing.
SDKS
Official clients for Node and Python (npm i webrobot, pip install webrobot) wrap runs, polling and webhook verification. The API is plain REST + JSON, so any language works without them.
The part you never build: the robot behind the endpoint is a full ai web agent. It handles pagination, logins and layout changes on its own, with a 98.6% self-heal rate. Your integration code stays a single POST request while the extraction logic maintains itself. Compare that with running your own headless browser fleet, or read how the same engine powers our browser automation tool and data extraction tool.
Evaluating options for the whole team, not just the codebase? Start with the AI web scraper overview or the general web scraping tool checklist.
FINAL ASSEMBLY
Create your first robot in plain English, grab an API key, and delete the scraper code you were dreading to maintain.