Skip to main content
Snapopa has one endpoint per output type. Each one takes a URL (or HTML) and only accepts the options that apply to its output.

Endpoints

The examples below use /screenshot. See Endpoints for the PDF and metadata options.
The older POST /capture endpoint still works and accepts every option, but new integrations should use the endpoints above.

Basic Request

Full Request Example

Response

Request Flow

  1. Validation - Request body is validated against the schema
  2. Cache Check - If caching is enabled, check for existing capture
  3. Authentication - API key is verified
  4. Rate Limiting - Request is checked against rate limits
  5. Capture - Screenshot is taken using headless browser
  6. Storage - Result is stored on CDN
  7. Response - URL and metadata are returned
Average capture time is 1-3 seconds depending on page complexity and options selected.