Getting Results
Webhooks
You can configure a webhook to receive real-time updates when a scraper job runs.
To enable it, pass a webhook
object in your job request.
Webhook delivery is async and retries automatically on failure (3 attempts)
Example
Supported Events
scraper.job.started
— Sent when the job starts processingscraper.data.rows_added
— Sent as data is collected (may trigger multiple times)scraper.job.finished
— Sent when the job is complete
Custom Headers
You can pass custom HTTP headers in the headers
field. These headers will be included in every webhook request. Use it to include auth tokens or signatures.
Payload
Each webhook event will include:
event
— Event namejobId
— ID of the related jobtimestamp
— ISO timestamp of the eventdata
— Depends on event type (e.g. status, rows, result URL)
Example payload: