Generate a signed screenshot URL

Creates a pre-signed URL that captures a screenshot when visited. The signed URL can be used without an API key, making it ideal for embedding in emails, documents, or sharing with third parties. Signing is free and does not count against your quota. Each render of the signed URL consumes one credit. URLs are tamper-proof and expire after the specified duration.

post/v1/screenshot/sign

Request

  • Base URL: https://app.snap-render.com
  • URL: https://app.snap-render.com/v1/screenshot/sign
  • Auth: API key in header X-API-Key

Request body

urlstring required

URL to capture (must be http or https)

expires_ininteger

URL validity in seconds (default: 86400 = 1 day, max: 2592000 = 30 days)

format'png' | 'jpeg' | 'webp' | 'pdf'

Output format (default: png)

widthinteger

Viewport width (default: 1280)

heightinteger

Viewport height (default: 800)

full_pageboolean

Capture entire page (default: false)

qualityinteger

Image quality (default: 90)

delayinteger

Wait after load in ms (default: 0)

dark_modeboolean

Dark mode (default: false)

block_adsboolean

Block ads (default: true)

block_cookie_bannersboolean

Remove cookie banners (default: true)

device'iphone_14' | 'iphone_15_pro' | 'pixel_7' | 'ipad_pro' | 'macbook_pro'
hide_selectorsstring

CSS selectors to hide

click_selectorstring

CSS selector to click

user_agentstring

Custom user agent

Response

Signed URL generated

signed_urlstring

The pre-signed render URL

expires_atstring date-time

When the URL expires

expires_ininteger

Validity duration in seconds

Changes

No recorded changes to this operation across all 1 revision of this API.