What you send

POST a JSON body to /v1/crawl with your API key in the X-API-Key header.

url
The start URL. Required.
limit
Pages to deliver, 1–10,000 (default 100).
maxDepth
How many links deep to follow, 0–20 (default 3).
includePatterns, excludePatterns
Keep or skip URLs by pattern, up to 50 each.
crawlDelayMs
Pause between pages, up to 60 seconds. A longer robots.txt crawl delay wins.
scrapeOptions
The Scrape options (formats, render, and so on) for every page.
webhookId
One of your webhook endpoints, notified when the job ends.

What you get back

The request returns 202 with the job. Poll GET /v1/jobs/{jobId} for progress; the finished job lists up to 100 pages and any failures, and GET /v1/jobs/{jobId}/pages returns every page.

ResponseAbridged. Poll the job until it reaches a final state.
HTTP/2 202
location: /v1/jobs/<jobId>

{
  "success": true,
  "data": {
    "id": "<jobId>",
    "operation": "crawl",
    "state": "queued"
  }
}

Crawl is always asynchronous. The job reserves its limit times the per-page maximum: a 100-page crawl with default options reserves 300 credits, and only delivered pages are charged.

What Crawl costs

Before a job starts, its maximum cost is reserved. When it finishes, only what was delivered is charged and the rest is released. Failed pages and failed jobs are not charged.

Web Context credit costs
Operation or optionCreditsNotes
Scrape: each page1Includes Markdown, HTML, and links.
Browser rendering+2Charged when the page was rendered in a browser: render "always", a screenshot, or render "auto" deciding to render.
CrawlScrape cost per pageThe sum of the Scrape cost of every delivered page.

See plans and all credit costs →

Make your first request in minutes

Create an account, choose a monthly plan or one-time credits, and try any operation in the dashboard playground before you write code.