APIs / Web Scraper / Crawl
Web Scraper: Crawl
Crawl from Web Scraper as JSON. 1–110 credits per successful call.
POST /v1/web-scraper/crawl
Parameters
Send parameters in the JSON body.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
url | string | Required | Up to 2,048 characters |
limit | integer | Optional | Any |
max_depth | integer | Optional | Any |
include_paths | list of string | Optional | Up to 200 characters |
exclude_paths | list of string | Optional | Up to 200 characters |
format | string | Optional | markdown, html |
include_subdomains | boolean | Optional | Any |
Example request
Web Scraper
POST/v1/web-scraper/crawl
{
"success": true,
"data": {
"start_url": "https://www.python.org",
"pages_returned": 3,
"truncated": true,
"pages": [
{
"url": "https://www.python.org/",
"depth": 0,
"status": 200,
"title": "Welcome to Python.org",
"content": "**Notice:** This page displays a fallback because interactive scripts did not run. Possible causes include disabled JavaScript or failure to load scripts or stylesheets.\n\n\n\n [Skip to content](#content \"Skip to content\")\n\n [ ▼ Close ](#pyth…",
"content_truncated": false,
"links": [
"https://www.python.org/",
"https://www.python.org/psf/",
"https://docs.python.org"
]
},
{
"url": "https://www.python.org/psf-landing/",
"depth": 1,
"status": 200,
"title": "Python Software Foundation",
"content": "**Notice:** This page displays a fallback because interactive scripts did not run. Possible causes include disabled JavaScript or failure to load scripts or stylesheets.\n\n\n\n [Skip to content](#content \"Skip to content\")\n\n [ ▼ Close ](#pyth…",
"content_truncated": false,
"links": [
"https://www.python.org/",
"https://www.python.org/psf/",
"https://docs.python.org"
]
},
{
"url": "https://www.python.org/jobs/",
"depth": 1,
"status": 200,
"title": "Python Job Board | Python.org",
"content": "**Notice:** This page displays a fallback because interactive scripts did not run. Possible causes include disabled JavaScript or failure to load scripts or stylesheets.\n\n\n\n [Skip to content](#content \"Skip to content\")\n\n [ ▼ Close ](#pyth…",
"content_truncated": false,
"links": [
"https://www.python.org/",
"https://www.python.org/psf/",
"https://docs.python.org"
]
}
]
},
"meta": {}
}200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.
Run this endpoint in the playground with your own parameters. 1–110 credits per successful call (1 credit per page fetched, 3 per page that needs a browser, at most 110 per call); failed calls are free.
Response fields
data has these 4 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
start_url | url |
pages_returned | integer |
truncated | boolean |
pages | object[] |