$ npx scrapering initCreate accountStart for free
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}

Keep polling until status is no longer "parsing".

Path Parameters

NameTypeRequiredDescription
requestIdstring (uuid)yesTask ID returned from the submit endpoint

Example Request

curl https://app.scrapering.com/api/parsing/v1/result/url/YOUR_REQUIEST_ID \
  --header 'Authorization: Bearer YOUR_API_KEY'

Responses

In progress — task is still being processed:

{
  "status": "parsing"
}

Ready — task completed successfully:

{
  "url": "https://example.com",
  "content": "<html>...</html>",
  "cookies": [],
  "success": true,
  "screenshot": null
}
FieldTypeDescription
urlstringThe URL that was scraped
successboolean?Whether the page was scraped successfully
contentstring?Raw HTML of the page. Present when output.html is true (default)
contentMarkdownstring?Markdown version of the page. Present when output.markdown is true
contentTextstring?Plain text version of the page. Present when output.text is true
contentJSONobject?Structured JSON representation of the page. Present when output.json is true
cookiesarray?Cookies collected from the page
headersobject?Response headers. Present when parseHeaders is true
screenshotstring?Base64-encoded screenshot. Present when takeScreenshot is true
proxystring?Proxy used for the request
timestring?Time taken to complete the scraping
errorstring?Short error message if scraping failed
errorFullstring?Full error details if scraping failed
hasBadMarksErrstring?Indicates a bad marks error was detected

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