API Endpoints
Reference for all available API endpoints.
POST
GET
/api/v1/captureCapture 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
| Header | Description |
|---|---|
| X-RateLimit-Limit | Requests allowed per minute |
| X-RateLimit-Remaining | Requests remaining this minute |
| X-RateLimit-Reset | Unix timestamp when limit resets |
| X-Quota-Limit | Monthly screenshots allowed |
| X-Quota-Remaining | Screenshots 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