Crawl API
The Crawl class performs multi-page recursive crawling from a starting URL. It follows links, extracts data from each page, and collects results.
5 min read Updated July 2026
Python Usage
Node.js Usage
Parameters
| Method | Default | Description |
|---|---|---|
| follow(selector) | — | CSS selector for anchor tags to follow |
| limit(n) | 1000 | Maximum total pages to crawl |
| depth(n) | 5 | Maximum link depth from start URL |
| concurrency(n) | 5 | Maximum concurrent request count |
| delay(secs) | 0.5 | Politeness delay between requests (seconds) |
| field(name, sel) | — | Extract fields from each page matched |
Rate Limiting and Politeness
Combine Crawl with per-host rate limiting and politeness delays:
