url | str | The URL to scrape. |
formats | list | Output formats. Strings: "markdown", "html", "rawHtml" (or "raw_html"), "links", "images", "screenshot", "summary", "changeTracking" (or "change_tracking"), "attributes", "branding", "audio", "video". Objects: {"type": "json", "prompt": ..., "schema": ...}, {"type": "question", "question": ...}, {"type": "highlights", "query": ...}, {"type": "screenshot", "full_page": ..., "quality": ..., "viewport": ...}, {"type": "changeTracking", "modes": [...], "tag": ...}, {"type": "attributes", "selectors": [{"selector": ..., "attribute": ...}]}. |
headers | dict[str, str] | Custom HTTP headers. |
include_tags | list[str] | Only include content from these HTML tags. |
exclude_tags | list[str] | Exclude content from these HTML tags. |
only_main_content | bool | Strip nav, footer, and boilerplate. |
timeout | int | Timeout in milliseconds. |
wait_for | int | Wait for page to render (milliseconds). |
mobile | bool | Use a mobile viewport. |
parsers | list | File parsers. "pdf" or PDFParser(mode="fast" | "auto" | "ocr", max_pages=...). |
actions | list | Pre-scrape browser actions: WaitAction, ClickAction, WriteAction, PressAction, ScrollAction, ScreenshotAction, ScrapeAction, ExecuteJavascriptAction, PDFAction. |
location | Location | Location(country="US", languages=["en-US"]) for geo-aware scraping. |
skip_tls_verification | bool | Skip TLS verification. |
remove_base64_images | bool | Drop base64 images from markdown. |
fast_mode | bool | Faster scrapes with reduced fidelity. |
block_ads | bool | Block ads and cookie popups. |
proxy | str | Proxy mode: "basic", "stealth", "enhanced", "auto". |
max_age | int | Accept cached data up to this age (milliseconds). Set to 0 to bypass index reuse. |
store_in_cache | bool | Cache the result. |
lockdown | bool | Serve only previously cached results; never make outbound requests. |
profile | dict | Persistent browser profile: {"name": "...", "saveChanges": True}. |
audit_metadata | AuditMetadata | User attribution for SIEM logging. Has field username. |