Firefox New Tab Scraper

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

NameTypeRequiredDescription
requestIdstring (uuid)yesTask 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

FieldTypeDescription
statusstring"queued", "parsing", "ready", or "cancelled"
requestIdstringTask ID
data.successbooleanWhether the scraping succeeded. Present when status is "ready"
data.dataobjectFeed payload when data.success is true
data.data.inputobjectmode, locale, region, sectionId, surfaceId, original_url
data.data.organicarrayPopular Today cards, clipped by limit
data.data.sectionsarraySections that still have cards. A section that is only ads is omitted. Each item has sectionId, title, layout, followable, receivedRank, and cards
data.errorstringError message, present when scraping failed
respondedAtstringISO 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.

FieldTypeDescription
ranknumber1-based position inside this list
receivedRanknumberPosition the story had when the feed was received
corpusItemIdstringStory id. The same id can occur in organic and in a section
linkstringStory URL
titlestringStory title
excerptstringShort summary
publisherstringPublisher name
topicstringTopic label
imageUrlstringImage URL
isTimeSensitivebooleanWhether 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