Screenshot API docs
Capture full-page or viewport screenshots of any website. Returns PNG, JPEG, or WebP with custom viewport sizes.
Authentication
All Screenshot API requests authenticate via two headers. Get your API key from your RapidAPI dashboard after subscribing on the Basic (free) tier or higher.
X-RapidAPI-Key: YOUR_API_KEY X-RapidAPI-Host: screenshot-by-helix-api.p.rapidapi.com
Base URL
https://screenshot-by-helix-api.p.rapidapi.com
Endpoints
GET
/captureCapture screenshot of URL
POST
/captureCapture with advanced options
Code Examples
Python
import requests
url = "https://screenshot-by-helix-api.p.rapidapi.com/capture"
headers = {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "screenshot-by-helix-api.p.rapidapi.com",
}
response = requests.get(url, headers=headers)
print(response.json())JavaScript
const response = await fetch(
"https://screenshot-by-helix-api.p.rapidapi.com/capture",
{
method: "GET",
headers: {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "screenshot-by-helix-api.p.rapidapi.com"
}
}
);
const data = await response.json();cURL
curl -X GET "https://screenshot-by-helix-api.p.rapidapi.com/capture" \ -H "X-RapidAPI-Key: YOUR_API_KEY" \ -H "X-RapidAPI-Host: screenshot-by-helix-api.p.rapidapi.com"
Response Format
All endpoints return JSON in this consistent envelope:
{
"status": "ok",
"data": { /* endpoint-specific payload */ },
"meta": {
"cached": false,
"latency_ms": 142,
"request_id": "req_abc123"
},
"timestamp": "2026-05-21T12:00:00Z"
}Error Codes
| HTTP | Code | Meaning |
|---|---|---|
| 400 | BAD_REQUEST | Missing or invalid parameter |
| 401 | UNAUTHORIZED | Invalid or missing API key |
| 403 | FORBIDDEN | Your plan doesn't include this endpoint |
| 429 | RATE_LIMIT_EXCEEDED | Too many requests — back off and retry |
| 500 | INTERNAL_ERROR | Something went wrong on our side |
| 503 | UPSTREAM_UNAVAILABLE | A third-party data source is down |
Common Use Cases
Social media previews
Website monitoring
PDF reports
Thumbnail generation
Archival
Competitor website tracking
Visual regression testing
Link preview cards
Real estate listing screenshots
SEO audit reports
Website change detection
Portfolio showcase generator
Client reporting dashboard
Compliance documentation
Social proof widgets
Blog post featured images
Marketplace listing previews
Design review automation
Brand monitoring screenshots
Uptime monitoring evidence