url | string | (required) Target URL to scrape. |
formats | FormatOption[] | Output formats: "markdown", "html", "rawHtml", "links", "images", "screenshot", "summary", "changeTracking", "json", "attributes", "branding", "product", "menu", "audio", "video". Also structured formats like { type: "json", schema: yourSchema }. |
headers | Record<string, string> | Custom HTTP headers sent with the scrape request. |
includeTags | string[] | Only include these HTML tags in the output. |
excludeTags | string[] | Exclude these HTML tags from the output. |
onlyMainContent | boolean | Strip boilerplate (nav, footer, sidebar) and return only main content. |
timeout | number | Server-side timeout in milliseconds. |
waitFor | number | Wait this many milliseconds for the page to load before scraping. |
mobile | boolean | Use a mobile user-agent. |
parsers | Array<string | PDFParser> | Parser configuration (e.g. for PDF files). |
actions | ActionOption[] | Browser actions to perform before scraping: wait, click, write, press, scroll, scrape, executeJavascript, screenshot, pdf. |
location | { country?: string; languages?: string[] } | Geo-location settings for the request. |
skipTlsVerification | boolean | Skip TLS certificate verification. |
removeBase64Images | boolean | Strip base64-encoded images from the output. |
fastMode | boolean | Enable fast scraping mode. |
blockAds | boolean | Block ads during scraping. |
proxy | "basic" | "stealth" | "enhanced" | "auto" | Proxy tier to use. |
maxAge | number | Max age in ms of cached content to reuse. 0 to bypass cache. |
storeInCache | boolean | Store the result in cache. |
lockdown | boolean | Enable lockdown mode. |
redactPII | boolean | RedactPIIOptions | Redact personally identifiable information. |
threatProtection | ThreatProtectionOptions | Enterprise threat protection settings. |
auditMetadata | { username: string } | Audit metadata for tracking. |
profile | { name: string; saveChanges?: boolean } | Browser profile to use. |
integration | string | Integration identifier. |
autoResume | boolean | SDK-only. Auto-retry when a large document outlives the request window. Defaults to true. |