API Endpoints

Reference for all available API endpoints.

POST
GET
/api/v1/capture

Capture a screenshot or video of any webpage. Supports both GET and POST requests.

Request Headers

X-API-Key: sk_live_your_api_key
required
Content-Type: application/json
POST only

Response Headers

HeaderDescription
X-RateLimit-LimitRequests allowed per minute
X-RateLimit-RemainingRequests remaining this minute
X-RateLimit-ResetUnix timestamp when limit resets
X-Quota-LimitMonthly screenshots allowed
X-Quota-RemainingScreenshots remaining this month

Request & Response

Live API

GET Request

curl "https://snagkit.io/api/v1/capture?url=https://example.com&api_key=sk_live_xxx&format=png&full_page=true&response_type=json"

Response (200 OK)

{
  "url": "/api/files/.../screenshot.png",
  "size": 245678,
  "format": "PNG",
  "status": "completed",
  "id": "cmg1abc123"
}

Response Headers

HTTP/1.1 200 OK
X-RateLimit-Limit: 20
X-RateLimit-Remaining: 15
X-Quota-Limit: 100
X-Quota-Remaining: 85