URL Scraper

Receiving URL Scraping Results

Poll this endpoint to retrieve the result of a submitted URL scraping task.

Endpoint

GET /api/parsing/v1/result/url/{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.

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/url/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": "ac9c7911-b32c-4890-a850-227003ee2d35"
}

Ready — task completed successfully:

{
  "status": "ready",
  "requestId": "ac9c7911-b32c-4890-a850-227003ee2d35",
  "data": {
    "url": "https://scrapering.com",
    "content": "<html>...</html>",
    "cookies": [],
    "success": true,
    "screenshot": null
  },
  "respondedAt": "2026-05-08T10:00:03.240Z"
}
FieldTypeDescription
statusstring"ready" when complete
requestIdstringTask ID
data.urlstringThe URL that was scraped
data.successboolean?Whether the page was scraped successfully
data.contentstring?Raw HTML of the page. Present when output.html is true (default)
data.contentMarkdownstring?Markdown version of the page. Present when output.markdown is true
data.contentTextstring?Plain text version of the page. Present when output.text is true
data.contentJSONobject?Structured JSON representation of the page. Present when output.json is true
data.cookiesarray?Cookies collected from the page
data.headersobject?Response headers. Present when parseHeaders is true
data.screenshotstring?Base64-encoded screenshot. Present when takeScreenshot is true
data.proxystring?Proxy used for the request
data.timestring?Time taken to complete the scraping
data.errorstring?Short error message if scraping failed
data.errorFullstring?Full error details if scraping failed
data.hasBadMarksErrstring?Indicates a bad marks error was detected
respondedAtstringISO 8601 timestamp of completion

data.screenshot contains a base64-encoded image when takeScreenshot was set to true in the request, otherwise null.

Important! Screenshot is stored for 1 hour after the scrape.
Scraped content is stored for 7 days after the scrape.
Save the results on your side so you don't lose them.

Next steps