Google News Scraper
Google 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/google-news' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-d '{
"gl": "US",
"hl": "en",
"timeframe": "1d",
"limit": 10,
"feed": "search",
"q": "Pizza",
"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:
{
"status": "ready",
"requestId": "ac9c7911-b32c-4890-a850-227003ee2d35",
"data": {
"input": {
"q": "Pizza",
"feed": "search",
"original_url": "https://news.google.com/search?q=Pizza&hl=en&gl=US&ceid=US%3Aen"
},
"organic": [
{
"link": "https://example.com/pizza-news",
"rank": 1,
"title": "Pizza Trends This Week",
"author": "Jane Smith",
"publisher": "Food Weekly",
"domain": "example.com",
"datetime": "2026-09-03T08:00:00.000Z",
"time": "2 hours ago",
"sourceURL": "https://news.google.com/read/...",
"articleType": "regular"
}
]
},
"success": true,
"respondedAt": "2026-09-03T10:00:06.000Z"
}
Next steps
- Creating a task — back to the submit endpoint reference
- Receiving result — polling alternative to webhooks
