All docs

post /v1/pdf

Page to PDF, returns pdf_url, a 24h pre-signed download URL

Request body

FieldTypeDescription
url * string uri (/^https?:///) Page URL to fetch (http or https).
landscape boolean
print_background boolean
wait_for integer (≥0 ≤60) Extra wait after page load, in seconds (0–60). Use for slow JS-heavy pages.
timeout integer (≥1 ≤60) Page load budget in seconds (1–60). Default is provider default.
max_age integer (≥0 ≤172800) Serve a cached copy only if it is younger than this many seconds; 0 forces a fresh fetch. Default uses the platform cache policy.
Full request schema
{
  "$ref": "#/components/schemas/PdfRequest"
}

Responses

StatusDescriptionBody
200OKapplication/json — object