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".object
Fetch-time options. All fields are optional.
Example request
Example response
Multi-format request
Request any combination of formats in one call:Structured extraction during scrape
Use thejson format to run an LLM extraction on the same fetched page:
results.json.data.