Capture a full-page Url2Pdf of a website
Endpoint
PDF Generator
POST
Capture a full-page Url2Pdf of a website
Authorizations
API Key required for all endpoints
Body
application/json
Target URL
Example:
"https://example.com"
Device type to emulate. Defaults to desktop.
Available options:
desktop, mobile Example:
"desktop"
Proxy country code to route the request
Example:
"us"
Paper format
Available options:
letter, legal, a0, a1, a2, a3, a4, a5, a6 Example:
"a4"
Orientation
Available options:
portrait, landscape Example:
"portrait"
Margins in mm
Rendering scale between 0–2
Example:
1.5
Hide cookie popups
Example:
false
Try to skip captcha
Example:
false
Add timestamp watermark
Example:
false
Response
Successfully captured Url2Pdf
Timestamp of the request in milliseconds
Example:
1778737930991
API status message
Available options:
success, failure Example:
"success"
API status code
Example:
200
Metadata about the request
Generated PDF URL
Example:
"https://api-assets.example.com/tests/pdf/o5jiqf08bmp93jsll7vb24vs.pdf"