Creating a Firefox New Tab Scraping Task
Submit a task to scrape the Firefox New Tab feed. In catalog mode the feed is fresh and nothing is followed: it includes Popular Today and every section that still has story cards. limit clips Popular Today and each section. A section left with no cards — including one that is only ads — is omitted. In section mode the task follows one section, and the source then reorders the sections in the feed.
Requires the mozilla scope on your API key.
Endpoint
POST /api/parsing/v1/mozilla
Request Body
| Name | Type | Required | Description |
|---|---|---|---|
| mode | string | yes | catalog or section. catalog is a fresh feed with no follows: Popular Today and every section that still has cards. section follows one section; the source then reorders the sections |
| locale | string | yes | Feed locale. Accepted values are listed below |
| region | string | no | 2-letter country code. When omitted, it is taken from the locale suffix (en-US → US) |
| limit | number | no | Number of feed items to return, from 1 to 100. Default 100. Popular Today and each section are clipped to this many cards. A section with no cards left is left out. Ten results cost 1 credit |
| sectionId | string | when mode is section | Section to follow. Take it from Available sections |
| sectionTitle | string | no | Label for your own logs. It is not sent to the parser and does not change the feed |
| callbackUrl | string | no | Webhook URL to POST the result when done |
Accepted locale values: de-AT, de-CH, de-DE, en-CA, en-GB, en-IE, en-US, es-AR, es-CL, es-ES, es-MX, fr-BE, fr-FR, it-IT, pl-PL.
The cabinet form defaults to en-US. Suffix case is normalized (en-gb → en-GB). An unknown locale on the feed is an error, not an empty feed. Section ids come from Available sections.
Example Request
Catalog — a fresh feed.
curl -X POST 'https://app.scrapering.com/api/parsing/v1/mozilla' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-d '{"mode":"catalog","locale":"en-US","limit":20}'Section — follow the finance section. callbackUrl is optional.
curl -X POST 'https://app.scrapering.com/api/parsing/v1/mozilla' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-d '{
"mode": "section",
"locale": "en-US",
"sectionId": "finance",
"callbackUrl": "https://my-server.com/webhook/parsing"
}'Example Response
The response below matches the catalog request.
{
"id": "b7c1e0a4-6d29-4f83-9a15-2c8e4b6d0f31",
"status": "queued",
"scope": "mozilla",
"costCredits": 2,
"createdAt": "2026-10-02T10:00:00.000Z"
}
| Field | Type | Description |
|---|---|---|
| id | string | Task ID used to poll for the result |
| status | string | Task status — queued right after creation. All statuses: API Status Codes |
| scope | string | Task type — always mozilla for this endpoint |
| costCredits | number | Credits charged for the task |
| createdAt | string | ISO 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
- Receiving result — poll for the result using the task ID
- Webhooks — receive the result via callback instead of polling
- Available sections — look up section ids by locale
- Pricing — see how credits are calculated for this request