Screenshot API
Capture a public HTTP or HTTPS page as PNG, JPEG or WebP. Choose viewport dimensions, full-page capture, readiness condition and image quality.
/screenshot5 credits / requestWeb
Request
curl "https://api.fastaf.co/v1/screenshot?url=..." \
-H "Authorization: Bearer YOUR_KEY"Parameters
| Name | Description |
|---|---|
| url | Required. Public HTTP or HTTPS page URL |
| fullPage | Optional boolean. Capture the full page |
| width | Optional. Viewport width |
| height | Optional. Viewport height |
| wait_until | Optional. load | domcontentloaded | networkidle |
| format | Optional. png | jpg | webp; defaults to png |
| quality | Optional. Image quality from 0 to 100; defaults to 80 |
Response fields
- image/png
- image/jpeg
- image/webp
Guides
- Automate website screenshots with Python for monitoring
Capture a page as a PNG with one request, write the bytes straight to a file, and branch on content-type instead of guessing when a capture fails. Tested August 2026.
FAQ
Does this endpoint return JSON?
No. A successful request returns the screenshot as an image response.
Can I capture the full page?
Yes. Set fullPage=true. The parameter uses camel case.
What does a screenshot cost?
Each request costs 5 credits, or about $1.93 per 1,000 requests on a 75k prepaid pack.