Opera News Scraper

Creating an Opera News Scraping Task

Submit a task to scrape the Opera News feed for a given country and language, optionally narrowed to a single category.

Requires the opera-news scope on your API key.

Endpoint

POST /api/parsing/v1/opera-news

Request Body

NameTypeRequiredDescription
countrystringyesCountry of the Opera News feed (e.g. us)
languagestringyesFeed language as a two-letter code (e.g. en, de, fr)
limitnumbernoNumber of feed items to return, from 1 to 100
categorystringnoFeed category (e.g. sports). Omit for the main feed
callbackUrlstringnoWebhook URL to POST result when done

Example Request

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}'

Example Response

{
  "id": "9d2e4a71-3c58-4b0f-a6e2-7f1c8b5d3e94",
  "status": "parsing",
  "scope": "opera-news",
  "costCredits": 1,
  "createdAt": "2026-10-02T10:00:00.000Z"
}
FieldTypeDescription
idstringTask ID used to poll for the result
statusstringCurrent task status (parsing, done, error)
scopestringTask type — always opera-news for this endpoint
costCreditsnumberCredits charged for the task
createdAtstringISO 8601 timestamp of when the task was created

The task is processed asynchronously. Use the id to poll for the result or set callbackUrl to receive a webhook when parsing completes.

Next steps