$ npx scrapering initCreate accountStart for free
URL Scraper

Creating a URL Scraping Task

Submit a URL scraping task to fetch the full HTML content of any page using a real browser. Text, markdown and structured JSON responses are supported as well.

Requires the url-scraper scope on your API key.

Endpoint

POST /api/parsing/v1/url

Request Body

NameTypeRequiredDescription
urlstringyesTarget URL to scrape
proxystringnoProxy URL: http://user:pass@host:port
useragentstringnoCustom User-Agent string (printable ASCII only)
isMobilebooleannoEmulate mobile browser
solveCaptchabooleannoAttempt to solve captcha if detected
callbackUrlstringnoWebhook URL to POST result when done
takeScreenshotbooleannoCapture a screenshot of the page
parseHeadersbooleannoCapture response headers
outputobjectnoOutput formats to include. Default: {"html": true}. At least one format must be enabled.
output.htmlbooleannoInclude raw HTML
output.markdownbooleannoInclude Markdown version of the page
output.textbooleannoInclude plain text version of the page
output.jsonbooleannoInclude structured JSON representation

Example Request

curl https://app.scrapering.com/api/parsing/v1/url \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --data '{
  "url": "https://example.com",
  "isMobile": false,
  "solveCaptcha": false,
  "takeScreenshot": false
}'

Example Response

{
  "id": "ac9c7911-b32c-4890-a850-227003ee2d35",
  "status": "parsing",
  "scope": "url",
  "costCredits": 1,
  "createdAt": "2026-05-08T10:00:00.000Z"
}
FieldTypeDescription
idstringTask ID used to poll for the result
statusstringCurrent task status (parsing, done, error)
scopestringTask type — always url for this endpoint
costCreditsnumberCredits charged for the task
createdAtstringISO 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