url | str | The URL to scrape. Required. |
formats | list[FormatOption] | Output formats: "markdown", "html", "rawHtml", "links", "images", "screenshot", "json", "summary", "audio", "video", "changeTracking", "branding", "product", "menu", "question", "highlights". Default: ["markdown"]. Some accept config dicts. |
only_main_content | bool | Strip headers, navs, footers. Deterministic HTML filter, no LLM. Default: true (API). |
only_clean_content | bool | Additional LLM-based boilerplate removal pass. Default: false. |
include_tags | list[str] | Only include content from these HTML tags. |
exclude_tags | list[str] | Exclude content from these HTML tags. |
headers | dict[str, str] | Custom HTTP headers (cookies, user-agent, etc.). |
wait_for | int | Extra delay in ms before fetching content, on top of smart-wait. Default: 0. |
timeout | int | Request timeout in ms. Min: 1000, default: 60000, max: 300000. |
mobile | bool | Emulate a mobile device. Default: false. |
max_age | int | Use cached result if younger than this (ms). Default: 172800000 (2 days). Set 0 to bypass cache. |
min_age | int | Cache-only mode. Returns cached data if it exists, 404 otherwise. Set 1 to accept any cached data. |
store_in_cache | bool | Cache this scrape result. |
actions | list[Action] | Browser actions to perform before scraping (wait, click, type, scroll, screenshot, etc.). |
location | Location | Geolocation: Location(country="US", languages=["en"]). |
parsers | list[str | PDFParser] | File parsers. Default: ["pdf"]. PDF parser supports mode ("fast", "auto", "ocr"), max_pages, pages, blocks, page_markers. |
proxy | str | Proxy type: "basic", "stealth", "enhanced", "auto". |
skip_tls_verification | bool | Skip TLS cert verification. Default: true (API). |
remove_base64_images | bool | Strip base64 images from output. |
block_ads | bool | Block ads and cookie popups. |
fast_mode | bool | Enable fast scraping mode. |
lockdown | bool | Serve only cached results. |
check_prompt_injection | bool | Scan content for prompt injection (adds 4 credits). |
redact_pii | bool | RedactPIIOptions | Redact personally identifiable information. |
profile | dict | Persistent browser profile: {"name": "my-profile", "save_changes": True}. |
domain_tools | bool | Return Alexandria tool contracts matched to the scraped domain. |
tool_detail | "compact" | "summary" | "full" | Detail level for tool contracts. |
integration | str | Integration identifier. |