← Back to catalog
convert.web_to_pdf
mock data$0.005 / callWeb to PDF (ConvertAPI)
Render any web page URL to PDF with full JavaScript execution — custom viewport width, lazy content loading, wait delay. Returns PDF download URL (ConvertAPI)
Input schema
urlrequired
stringWeb page URL to render as PDF (e.g. "https://example.com")
delay
integerSeconds to wait after page load before capturing (default 0)
viewport_width
integerBrowser viewport width in pixels (default 1280)
load_lazy_content
booleanScroll page to trigger lazy-loaded images (default false)
Call via REST
curl -X POST https://unifyapi.pro/api/call/convert.web_to_pdf \
-H "Authorization: Bearer uak_live_..." \
-H "Content-Type: application/json" \
-d '{"url":"<url>","delay":0,"viewport_width":0,"load_lazy_content":"<load_lazy_content>"}'