Skip to main content
Returns markdown, HTML, links, images, summary, JSON extraction, branding, or screenshots — any combination in a single call. Replaces the v1 markdownify endpoint.

Request body

string
required
The URL of the page to fetch. Public URLs only — private and internal addresses are rejected.
array
required
One or more output formats. Each element is an object with a type and optional per-format options.
string
Override auto-detected content type. Common values: "text/html", "application/pdf".
array
Optional non-empty MIME allowlist. Omit it to allow every supported type; "all" and "*" are not accepted.
array
Optional processing configuration. Omit this field to use the 25-page PDF cap. You may also send {"type":"pdf"} and omit maxPages; it defaults to 25. Set maxPages only to override the default, using 1500, or -1 for no page limit. PDF processing costs 1 credit per page actually processed. See Configure PDF page limits for examples.
object
Fetch-time options. All fields are optional.

Example request

Example response

Multi-format request

Request any combination of formats in one call:
Screenshot URLs are pre-signed and expire after 1 hour — download the image if you need to keep it.

Structured extraction during scrape

Use the json format to run an LLM extraction on the same fetched page:
The response exposes the typed output under results.json.data.
  • Service overview: Scrape
  • Run the same call from Python or JS: SDKs