Skip to main content
Get started with Snapopa in minutes. This guide walks you through creating your first screenshot.

Prerequisites

  • A Snapopa account (sign up here)
  • An API key from your dashboard
1

Get Your API Key

Navigate to Dashboard → API Keys and create a new API key.
2

Make Your First Request

Use the API key to capture a screenshot:
curl -X POST https://api.snapopa.com/capture \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com"}'
3

View Your Screenshot

The response includes a fileUrl pointing to your screenshot on the CDN.

Response

{
  "success": true,
  "error": null,
  "data": {
    "uuid": "abc123-def456",
    "fileUrl": "https://cdn.snapopa.com/abc123-def456.png",
    "fromCache": false,
    "tokenCost": 1,
    "fileSizeBytes": 245678,
    "processingTimeMs": 1234,
    "metadata": {
      "mimeType": "image/png",
      "width": 1920,
      "height": 1080,
      "createdAt": 1703001234
    }
  }
}

Next Steps