Render a web page (by url) or raw html into a pdf and return it as base64 pdf data. Provide exactly one of url or html. Respects robots.txt for url input. Pass api_key if you have a pagewatch key, otherwise a free trial key is created for you and returned.
url: the page to convert, optional.
html: raw html to convert, optional (provide url or html, not both).
api_key: an existing pagewatch bearer token, optional.
paper: A4, Letter, Legal or A3.
landscape: landscape orientation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| html | No | ||
| paper | No | Letter | |
| api_key | No | ||
| landscape | No |