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

NameDescription
urlRequired. Public HTTP or HTTPS page URL
fullPageOptional boolean. Capture the full page
widthOptional. Viewport width
heightOptional. Viewport height
wait_untilOptional. load | domcontentloaded | networkidle
formatOptional. png | jpg | webp; defaults to png
qualityOptional. Image quality from 0 to 100; defaults to 80

Response fields

  • image/png
  • image/jpeg
  • image/webp

Guides

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.