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.
integer
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
Related
- Poll progress:
GET /api/crawl/:id - Fetch pages:
GET /api/crawl/:id/pages - Stop, resume, or delete: Manage crawl jobs
- Service overview: Crawl