Crawl a site
Crawl
Crawl a website in the background. Send one request and get JSON back. Examples in cURL, TypeScript and Python. A failed call costs nothing.
POST
Best for reading a whole section of a site without holding a call open. It answers at once with an id; ask crawl.status for the pages, or send webhook to be told as each one finishes.
Price
1 credit a page, however it is reached. json with a schema or a prompt, summary and highlights add 4 credits each when they return something. CSS rules and attributes add nothing. A PDF adds 1 credit for each page read. Each perform action adds 2 credits. An answer from a stored copy within maxAge is free. A page that comes back with a 404 or 410 status is charged like any page. A page that cannot be read costs nothing. Each page is charged when it finishes. Starting the job is free. See Pricing for what credits cost.Limits
An account runs up to 5 crawls and batch scrapes at once. A sixth start answers 400invalidRequest: jobs: you already have 5 jobs running. Wait for one of them to finish, then try again. Wait until one is completed, then start it again.
Authorizations
Query Parameters
Body
application/json