Quick Start
Get your first screenshot in under 5 minutes. Rendex captures any webpage as a PNG or JPEG with a single API call.
1. Get Your API Key
Sign in to your Rendex dashboard. An API key is automatically generated for you on your first visit.
2. Make Your First Call
Use any HTTP client to capture a screenshot. Replace YOUR_API_KEY with your actual key.
cURL
curl -X POST https://api.rendex.dev/v1/screenshot \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com"}' \
--output screenshot.pngPython
import requests
response = requests.post(
"https://api.rendex.dev/v1/screenshot",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={"url": "https://example.com"}
)
with open("screenshot.png", "wb") as f:
f.write(response.content)JavaScript (Node.js)
const response = await fetch("https://api.rendex.dev/v1/screenshot", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({ url: "https://example.com" }),
});
const buffer = await response.arrayBuffer();
// Save to file or process the imageGo
payload := strings.NewReader(`{"url": "https://example.com"}`)
req, _ := http.NewRequest("POST", "https://api.rendex.dev/v1/screenshot", payload)
req.Header.Set("Authorization", "Bearer YOUR_API_KEY")
req.Header.Set("Content-Type", "application/json")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
data, _ := io.ReadAll(resp.Body)
os.WriteFile("screenshot.png", data, 0644)3. Get JSON Response (Base64)
Use the /v1/screenshot/json endpoint to get the image as base64-encoded JSON instead of binary:
curl -X POST https://api.rendex.dev/v1/screenshot/json \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com"}'Response:
{
"success": true,
"data": {
"image": "iVBORw0KGgo...",
"contentType": "image/png",
"url": "https://example.com",
"width": 1280,
"height": 800,
"format": "png",
"bytesSize": 145832,
"capturedAt": "2026-03-26T12:00:00.000Z"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2026-03-26T12:00:00.000Z",
"usage": { "credits": 1, "remaining": 499 }
}
}Next Steps
- API Reference — Full parameter documentation
- Authentication — API key headers and error codes
- MCP Server — Use Rendex with AI agents
- Rate Limits — Plan limits and retry strategies