Docs menu
Endpoints

Get a screenshot

Where a render stands, by the id of its answer: done, queued or failed. Leave a few seconds between calls: each counts toward your requests per minute.

GEThttps://api.pagepeeker.com/v3/shot/{id}

Authentication

Your API key, in Authorization: Bearer YOUR_KEY or X-API-Key: YOUR_KEY: see Authentication. The request counts toward your requests per minute.

Request

Path parameterTypeRequiredDescription
idstringYesThe id of a POST /v3/shot answer.

Response

FieldTypeInDescription
idstringallThe render's id, 32 hex characters. The same options give the same id.
statusstringalldone, queued or failed.
urlstringdoneThe image, to download with GET /v3/files/{name}. Its address never changes: a new render of the same page gets a new one.
rendered_atstringdoneWhen the render was made: ISO 8601, UTC.
final_urlstringdoneWhere the page ended up after redirects.
status_codeintegerdoneThe HTTP status the page answered with.
titlestringdoneThe page's title. Empty when it has none.
descriptionstringdoneThe page's meta description, up to 1,000 characters. Empty when it has none.
iconstringdoneThe full address of the icon the page names in its HTML. Empty when it names none.
widthintegerdoneThe image's width, in pixels.
heightintegerdoneThe image's height, in pixels.
bytesintegerdoneThe image's size.
expires_atstringdoneWhen the image is deleted: ISO 8601, UTC, 31 days after rendered_at.
reasonstringfailedWhy, as a code: see Failed renders. Treat a code you don't know as render_failed.
messagestringfailedWhat happened, in words, for people. It may change: match on reason.
reason_urlstringfailedThe reason's explanation, as GET /v3/reasons/{code} answers it.
failed_atstringfailedWhen the render failed: ISO 8601, UTC.

A queued answer has id and status only. Every answer carries your limit headers. New fields may be added: ignore the ones you don't know (Versioning).

200, done
{
  "id": "962d605ee1df39be70f8a3b70a197199",
  "status": "done",
  "url": "https://api.pagepeeker.com/v3/files/962d605ee1df39be70f8a3b70a197199-ce1edc4934302edf.jpeg",
  "rendered_at": "2026-12-03T09:40:21Z",
  "final_url": "https://www.python.org/",
  "status_code": 200,
  "title": "Welcome to Python.org",
  "description": "The official home of the Python Programming Language",
  "icon": "https://www.python.org/static/favicon.ico",
  "width": 480,
  "height": 360,
  "bytes": 26762,
  "expires_at": "2027-01-03T09:40:21Z"
}
202, queued
{
  "id": "962d605ee1df39be70f8a3b70a197199",
  "status": "queued"
}
200, failed
{
  "id": "a961c88297a355deda57fea09df415d7",
  "status": "failed",
  "reason": "timeout",
  "message": "The selector did not appear in 30 seconds",
  "reason_url": "https://api.pagepeeker.com/v3/reasons/timeout",
  "failed_at": "2026-12-03T09:41:02Z"
}

Status codes

StatusAnswerWhen
200doneThe render is done.
202queuedThe render is queued.
200failedThe page couldn't be rendered. The same request is answered as failed for an hour, then rendered again. A failure costs no render.
404error not_foundNo render with this id (never asked for, or a failure older than an hour), no such failure reason, or no such endpoint.
401error missing_keyNo key in Authorization: Bearer or X-API-Key. A key in the URL is not read.
401error invalid_keyThe key is not valid, or was revoked.
403error account_inactiveThe account is not active.
429error rate_limitedOver your requests a minute. Retry-After says when to try again.

Every endpoint can also answer 403 https_required, 405 method_not_allowed, 500 internal_error. What each error means and what to do about it: Errors and failures.

Example

import requests

res = requests.get(
    "https://api.pagepeeker.com/v3/shot/962d605ee1df39be70f8a3b70a197199",
    headers={"Authorization": "Bearer YOUR_KEY"},
)
print(res.status_code, res.json())
200, done
{
  "id": "962d605ee1df39be70f8a3b70a197199",
  "status": "done",
  "url": "https://api.pagepeeker.com/v3/files/962d605ee1df39be70f8a3b70a197199-ce1edc4934302edf.jpeg",
  "rendered_at": "2026-12-03T09:40:21Z",
  "final_url": "https://www.python.org/",
  "status_code": 200,
  "title": "Welcome to Python.org",
  "description": "The official home of the Python Programming Language",
  "icon": "https://www.python.org/static/favicon.ico",
  "width": 480,
  "height": 360,
  "bytes": 26762,
  "expires_at": "2027-01-03T09:40:21Z"
}