Skip to main content
Starts an asynchronous crawl. The response returns a job id immediately; poll GET /api/crawl/:id, fetch page content with GET /api/crawl/:id/pages, or manage the job via the control endpoints.

Request body

string
required
Starting URL to crawl.
array
Output formats captured for each crawled page. Same shape as the Scrape formats array.
integer
Maximum number of pages to crawl.
integer
How many levels of links to follow from the starting URL.
Cap on links expanded per page.
array
Glob-style URL patterns to include, e.g. ["/blog/*"].
array
Glob-style URL patterns to exclude, e.g. ["/admin/*"].
object
Fetch-time options applied to every page. See the Scrape endpoint.

Example request

Example response