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
2xxstatus code to acknowledge receipt.
Your endpoint will receive a POST request with the same body as the polling result:
{
"success": true,
"data": [ ... ]
}
Next steps
- Creating a task — back to the submit endpoint reference
- Receiving result — polling alternative to webhooks