url | string (URI) | Yes | — | The URL to scrape. |
formats | array | No | ["markdown"] | Output formats. See Format types below. |
onlyMainContent | boolean | No | true | Only return main content. |
onlyCleanContent | boolean | No | false | Beta. LLM-based removal of residual boilerplate. |
includeTags | string[] | No | — | HTML tags to include. |
excludeTags | string[] | No | — | HTML tags to exclude. |
headers | object | No | — | Custom HTTP headers. |
timeout | integer | No | 60000 | Timeout in ms. Min: 1000, Max: 300000. |
waitFor | integer | No | 0 | Wait time in ms before scraping. |
mobile | boolean | No | false | Emulate mobile device. |
skipTlsVerification | boolean | No | true | Skip TLS verification. |
parsers | array | No | ["pdf"] | Parser config. Each item: "pdf" or {"type": "pdf", "mode": "fast"|"auto"|"ocr", "maxPages": N}. |
actions | array | No | — | Browser actions. See Action types below. |
location | object | No | — | {"country": "US", "languages": ["en-US"]}. |
removeBase64Images | boolean | No | true | Remove base64 images from markdown. |
blockAds | boolean | No | true | Block ads and cookie popups. |
proxy | string | No | "auto" | "basic", "enhanced", "auto". |
maxAge | integer | No | 172800000 | Max cache age in ms (default 2 days). |
minAge | integer | No | — | Min cache age. Only checks cache, never fresh scrape. Set to 1 for any cached data. |
storeInCache | boolean | No | true | Store result in cache. |
lockdown | boolean | No | false | Serve only cached results. 404 on miss. |
redactPII | boolean | object | No | false | Redact PII. Object: {"mode": "accurate", "entities": ["PERSON","EMAIL"], "replaceStyle": "tag"}. |
zeroDataRetention | boolean | No | false | Enable zero data retention. |
profile | object | No | — | {"name": "my-profile", "saveChanges": true}. |
threatProtection | object | No | — | Per-request threat protection override (enterprise). |
auditMetadata | object | No | — | {"username": "agent-name"}. |