Opera News Scraper

Opera News Scraping Webhooks

Set callbackUrl in the submit request body to receive the result via webhook instead of polling. When parsing completes, the server sends a POST request to that URL with the result payload.

Submit with Callback

curl -X POST 'https://app.scrapering.com/api/parsing/v1/opera-news' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -d '{
  "country": "us",
  "language": "en",
  "limit": 10,
  "category": "sports",
  "callbackUrl": "https://my-server.com/webhook/parsing"
}'

Webhook Payload

Make sure your webhook endpoint responds with a 2xx status code to acknowledge receipt.

Your endpoint will receive a POST request with the same body as the polling result, plus a scope field:

{
  "status": "ready",
  "scope": "opera-news",
  "requestId": "9d2e4a71-3c58-4b0f-a6e2-7f1c8b5d3e94",
  "data": {
    "success": true,
    "data": [ ... ]
  },
  "respondedAt": "2026-10-02T10:00:03.240Z"
}
FieldTypeDescription
statusstringAlways "ready"
scopestringScraper of the task: "opera-news"
requestIdstringTask ID returned from the submit endpoint
dataobjectTask result — the same as data in the polling result
respondedAtstringISO 8601 timestamp of completion

A webhook is sent for successful and failed tasks alike — check data to see whether the task succeeded, see API Status Codes. If your endpoint does not answer with 2xx, the request is retried up to two more times, after 1 and 2 seconds. Cancelled tasks and tasks that time out do not trigger a webhook — use the result endpoint for them.

Next steps