Screenshot API

Documentation

Guides and API reference for the Screenshot API.

Welcome to the Screenshot API docs. Start with Getting started to sign up, create an API Key, and capture your first Screenshot in under five minutes.

What you can do

  • Render a URLPOST /screenshot returns PNG, JPEG, or WebP bytes, or a JSON envelope with a hosted URL.
  • Authenticate with an API Key — pass Authorization: Bearer shot_… on every request.
  • Control the browser — viewport, device pixel ratio, full-page capture, ad blocking, and wait conditions are all request-body options.

Sections

TopicDescription
Getting startedSign up, create a key, first curl
AuthenticationHeader format and key management
ExamplesCurl, Python, and Node samples
Screenshot referenceFull request and response reference
ErrorsError codes and how to fix them
Rate limits & quotasPer-minute, concurrency, and monthly limits
Caching & idempotencyCache TTL and Idempotency-Key
StorageJSON URLs and 30-day retention