Capture a webpage screenshot and get a public URL to the image. Costs 1 credit.
Documentation Index
Fetch the complete documentation index at: https://prefetch.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
/screenshot opens a URL in a headless Chrome browser and captures a screenshot. The image is stored in cloud storage and a public URL is returned. You can configure:
| Format | Best for | Notes |
|---|---|---|
jpeg | General use, thumbnails | Smallest file size, lossy compression |
png | Logos, UI elements, transparency | Lossless, larger files |
webp | Web display | Best compression-to-quality ratio |
| Parameter | Default | Min | Max |
|---|---|---|---|
width | 1440 | 320 | 5000 |
height | 900 | 320 | 5000 |
format | jpeg | — | — |
full_page | false | — | — |
Your Prefetch API key. Obtain one from the dashboard.
The website URL to process. http:// is prepended automatically if no protocol is provided. Maximum 2048 characters.
"https://stripe.com"
Viewport width in pixels. Range: 320–5000. Default: 1440.
320 <= x <= 5000Viewport height in pixels. Range: 320–5000. Default: 900.
320 <= x <= 5000Image format. Default: jpeg.
jpeg, png, webp Capture full scrollable page height. Default: false.