GET/v1/screenshots/{id}
Fetch a screenshot's record
PARAMETERS
- idpath · stringREQUIRED
- The screenshot ide.g. shot_9pxk3mz7dqwb2hnt4vce
REQUEST
curl "https://api.imageapis.com/v1/screenshots/shot_9pxk3mz7dqwb2hnt4vce" \ -H "X-API-Key: YOUR_KEY"
import requests
r = requests.get("https://api.imageapis.com/v1/screenshots/shot_9pxk3mz7dqwb2hnt4vce", headers={"X-API-Key": "YOUR_KEY"})
print(r.status_code, r.headers.get("X-Gw-Remaining"))
print(r.json())
const r = await fetch("https://api.imageapis.com/v1/screenshots/shot_9pxk3mz7dqwb2hnt4vce", {
headers: { "X-API-Key": "YOUR_KEY" }
});
console.log(r.status, r.headers.get("X-Gw-Remaining"));
console.log(await r.json());
RESPONSE
200OK
{
"id": "shot_9pxk3mz7dqwb2hnt4vce",
"object": "screenshot",
"status": "completed",
"url": "https://img.imageapis.com/i/shot_9pxk3mz7dqwb2hnt4vce.png",
"source_url": "https://apidirectory.com/",
"final_url": "https://apidirectory.com/",
"title": "APIDirectory",
"http_status": 200,
"format": "png",
"width": 1280,
"height": 800,
"scale": 1,
"bytes": 212044,
"units": 1,
"created": "2026-10-10T18:12:00Z",
"completed": "2026-10-10T18:12:03Z",
"expires": "2026-11-09T18:12:00Z"
}
401Missing or invalid API key (from the gateway)
404No such template or record on this account
{
"error": "string",
"message": "string",
"param": "string"
}