render_pdf
Render a web page to PDF, PNG, JPEG, WebP or Markdown. Returns the download URL of the finished file; fetch it with your API key as the Bearer token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute http(s) URL of the page to render | |
| format | No | Output format, defaults to pdf | |
| fullPage | No | Capture the full scrollable page. Defaults to true; set false for a viewport-only capture. Applies to png, jpeg and webp | |
| viewport | No | Layout viewport in pixels before capture, 200 to 7680 each. Applies to png, jpeg and webp | |
| landscape | No | Landscape orientation, defaults to false | |
| colorScheme | No | Render the page as if the visitor prefers light or dark mode; site keeps the page's own choice. Defaults to light |