Website Screenshot API
Render public pages as PNG, JPG, JPEG, WebP, GIF, JP2, TIFF, AVIF, HEIF, PDF, HTML, or Markdown, with JSON metadata, direct-file, and empty response modes.
Bearer token ('pd_live_...') generated from Pulldata Developer Settings (e.g. 'Bearer pd_live_...'). The legacy x-api-key header remains supported.
application/json
The target public webpage URL to render and capture (must start with http:// or https://).
Output format. Options: 'png', 'jpg', 'jpeg', 'webp', 'gif', 'jp2', 'tiff', 'avif', 'heif', 'pdf', 'html', or 'markdown'.
Response behavior. 'json' returns metadata and a signed URL; 'by_format' returns generated bytes when the synchronous wait completes; 'empty' returns no success body. If processing exceeds the synchronous wait, the API returns HTTP 202 and the same job remains available through polling.
Browser viewport width in pixels.
Browser viewport height in pixels.
When true, scrolls and captures the complete full-page document height.
Image compression quality for JPG, JPEG, WebP, JP2, AVIF, and HEIF output formats (1-100).
Device pixel ratio (1 for standard display, 2 for Retina / HiDPI display).
Page lifecycle event to wait for before capturing. Options: 'load', 'domcontentloaded', 'networkidle', 'commit'.
Additional wait delay in milliseconds after page load to allow JavaScript animations and fonts to settle.
Maximum navigation and render timeout in milliseconds.
Emulate 'prefers-color-scheme: dark' media feature on the rendered page.
CSS selector targeting an individual DOM element to clip and capture (e.g. '#hero', '.pricing-card'). Not supported with format: pdf.
Hide default white page background to produce transparent background. Supported only for PNG and WebP formats.
Indicates whether the screenshot was captured successfully.
Unique identifier for the capture job.
Execution status ('DONE', 'RUNNING', 'FAILED').
Whether processing is fully finished.
USD balance deducted from wallet for this capture.
Original target URL submitted for rendering.
Final URL after safe redirects.
Requested image, document, or text output format.
Requested response behavior: json, by_format, or empty.
Rendered image pixel width.
Rendered image pixel height.
Whether full-page scroll capture was enabled.
Generated asset size in bytes.
MIME type of the selected image, PDF, HTML, or Markdown output.
Direct authenticated CDN download URL for the screenshot asset.
Expiry lifetime of the signed download URL in seconds (e.g. 3600).
ISO 8601 timestamp when the screenshot was generated.
Direct CDN download URL for the screenshot artifact.
Polling endpoint URL if the job is handled asynchronously.
Error message if the capture failed, otherwise null.