↑ ↓ to move ↵ to open

Screenshot API

Take a JPEG screenshot of a page, the visible window or the full page, with your own viewport and wait.

Screenshot API
{  "captured_at": "2026-10-16T14:03:23.651658Z",  "content_type": "image/jpeg",  "final_url": "https://www.wikipedia.org/",  "height": 900,  "rendered": true,  "status_code": 200,  "width": 1440,  "image": {    "bytes": 60650,    "content_type": "image/jpeg",    "data": "/9j/4AAQSkZJRgABAQAAAQABAAD/4gHYSUNDX1BST0ZJTEUA…",    "encoding": "base64"  },  "warnings": []}
Try it live, free

What you send, what comes back

The input object it accepts, and every field of a record, with the values from the response above.

Input7 fields
FieldTypeRequiredWhat it doesExample
url string yes The page to screenshot. https://www.wikipedia.org/
format string no The image format: jpeg. jpeg
full_page boolean no Capture the whole page, not just the visible window. false
viewport_height integer no The browser window height, in pixels. 900
viewport_width integer no The browser window width, in pixels. 1440
wait_for_selector string no Wait until an element matching this CSS selector appears.
wait_ms integer no Wait this many milliseconds before the screenshot.
Fields it returns13 fields
FieldTypeWhat it isExample
captured_at string When the screenshot was taken. 2026-10-16T14:03:23.651658Z
content_type string The image's format. image/jpeg
final_url string The address the browser ended on, after any redirects. https://www.wikipedia.org/
height integer The image's height in pixels. 900
image object The screenshot. 4 fields
image.bytes integer The image's size in bytes. 60,650
image.content_type string The image's format, image/jpeg. image/jpeg
image.data string The image itself, base64-encoded. Decode it and save it as a .jpg file. /9j/4AAQSkZJRgABAQAAAQABAAD/4gHYSUNDX1BST0ZJTEUA…
image.encoding string How data is encoded: base64. base64
rendered boolean Whether the page was drawn in a real browser. true
status_code integer The site's HTTP status for the page, such as 200. 200
warnings array Anything that limited the screenshot; empty when all went well. empty in this sample
width integer The image's width in pixels. 1440

What this endpoint covers

Call it from your code

Set UPSCRAPE_API_KEY to your key and copy a working request. No SDK needed.

curl --request POST \  --url https://data.upscrape.com/execute \  --header "Authorization: Bearer $UPSCRAPE_API_KEY" \  --header "Content-Type: application/json" \  --header "Prefer: wait=30" \  --data '{  "capability": "web.screenshot",  "input": {    "format": "jpeg",    "full_page": false,    "url": "https://www.wikipedia.org/",    "viewport_height": 900,    "viewport_width": 1440  }}'
Response
{  "captured_at": "2026-10-16T14:03:23.651658Z",  "content_type": "image/jpeg",  "final_url": "https://www.wikipedia.org/",  "height": 900,  "rendered": true,  "status_code": 200,  "width": 1440,  "image": {    "bytes": 60650,    "content_type": "image/jpeg",    "data": "/9j/4AAQSkZJRgABAQAAAQABAAD/4gHYSUNDX1BST0ZJTEUA…",    "encoding": "base64"  },  "warnings": []}

Use it from your AI agent instead

The other website tools

The same API key runs every one of them.

Screenshot API FAQ

The short answers. The docs have the long ones.

Still have a question? Talk to the people who build the endpoints.
How much does the Screenshot API cost?

10 credits per successful call, shown before it runs. You buy credits once, and paid credits never expire.

What do I send?

Send url. The input fields below list every option with its type and limits.

Which sites does it work on?

Any public page a visitor can open without logging in. A page that is blocked or gone fails with its reason.

Can my AI agent call it?

Yes, over MCP: the agent finds web.screenshot, checks its price and runs it with the same credits as the REST API.