ScrapeNest · Schema
ScreenshotRequest
Web ScrapingSERPAI AgentsMaps ReviewsAudio TranscriptsTranslation
Properties
| Name | Type | Description |
|---|---|---|
| url | string | Absolute http(s) URL to capture. |
| viewport_width | integer | Browser viewport width in CSS pixels. |
| viewport_height | integer | Browser viewport height in CSS pixels. |
| device_scale_factor | number | Pixel ratio of the image: 1 (default) returns exactly viewport_width x viewport_height pixels (or the full page at that width), 2 returns twice that in each dimension. Billed the same. |
| full_page | boolean | If true, captures the entire scrollable page height instead of just the viewport. |
| selector | object | CSS selector. When set, captures only the bounding box of the first matching element (e.g. '#hero', '.product-card:first-child'). Overrides full_page. If the selector matches nothing, the capture is t |
| render | string | `auto` lets the platform pick the right backend. `browser` forces the standard headless browser. `stealth` forces the anti-bot evasion backend for hardened targets (slower, billed at the stealth rate) |
| format | string | Image encoding. |
| jpeg_quality | integer | JPEG quality 1-100; ignored when format=png. |
| wait_extra_ms | integer | Additional wait after page load before capture, for late-loading content (e.g. SPAs with delayed content). |
| cache_ttl_seconds | object | Override the cache TTL for this screenshot. Defaults to off; set non-zero to dedupe repeat captures. A request that sends cookies, headers or session_id is never cached. |
| cookies | object | Cookies to attach to the request, as a {name: value} mapping. Useful for screenshotting authenticated pages. Names must be HTTP tokens; values may not contain control characters or ';'. Anything else |
| headers | object | Extra HTTP request headers to send (e.g. User-Agent, Referer). Host/Content-Length are ignored. Max 30. Names must be HTTP tokens and values may not contain control characters other than tab; anything |
| session_id | object | Reuse a sticky exit IP across requests (10-minute window). Useful when the target site personalizes by IP and you want the screenshot to match a previous /v1/scrape/url session. |
| include_usage | boolean | If true, include a `usage` block in the response with credit totals. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/scrapenest-dev/json-schema/scrapenest-dev-screenshot-request-schema.json",
"title": "ScreenshotRequest",
"x-generated": "2026-11-24",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/scrapenest-dev-openapi.json#/components/schemas/ScreenshotRequest",
"properties": {
"url": {
"type": "string",
"minLength": 1,
"format": "uri",
"title": "Url",
"description": "Absolute http(s) URL to capture."
},
"viewport_width": {
"type": "integer",
"maximum": 3840.0,
"minimum": 320.0,
"title": "Viewport Width",
"description": "Browser viewport width in CSS pixels.",
"default": 1280
},
"viewport_height": {
"type": "integer",
"maximum": 2160.0,
"minimum": 240.0,
"title": "Viewport Height",
"description": "Browser viewport height in CSS pixels.",
"default": 720
},
"device_scale_factor": {
"type": "number",
"maximum": 3.0,
"minimum": 1.0,
"title": "Device Scale Factor",
"description": "Pixel ratio of the image: 1 (default) returns exactly viewport_width x viewport_height pixels (or the full page at that width), 2 returns twice that in each dimension. Billed the same.",
"default": 1.0
},
"full_page": {
"type": "boolean",
"title": "Full Page",
"description": "If true, captures the entire scrollable page height instead of just the viewport.",
"default": false
},
"selector": {
"anyOf": [
{
"type": "string",
"maxLength": 300
},
{
"type": "null"
}
],
"title": "Selector",
"description": "CSS selector. When set, captures only the bounding box of the first matching element (e.g. '#hero', '.product-card:first-child'). Overrides full_page. If the selector matches nothing, the capture is the full viewport at the requested tier and price (selector_applied=false); a stealth capture never crops to the selector. Returns 422 selector_not_found only when nothing can be rendered."
},
"render": {
"type": "string",
"enum": [
"auto",
"browser",
"stealth"
],
"title": "Render",
"description": "`auto` lets the platform pick the right backend. `browser` forces the standard headless browser. `stealth` forces the anti-bot evasion backend for hardened targets (slower, billed at the stealth rate).",
"default": "auto"
},
"format": {
"type": "string",
"enum": [
"png",
"jpeg"
],
"title": "Format",
"description": "Image encoding.",
"default": "png"
},
"jpeg_quality": {
"type": "integer",
"maximum": 100.0,
"minimum": 1.0,
"title": "Jpeg Quality",
"description": "JPEG quality 1-100; ignored when format=png.",
"default": 85
},
"wait_extra_ms": {
"type": "integer",
"maximum": 10000.0,
"minimum": 0.0,
"title": "Wait Extra Ms",
"description": "Additional wait after page load before capture, for late-loading content (e.g. SPAs with delayed content).",
"default": 0
},
"cache_ttl_seconds": {
"anyOf": [
{
"type": "integer",
"maximum": 86400.0,
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Cache Ttl Seconds",
"description": "Override the cache TTL for this screenshot. Defaults to off; set non-zero to dedupe repeat captures. A request that sends cookies, headers or session_id is never cached."
},
"cookies": {
"anyOf": [
{
"additionalProperties": {
"type": "string"
},
"type": "object",
"maxProperties": 50
},
{
"type": "null"
}
],
"title": "Cookies",
"description": "Cookies to attach to the request, as a {name: value} mapping. Useful for screenshotting authenticated pages. Names must be HTTP tokens; values may not contain control characters or ';'. Anything else is refused with 422 validation_error."
},
"headers": {
"anyOf": [
{
"additionalProperties": {
"type": "string"
},
"type": "object",
"maxProperties": 30
},
{
"type": "null"
}
],
"title": "Headers",
"description": "Extra HTTP request headers to send (e.g. User-Agent, Referer). Host/Content-Length are ignored. Max 30. Names must be HTTP tokens and values may not contain control characters other than tab; anything else is refused with 422 validation_error."
},
"session_id": {
"anyOf": [
{
"type": "string",
"maxLength": 64,
"pattern": "^[A-Za-z0-9_.\\-]+$"
},
{
"type": "null"
}
],
"title": "Session Id",
"description": "Reuse a sticky exit IP across requests (10-minute window). Useful when the target site personalizes by IP and you want the screenshot to match a previous /v1/scrape/url session."
},
"include_usage": {
"type": "boolean",
"title": "Include Usage",
"description": "If true, include a `usage` block in the response with credit totals.",
"default": false
}
},
"type": "object",
"required": [
"url"
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/scrapenest-dev-screenshot-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.