url | :string | The URL to scrape (required). |
formats | {:list, :any} | Output formats: "markdown", "html", "rawHtml", "links", "images", "screenshot", "summary", "changeTracking", "json", "attributes", "branding", "product", "menu", "audio", "video". Or config maps for json/question/highlights. Default: ["markdown"]. |
headers | :any | Custom HTTP headers. |
include_tags | {:list, :string} | HTML tags to include. |
exclude_tags | {:list, :string} | HTML tags to exclude. |
only_main_content | :boolean | Main content only. Server default: true. |
timeout | :integer | Timeout in ms. Min: 1000, Max: 300000. Server default: 60000. |
wait_for | :integer | Extra delay in ms before fetching. |
mobile | :boolean | Emulate mobile device. |
parsers | {:list, :any} | Parser configs (e.g. pdf mode). |
actions | {:list, :any} | Browser actions before grabbing content. |
location | :keyword_list | Geolocation settings. |
skip_tls_verification | :boolean | Skip TLS verification. |
remove_base64_images | :boolean | Strip base64 images from markdown. Server default: true. |
block_ads | :boolean | Block ads and cookie popups. Server default: true. |
proxy | :basic | :enhanced | :auto | Proxy type. Server default: "auto". |
max_age | :integer | Max cache age in ms. Server default: 172800000 (2 days). |
min_age | :integer | Cache-only mode. Set to 1 to accept any cached data. |
store_in_cache | :boolean | Cache the result. Server default: true. |
lockdown | :boolean | Serve only cached results. |
redact_pii | :boolean | Redact PII. |
profile | :keyword_list | Persistent browser storage. |
audit_metadata | :keyword_list | User attribution: [username: "agent-1"]. |
zero_data_retention | :boolean | Zero data retention mode. |