Skip to the content
Docs Back to the site Dashboard

Screenshots

Read a screenshot

Every screenshot has an id. Use it to read the screenshot again, get a fresh link to its image, list what you took, or delete it.

Read one

GET/v1/screenshots/{id}

Returns the screenshot as JSON: its status, its image, what the page answered, and the credits it used. The id is in the X-Screenshot-Id header of the answer that took it, and in the id field with response=json.

Field Description
status queued, running, succeeded or failed.
image The file: a link, its type, size and dimensions. null until the screenshot has succeeded.
page What the page answered: status, final address after redirects, title.
country Only when you asked for a country: the one requested and the one observed.
attestation Only when you asked for a country: the signed technical attestation. See Countries and attestation.
credits Credits charged, reserved and left.
error null, or the reason the screenshot failed. See Errors.

A screenshot you do not own, or one that was deleted, answers not_found.

image.url is a signed link. It opens without your API key, so you can hand it to a browser or to another tool.

List your screenshots

GET/v1/screenshots

Returns your screenshots, newest first, by pages.

Parameter Description
limit How many to return, 1 to 100. Default: 20.
cursor The next_cursor of the previous page.

next_cursor is null on the last page. Deleted screenshots are not listed.

Delete one

DELETE/v1/screenshots/{id}

Deletes a screenshot. It answers 204 with no body.