Check screenshot cache status

Check if a screenshot is cached and get metadata without capturing. Does not count against quota. Useful for checking if a URL has been recently captured.

get/v1/screenshot/info

Request

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

Query parameters

urlstring uri required

The URL to check cache status for

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

Output format to check (cache keys are format-specific)

widthinteger

Viewport width in pixels (cache keys are resolution-specific)

heightinteger

Viewport height in pixels (cache keys are resolution-specific)

Response

Cache information

urlstring
cachedboolean
cachedAtstring date-time
expiresAtstring date-time
sizeinteger

Changes

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