v1
latestOpenAPI 3.1.0MIT2026-07-132176113.0 KBurl2pdf
Capture a full-page Url2Pdf of a website
post/url2pdf
Request body
Example request
{
"url": "https://example.com",
"device": "desktop",
"proxyCountry": "us",
"format": "a4",
"orientation": "portrait",
"margin": {
"top": 25.4,
"bottom": 25.4,
"right": 25.4,
"left": 25.4
},
"scale": 1.5
}Response
Successfully captured Url2Pdf
Example response
{
"timestamp": 1763372588297,
"apiStatus": "success",
"apiCode": 200,
"meta": {
"url": "https://example.com",
"device": "desktop",
"format": "letter",
"orientation": "landscape",
"margin": {
"top": 25.4,
"bottom": 25.4,
"right": 25.4,
"left": 25.4
},
"scale": 1.5,
"test": {
"id": "mxqx9v9y0742lap6altwdteqd28t23nq"
}
},
"data": "https://api-assets.example.com/tests/pdf/o5jiqf08bmp93jsll7vb24vs.pdf"
}