Receiving Firefox New Tab Scraping Results
Poll this endpoint to retrieve the result of a submitted Firefox New Tab scraping task.
Endpoint
GET /api/parsing/v1/result/mozilla/{requestId}
Repeat the request every few seconds until status is "ready" or "cancelled". While the task is waiting in the queue or being processed, status is "queued" or "parsing" — see Task statuses.
ready means the task is finished, not that it succeeded: check data.success. An empty feed is a failure, not a ready result with empty lists. See Checking whether a task succeeded.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| requestId | string (uuid) | yes | Task ID — the id field returned by the submit endpoint |
Example Request
curl https://app.scrapering.com/api/parsing/v1/result/mozilla/YOUR_REQUEST_ID \
--header 'Authorization: Bearer YOUR_API_KEY'Responses
In progress — task is waiting in the queue ("queued") or being processed ("parsing"):
{
"status": "parsing",
"requestId": "b7c1e0a4-6d29-4f83-9a15-2c8e4b6d0f31"
}
Ready — task completed successfully. organic is Popular Today, clipped by limit. The same story can appear there and in a section; this example repeats one corpusItemId. Advertising slots are not cards. limit also clips each section, and a section with no cards left — including one that is only ads — is omitted.
{
"status": "ready",
"requestId": "b7c1e0a4-6d29-4f83-9a15-2c8e4b6d0f31",
"data": {
"success": true,
"data": {
"input": {
"mode": "catalog",
"locale": "en-US",
"region": "US",
"sectionId": "",
"surfaceId": "newtab",
"original_url": "https://example.com/newtab"
},
"organic": [
{
"rank": 1,
"receivedRank": 1,
"corpusItemId": "8f3c2a",
"link": "https://example.com/story",
"title": "Markets open higher",
"excerpt": "A short summary of the story.",
"publisher": "Example News",
"topic": "finance",
"imageUrl": "https://example.com/story.jpg",
"isTimeSensitive": false
}
],
"sections": [
{
"sectionId": "finance",
"title": "Finance",
"layout": "cards",
"followable": true,
"receivedRank": 1,
"cards": [
{
"rank": 1,
"receivedRank": 1,
"corpusItemId": "8f3c2a",
"link": "https://example.com/story",
"title": "Markets open higher",
"excerpt": "A short summary of the story.",
"publisher": "Example News",
"topic": "finance",
"imageUrl": "https://example.com/story.jpg",
"isTimeSensitive": false
}
]
}
]
}
},
"respondedAt": "2026-10-02T10:00:03.240Z"
}
Failed — scraping did not succeed. status is still "ready":
{
"status": "ready",
"requestId": "b7c1e0a4-6d29-4f83-9a15-2c8e4b6d0f31",
"data": {
"success": false,
"error": "Error message"
},
"respondedAt": "2026-10-02T10:00:03.240Z"
}
Response Fields
| Field | Type | Description |
|---|---|---|
| status | string | "queued", "parsing", "ready", or "cancelled" |
| requestId | string | Task ID |
| data.success | boolean | Whether the scraping succeeded. Present when status is "ready" |
| data.data | object | Feed payload when data.success is true |
| data.data.input | object | mode, locale, region, sectionId, surfaceId, original_url |
| data.data.organic | array | Popular Today cards, clipped by limit |
| data.data.sections | array | Sections that still have cards. A section that is only ads is omitted. Each item has sectionId, title, layout, followable, receivedRank, and cards |
| data.error | string | Error message, present when scraping failed |
| respondedAt | string | ISO 8601 timestamp of completion |
input.surfaceId is the surfaceId identifier returned with the result. input.original_url is the feed URL the result was read from. input.sectionId is "" for a catalog task and the requested id for a section task.
sections[].receivedRank is the position the section had when the feed was received. sections[].followable and sections[].layout match Available sections.
Card
A card is one story in organic or in sections[].cards. publisher is a string. rank is 1-based inside its own list. The same story can appear in both organic and a section. Advertising slots are not returned as cards.
| Field | Type | Description |
|---|---|---|
| rank | number | 1-based position inside this list |
| receivedRank | number | Position the story had when the feed was received |
| corpusItemId | string | Story id. The same id can occur in organic and in a section |
| link | string | Story URL |
| title | string | Story title |
| excerpt | string | Short summary |
| publisher | string | Publisher name |
| topic | string | Topic label |
| imageUrl | string | Image URL |
| isTimeSensitive | boolean | Whether the story is time-sensitive |
Credits
Firefox New Tab is billed per 10 results, based on limit. See Pricing.
Next steps
- Webhooks — receive the result via callback instead of polling
- Creating a task — back to the submit endpoint reference