POST /v1/hosted/crawl, costs 1 standard credit per page actually crawled (capped by your requested max_pages and your plan’s max_pages_per_run limit).
Request
Fields onCrawlRequest:
| Field | Type | Default | Notes |
|---|---|---|---|
url | string | , | required, crawl start point |
max_depth | int | 2 | link-following depth |
max_pages | int | 10 | hard cap on pages fetched |
url_pattern | string | "" | restrict crawl to matching URLs |
include_external | bool | false | follow links off the start domain |
use_js | bool | false | render with a browser |
timeout_ms | int | 60000 |
Response
CrawlResponse, wrapped in hosted usage metadata:
max_pages, and never exceed your plan’s per-run page limit.