Captures a page and returns a hosted image URL.1 credit, whatever the options. Failed requests are never charged.
Guide: Screenshots
Devices, element captures, formats and examples.
Authorizations
X-API-Key
string
header
required
Your Prefetch API key. Obtain one from the dashboard.
Query Parameters
url
string
required
The website URL to process. https:// is prepended automatically if no protocol is provided.
Example:
"https://stripe.com"
width
integer
default:1440
Viewport width in pixels. Range: 320–2560. Default: 1440.
Required range: 320 <= x <= 2560
height
integer
default:900
Viewport height in pixels. Range: 240–5000. Default: 900.
Required range: 240 <= x <= 5000
format
enum<string>
default:jpeg
Output format: jpeg, png, webp, or pdf (the whole page as a PDF document). Default: jpeg.
Available options:
jpeg,
png,
webp,
pdf
full_page
boolean
default:false
Capture full scrollable page height. Default: false.
device
enum<string>
Render as a real device: its viewport, pixel density, touch support and user agent, so the page serves its phone or tablet layout. The image keeps the device's pixel density (an iphone_15 capture is 1179 px wide). Overrides width and height.
Available options:
iphone_15,
iphone_15_pro_max,
iphone_se,
pixel_7,
galaxy_s8,
ipad,
ipad_mini,
ipad_pro_11,
galaxy_tab_s4,
desktop_retina
Example:
"iphone_15"
dark_mode
boolean
default:false
Ask the page for its dark theme (prefers-color-scheme: dark). Pages without one render as usual. Pass "true" to enable.
selector
string
Capture only the first element matching this CSS selector, e.g. #pricing or header. Answers 422 TARGET_ELEMENT_NOT_FOUND when nothing matches within 10 s. Not available with format=pdf.
Example:
"#pricing"
wait_for
integer
default:0
Milliseconds to wait after the page loads, for content that arrives late (0–30000).
Required range: 0 <= x <= 30000
wait_for_selector
string
Wait (up to 10 s) for this CSS selector to be visible before capturing. Best effort: if it never appears, the page is captured as it is, with a warning.
Example:
".chart canvas"
block_ads
boolean
default:false
Block ad and tracker requests while the page loads, on top of the ad and cookie-banner hiding every screenshot gets. Pages load faster and cleaner. Pass "true" to enable.
quality
integer
default:85
Image quality for jpeg and webp (1–100). Default: 85.
Required range: 1 <= x <= 100
Response
Screenshot result.
success
enum<boolean>
required
Available options:
true
data
object
required
Show child attributes
meta
object
required
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Prefetch API","colors":{"primary":"#8A5A00","light":"#F7B00A","dark":"#F7B00A"},"logo":{"light":"https://mintcdn.com/prefetch/0cLjeQZN2Dy6gN5Q/logo/light.svg?fit=max\u0026auto=format\u0026n=0cLjeQZN2Dy6gN5Q\u0026q=85\u0026s=7b9ea0ec7c23b929ff607e56c0de9713","dark":"https://mintcdn.com/prefetch/0cLjeQZN2Dy6gN5Q/logo/dark.svg?fit=max\u0026auto=format\u0026n=0cLjeQZN2Dy6gN5Q\u0026q=85\u0026s=e97e8b6432d524163f934bd09b638763"},"favicon":"https://mintcdn.com/prefetch/qKlLmXxc4XUEOZI9/images/favicon.svg?fit=max\u0026auto=format\u0026n=qKlLmXxc4XUEOZI9\u0026q=85\u0026s=68c45014cec0f875b327e5b42e450b3c","appearance":{"default":"dark","strict":false},"background":{"color":{"light":"#FCFBF6","dark":"#1A0618"}},"navbar":{"links":[{"href":"https://prefetch.io/#pricing-section","label":"Pricing"},{"href":"https://prefetch.betteruptime.com/","label":"Status"},{"href":"mailto:[email protected]","label":"Support"},{"href":"https://prefetch.io/dashboard","label":"Dashboard"}],"primary":{"type":"button","label":"Get API key","href":"https://prefetch.io/account"}},"footer":{"links":[{"header":"Product","items":[{"label":"Website","href":"https://prefetch.io"},{"label":"Brand catalog","href":"https://prefetch.io/brands"},{"label":"Pricing","href":"https://prefetch.io/"},{"label":"Status","href":"https://prefetch.betteruptime.com/"},{"label":"Dashboard","href":"https://prefetch.io/dashboard"}]},{"header":"Docs","items":[{"label":"Quickstart","href":"/quickstart"},{"label":"Recipes","href":"/recipes/overview"},{"label":"Compare","href":"/compare/overview"},{"label":"API reference","href":"/api-reference/introduction"},{"label":"MCP server","href":"/mcp/overview"},{"label":"Changelog","href":"/changelog"}]},{"header":"Company","items":[{"label":"Book a demo","href":"https://cal.com/nestoras.design"},{"label":"Contact","href":"mailto:[email protected]"},{"label":"Security","href":"/concepts/security"},{"label":"Privacy","href":"https://prefetch.io/privacy"},{"label":"Terms","href":"https://prefetch.io/terms"}]}]},"fonts":{"heading":{"family":"Space Grotesk"},"body":{"family":"Inter"}},"styling":{"codeblocks":{"theme":"css-variables"},"latex":true},"integrations":{"ga4":{"measurementId":"G-GVKTFNYJ7B"}},"contextual":{"options":["copy","view","claude","chatgpt","perplexity","cursor","vscode"],"display":"header"},"thumbnails":{"appearance":"dark","background":"https://mintcdn.com/prefetch/0cLjeQZN2Dy6gN5Q/images/og-background.png?fit=max\u0026auto=format\u0026n=0cLjeQZN2Dy6gN5Q\u0026q=85\u0026s=cff58baad899de3384c86485eb291dad","fonts":{"family":"Space Grotesk"}},"navigation":{"global":{},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"prefetch","hasAudioNarration":false,"actualSubdomain":"prefetch","customDomains":["docs.prefetch.io"],"gitSource":{"type":"github","owner":"trelobarbouni18","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6aebd7f575e8c030b49a1953","clientVersion":"0.0.4131","searchFilterCounts":[{"language":"default","tag":"API reference","count":38},{"language":"default","tag":"Docs","count":37},{"language":"default","tag":"Monitors","count":17},{"language":"default","tag":"Recipes","count":14},{"language":"default","tag":"Company data","count":13},{"language":"default","tag":"Integrations","count":12},{"language":"default","tag":"Web data","count":10},{"language":"default","tag":"Batches","count":8},{"language":"default","tag":"Jobs and monitoring","count":8},{"language":"default","tag":"Platform","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"custom.css","href":"/_mintlify/custom/prefetch/d2542fa30758caf7/custom.css"}],"page":{"pagePath":"api-reference/endpoint/screenshot","slug":"/api-reference/endpoint/screenshot","pageMetadata":{"title":"GET /screenshot","sidebarTitle":"Screenshot","description":"Capture a page, the full page or one element, on any device, in light or dark mode, as JPEG, PNG, WebP or PDF. 1 credit.","openapi":"GET /screenshot","href":"/api-reference/endpoint/screenshot"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Capture a page, the full page or one element, on any device, in light or dark mode, as JPEG, PNG, WebP or PDF. 1 credit.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Card}=_components;if(!Card)_missingMdxReference(`Card`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Captures a page and returns a hosted image URL.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`1 credit`}),`, whatever the options. Failed requests are never charged.`]}),`\n`,_jsx(Card,{title:`Guide: Screenshots`,icon:`https://mintcdn.com/prefetch/Ob8l2tkuj_5KxjuQ/icons/book-open.svg?fit=max\u0026auto=format\u0026n=Ob8l2tkuj_5KxjuQ\u0026q=85\u0026s=83997c50bbffa6f63d021644f36e0d2f`,href:`/web-data/screenshot`,\"data-og-width\":`24`,width:`24`,\"data-og-height\":`24`,height:`24`,\"data-path\":`icons/book-open.svg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/prefetch/Ob8l2tkuj_5KxjuQ/icons/book-open.svg?w=280\u0026fit=max\u0026auto=format\u0026n=Ob8l2tkuj_5KxjuQ\u0026q=85\u0026s=571e9341106e7a820dfbdc82f1fa7848 280w, https://mintcdn.com/prefetch/Ob8l2tkuj_5KxjuQ/icons/book-open.svg?w=560\u0026fit=max\u0026auto=format\u0026n=Ob8l2tkuj_5KxjuQ\u0026q=85\u0026s=89b208a6ebed2801c21d3b334602f655 560w, https://mintcdn.com/prefetch/Ob8l2tkuj_5KxjuQ/icons/book-open.svg?w=840\u0026fit=max\u0026auto=format\u0026n=Ob8l2tkuj_5KxjuQ\u0026q=85\u0026s=cad73ea82dc28ca477d6c58a9dba2701 840w, https://mintcdn.com/prefetch/Ob8l2tkuj_5KxjuQ/icons/book-open.svg?w=1100\u0026fit=max\u0026auto=format\u0026n=Ob8l2tkuj_5KxjuQ\u0026q=85\u0026s=a756acb5854c82807bee8e5b6fdf40a4 1100w, https://mintcdn.com/prefetch/Ob8l2tkuj_5KxjuQ/icons/book-open.svg?w=1650\u0026fit=max\u0026auto=format\u0026n=Ob8l2tkuj_5KxjuQ\u0026q=85\u0026s=5c188516dd5cf7d2e4e7d1b0f4fd00a6 1650w, https://mintcdn.com/prefetch/Ob8l2tkuj_5KxjuQ/icons/book-open.svg?w=2500\u0026fit=max\u0026auto=format\u0026n=Ob8l2tkuj_5KxjuQ\u0026q=85\u0026s=58b15848f6396e16701ae55f8da4103c 2500w`,children:_jsx(_components.p,{children:`Devices, element captures, formats and examples.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{"theme":"css-variables"},"config":{},"pageMetadata":{"title":"GET /screenshot","sidebarTitle":"Screenshot","description":"Capture a page, the full page or one element, on any device, in light or dark mode, as JPEG, PNG, WebP or PDF. 1 credit.","openapi":"GET /screenshot","href":"/api-reference/endpoint/screenshot"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"takeScreenshot","summary":"Take a screenshot","description":"Capture a page, the full page or one element, on any device, in light or dark mode, as JPEG, PNG, WebP or PDF. 1 credit.","tags":["Endpoints"],"parameters":["912cc26c-bbf9-4c8d-8e2e-b4c4e9bedc61","e3e39efb-26d6-4cea-ba8a-b5aae94e925b","ea40ed73-9166-488f-9f5a-97b21ee228d9","431dc91a-fbf2-4003-b8c6-787926b76da2","cee3903d-1c43-4ade-9254-cb8036a80441","90174a80-8f40-4019-9a81-1de7e2a5e922","e1eac470-4775-48e4-9057-abd2508abe22","df4a9be6-6933-4138-8f04-b5c374cc0a1c","910b359a-9296-415e-a1f6-e185a39b3e29","aa3c2899-7d2a-47ff-a5d8-6ac87eb1183c","ff73dd95-e661-4946-94ac-db8782827075","2a9dce49-adb7-46d9-ae06-909bec8832c9"],"responses":{"200":"577e3ff3-44ce-40cd-9b4d-54c3782de5a0","400":"1c153ba1-aed3-47a9-8525-d40997661da2","401":"a08e186b-612e-44c1-b04a-d664ae4eab72","403":"9bffa26c-c7da-499c-80dc-996d6bcc0860","422":"23f993b4-4af2-43ec-9d76-18d6b40bd4dc","429":"83594cc5-2fb2-4d9a-a687-e1cddd19a3b2","503":"2898e6a8-18db-40ca-8cc3-df2845ed2dab","504":"057287be-1ffa-4530-9eeb-f5f82273c10b"},"method":"get","type":"path","servers":["a72447d6-010c-4889-ae7b-b9e4d80db41a"],"security":["a1fe7f7c-62a7-42f3-b340-a37bf2940fc6"],"path":"/screenshot","baseUrlOptions":["https://api.prefetch.io"],"title":"Take a screenshot","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"912cc26c-bbf9-4c8d-8e2e-b4c4e9bedc61":{"name":"url","in":"query","required":true,"description":"The website URL to process. `https://` is prepended automatically if no protocol is provided.","schema":{"type":"string","example":"https://stripe.com","isRequired":true,"description":"The website URL to process. `https://` is prepended automatically if no protocol is provided.","uniqueKey":"","typeLabel":"string"}},"e3e39efb-26d6-4cea-ba8a-b5aae94e925b":{"name":"width","in":"query","required":false,"description":"Viewport width in pixels. Range: 320–2560. Default: 1440.","schema":{"type":"integer","minimum":320,"maximum":2560,"default":1440,"isRequired":false,"description":"Viewport width in pixels. Range: 320–2560. Default: 1440.","uniqueKey":"","typeLabel":"integer"}},"ea40ed73-9166-488f-9f5a-97b21ee228d9":{"name":"height","in":"query","required":false,"description":"Viewport height in pixels. Range: 240–5000. Default: 900.","schema":{"type":"integer","minimum":240,"maximum":5000,"default":900,"isRequired":false,"description":"Viewport height in pixels. Range: 240–5000. Default: 900.","uniqueKey":"","typeLabel":"integer"}},"431dc91a-fbf2-4003-b8c6-787926b76da2":{"name":"format","in":"query","required":false,"description":"Output format: `jpeg`, `png`, `webp`, or `pdf` (the whole page as a PDF document). Default: `jpeg`.","schema":{"type":"string","enum":["jpeg","png","webp","pdf"],"default":"jpeg","isRequired":false,"description":"Output format: `jpeg`, `png`, `webp`, or `pdf` (the whole page as a PDF document). Default: `jpeg`.","uniqueKey":"","typeLabel":"enum\u003cstring>"}},"cee3903d-1c43-4ade-9254-cb8036a80441":{"name":"full_page","in":"query","required":false,"description":"Capture full scrollable page height. Default: `false`.","schema":{"type":"boolean","default":false,"isRequired":false,"description":"Capture full scrollable page height. Default: `false`.","uniqueKey":"","typeLabel":"boolean"}},"90174a80-8f40-4019-9a81-1de7e2a5e922":{"schema":{"type":"string","enum":["iphone_15","iphone_15_pro_max","iphone_se","pixel_7","galaxy_s8","ipad","ipad_mini","ipad_pro_11","galaxy_tab_s4","desktop_retina"],"description":"Render as a real device: its viewport, pixel density, touch support and user agent, so the page serves its phone or tablet layout. The image keeps the device's pixel density (an `iphone_15` capture is 1179 px wide). Overrides `width` and `height`.","example":"iphone_15","isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring>"},"required":false,"description":"Render as a real device: its viewport, pixel density, touch support and user agent, so the page serves its phone or tablet layout. The image keeps the device's pixel density (an `iphone_15` capture is 1179 px wide). Overrides `width` and `height`.","name":"device","in":"query"},"e1eac470-4775-48e4-9057-abd2508abe22":{"schema":{"type":"boolean","default":false,"isRequired":false,"description":"Ask the page for its dark theme (`prefers-color-scheme: dark`). Pages without one render as usual. Pass \"true\" to enable.","uniqueKey":"","typeLabel":"boolean"},"required":false,"description":"Ask the page for its dark theme (`prefers-color-scheme: dark`). Pages without one render as usual. Pass \"true\" to enable.","name":"dark_mode","in":"query"},"df4a9be6-6933-4138-8f04-b5c374cc0a1c":{"schema":{"type":"string","description":"Capture only the first element matching this CSS selector, e.g. `#pricing` or `header`. Answers 422 `TARGET_ELEMENT_NOT_FOUND` when nothing matches within 10 s. Not available with `format=pdf`.","example":"#pricing","isRequired":false,"uniqueKey":"","typeLabel":"string"},"required":false,"description":"Capture only the first element matching this CSS selector, e.g. `#pricing` or `header`. Answers 422 `TARGET_ELEMENT_NOT_FOUND` when nothing matches within 10 s. Not available with `format=pdf`.","name":"selector","in":"query"},"910b359a-9296-415e-a1f6-e185a39b3e29":{"schema":{"type":"integer","minimum":0,"maximum":30000,"default":0,"isRequired":false,"description":"Milliseconds to wait after the page loads, for content that arrives late (0–30000).","uniqueKey":"","typeLabel":"integer"},"required":false,"description":"Milliseconds to wait after the page loads, for content that arrives late (0–30000).","name":"wait_for","in":"query"},"aa3c2899-7d2a-47ff-a5d8-6ac87eb1183c":{"schema":{"type":"string","description":"Wait (up to 10 s) for this CSS selector to be visible before capturing. Best effort: if it never appears, the page is captured as it is, with a warning.","example":".chart canvas","isRequired":false,"uniqueKey":"","typeLabel":"string"},"required":false,"description":"Wait (up to 10 s) for this CSS selector to be visible before capturing. Best effort: if it never appears, the page is captured as it is, with a warning.","name":"wait_for_selector","in":"query"},"ff73dd95-e661-4946-94ac-db8782827075":{"schema":{"type":"boolean","default":false,"isRequired":false,"description":"Block ad and tracker requests while the page loads, on top of the ad and cookie-banner hiding every screenshot gets. Pages load faster and cleaner. Pass \"true\" to enable.","uniqueKey":"","typeLabel":"boolean"},"required":false,"description":"Block ad and tracker requests while the page loads, on top of the ad and cookie-banner hiding every screenshot gets. Pages load faster and cleaner. Pass \"true\" to enable.","name":"block_ads","in":"query"},"2a9dce49-adb7-46d9-ae06-909bec8832c9":{"schema":{"type":"integer","minimum":1,"maximum":100,"default":85,"isRequired":false,"description":"Image quality for `jpeg` and `webp` (1–100). Default: 85.","uniqueKey":"","typeLabel":"integer"},"required":false,"description":"Image quality for `jpeg` and `webp` (1–100). Default: 85.","name":"quality","in":"query"}},"responses":{"577e3ff3-44ce-40cd-9b4d-54c3782de5a0":{"description":"Screenshot result.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"data":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"The URL that was screenshotted.","example":"https://stripe.com","isRequired":true,"uniqueKey":"data.url","typeLabel":"string\u003curi>"},"screenshot_url":{"type":"string","format":"uri","description":"Public URL to the screenshot stored in cloud storage.","example":"https://assets.prefetch.io/screenshots/stripe-1440x900.jpg","isRequired":true,"uniqueKey":"data.screenshot_url","typeLabel":"string\u003curi>"},"viewport":{"type":"object","properties":{"width":{"type":"integer","example":1440,"isRequired":true,"uniqueKey":"data.viewport.width","typeLabel":"integer"},"height":{"type":"integer","example":900,"isRequired":true,"uniqueKey":"data.viewport.height","typeLabel":"integer"}},"required":["width","height"],"isRequired":true,"uniqueKey":"data.viewport","typeLabel":"object"},"format":{"type":"string","enum":["jpeg","png","webp","pdf"],"description":"Format of the capture.","example":"jpeg","isRequired":true,"uniqueKey":"data.format","typeLabel":"enum\u003cstring>"},"full_page":{"type":"boolean","description":"Whether the full scrollable height was captured.","example":false,"isRequired":true,"uniqueKey":"data.full_page","typeLabel":"boolean"},"captured_at":{"type":"string","format":"date-time","description":"ISO 8601 timestamp of when the screenshot was taken.","example":"2026-03-19T14:22:05.000Z","isRequired":true,"uniqueKey":"data.captured_at","typeLabel":"string\u003cdate-time>"},"device":{"oneOf":[{"type":"string","description":"The `device` preset the page was rendered as; null for a plain viewport.","example":"iphone_15","uniqueKey":"data.device.oneOf.0","typeLabel":"string"},{"type":"null","description":"The `device` preset the page was rendered as; null for a plain viewport.","example":"iphone_15","uniqueKey":"data.device.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.device","typeLabel":"string | null"},"device_scale_factor":{"oneOf":[{"type":"number","description":"Pixels per CSS pixel in the image: 1 for a plain viewport, the device's own density for a preset.","example":3,"uniqueKey":"data.device_scale_factor.oneOf.0","typeLabel":"number"},{"type":"null","description":"Pixels per CSS pixel in the image: 1 for a plain viewport, the device's own density for a preset.","example":3,"uniqueKey":"data.device_scale_factor.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.device_scale_factor","typeLabel":"number | null"},"dark_mode":{"oneOf":[{"type":"boolean","description":"Whether the page was asked for its dark theme.","uniqueKey":"data.dark_mode.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether the page was asked for its dark theme.","uniqueKey":"data.dark_mode.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.dark_mode","typeLabel":"boolean | null"},"selector":{"oneOf":[{"type":"string","description":"The element captured, when `selector` was set.","uniqueKey":"data.selector.oneOf.0","typeLabel":"string"},{"type":"null","description":"The element captured, when `selector` was set.","uniqueKey":"data.selector.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.selector","typeLabel":"string | null"},"warnings":{"type":"array","items":{"type":"string","uniqueKey":"data.warnings.items.[INDEX]","typeLabel":"string"},"description":"Non-fatal notes, e.g. a `wait_for_selector` that never appeared.","uniqueKey":"data.warnings","typeLabel":"string[]"}},"required":["url","screenshot_url","viewport","format","full_page","captured_at"],"isRequired":true,"uniqueKey":"data","typeLabel":"object"},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","description":"Unique identifier for this request.","example":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string\u003cuuid>"},"durationMs":{"oneOf":[{"type":"integer","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"meta.durationMs","typeLabel":"integer | null"}},"required":["requestId","durationMs"],"isRequired":true,"uniqueKey":"meta","typeLabel":"object"}},"required":["success","data","meta"],"uniqueKey":"","typeLabel":"object"},"example":{"success":true,"data":{"url":"https://stripe.com","screenshot_url":"https://assets.prefetch.io/screenshots/stripe-1440x900.jpg","viewport":{"width":1440,"height":900},"format":"jpeg","full_page":false,"captured_at":"2026-05-14T10:00:00.000Z"},"meta":{"requestId":"c1d2e3f4-5a6b-7c8d-9e0f-1a2b3c4d5e6f","durationMs":2540}},"examples":{"Example":{"title":"Example","value":{"success":true,"data":{"url":"https://stripe.com","screenshot_url":"https://assets.prefetch.io/screenshots/stripe-1440x900.jpg","viewport":{"width":1440,"height":900},"format":"jpeg","full_page":false,"captured_at":"2026-05-14T10:00:00.000Z"},"meta":{"requestId":"c1d2e3f4-5a6b-7c8d-9e0f-1a2b3c4d5e6f","durationMs":2540}}}},"exampleType":"examples"}},"exampleType":"examples"},"1c153ba1-aed3-47a9-8525-d40997661da2":{"description":"Invalid URL or parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Human-readable error message. The wording can change: branch on `error_code`.","example":"Credit limit exceeded","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["INVALID_REQUEST","PAYLOAD_TOO_LARGE","NOT_FOUND","CONFLICT","UNAUTHORIZED","FORBIDDEN","CREDITS_EXHAUSTED","RATE_LIMITED","CONCURRENCY_LIMITED","URL_BLOCKED","URL_NOT_PERMITTED","DNS_RESOLUTION_FAILED","TARGET_BLOCKED","TARGET_CONNECTION_FAILED","TARGET_TIMEOUT","TARGET_SSL_ERROR","TARGET_SERVER_ERROR","TARGET_CLIENT_ERROR","TARGET_NOT_A_PAGE","NO_LINKS_FOUND","TARGET_UNLOADABLE","RESEARCH_INCONCLUSIVE","TIMEOUT","SERVICE_BUSY","SERVICE_UNAVAILABLE","INTERNAL_ERROR"],"description":"What went wrong, for machines. Stable: a code keeps its meaning once published. See [Error handling](/concepts/errors).","example":"CREDITS_EXHAUSTED","isRequired":true,"uniqueKey":"error_code","typeLabel":"enum\u003cstring>"},"retryable":{"type":"boolean","description":"Whether the same request can succeed if sent again after a short wait (honour `Retry-After` when present). False for problems with the request or the target.","example":false,"isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"success":{"type":"boolean","enum":[false],"description":"Always false. Absent, like `meta`, on authentication and rate-limit errors, which are answered before a request is processed.","uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"retryAfterSeconds":{"type":"integer","description":"On `RATE_LIMITED`: seconds until a request will be accepted.","uniqueKey":"retryAfterSeconds","typeLabel":"integer"},"limit":{"type":"integer","description":"On `CONCURRENCY_LIMITED`: how many requests this key may have in flight.","uniqueKey":"limit","typeLabel":"integer"},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","description":"Unique identifier for this request.","example":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string\u003cuuid>"},"durationMs":{"oneOf":[{"type":"integer","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"meta.durationMs","typeLabel":"integer | null"}},"required":["requestId","durationMs"],"uniqueKey":"meta","typeLabel":"object"}},"required":["error","error_code","retryable"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Credit limit exceeded","error_code":"CREDITS_EXHAUSTED","retryable":false,"success":false,"retryAfterSeconds":123,"limit":123,"meta":{"requestId":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","durationMs":1842}}}},"exampleType":"generated"}},"exampleType":"generated"},"a08e186b-612e-44c1-b04a-d664ae4eab72":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Human-readable error message. The wording can change: branch on `error_code`.","example":"Credit limit exceeded","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["INVALID_REQUEST","PAYLOAD_TOO_LARGE","NOT_FOUND","CONFLICT","UNAUTHORIZED","FORBIDDEN","CREDITS_EXHAUSTED","RATE_LIMITED","CONCURRENCY_LIMITED","URL_BLOCKED","URL_NOT_PERMITTED","DNS_RESOLUTION_FAILED","TARGET_BLOCKED","TARGET_CONNECTION_FAILED","TARGET_TIMEOUT","TARGET_SSL_ERROR","TARGET_SERVER_ERROR","TARGET_CLIENT_ERROR","TARGET_NOT_A_PAGE","NO_LINKS_FOUND","TARGET_UNLOADABLE","RESEARCH_INCONCLUSIVE","TIMEOUT","SERVICE_BUSY","SERVICE_UNAVAILABLE","INTERNAL_ERROR"],"description":"What went wrong, for machines. Stable: a code keeps its meaning once published. See [Error handling](/concepts/errors).","example":"CREDITS_EXHAUSTED","isRequired":true,"uniqueKey":"error_code","typeLabel":"enum\u003cstring>"},"retryable":{"type":"boolean","description":"Whether the same request can succeed if sent again after a short wait (honour `Retry-After` when present). False for problems with the request or the target.","example":false,"isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"success":{"type":"boolean","enum":[false],"description":"Always false. Absent, like `meta`, on authentication and rate-limit errors, which are answered before a request is processed.","uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"retryAfterSeconds":{"type":"integer","description":"On `RATE_LIMITED`: seconds until a request will be accepted.","uniqueKey":"retryAfterSeconds","typeLabel":"integer"},"limit":{"type":"integer","description":"On `CONCURRENCY_LIMITED`: how many requests this key may have in flight.","uniqueKey":"limit","typeLabel":"integer"},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","description":"Unique identifier for this request.","example":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string\u003cuuid>"},"durationMs":{"oneOf":[{"type":"integer","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"meta.durationMs","typeLabel":"integer | null"}},"required":["requestId","durationMs"],"uniqueKey":"meta","typeLabel":"object"}},"required":["error","error_code","retryable"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Credit limit exceeded","error_code":"CREDITS_EXHAUSTED","retryable":false,"success":false,"retryAfterSeconds":123,"limit":123,"meta":{"requestId":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","durationMs":1842}}}},"exampleType":"generated"}},"exampleType":"generated"},"9bffa26c-c7da-499c-80dc-996d6bcc0860":{"description":"Revoked key, expired key, credit limit, or blocklisted URL.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Human-readable error message. The wording can change: branch on `error_code`.","example":"Credit limit exceeded","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["INVALID_REQUEST","PAYLOAD_TOO_LARGE","NOT_FOUND","CONFLICT","UNAUTHORIZED","FORBIDDEN","CREDITS_EXHAUSTED","RATE_LIMITED","CONCURRENCY_LIMITED","URL_BLOCKED","URL_NOT_PERMITTED","DNS_RESOLUTION_FAILED","TARGET_BLOCKED","TARGET_CONNECTION_FAILED","TARGET_TIMEOUT","TARGET_SSL_ERROR","TARGET_SERVER_ERROR","TARGET_CLIENT_ERROR","TARGET_NOT_A_PAGE","NO_LINKS_FOUND","TARGET_UNLOADABLE","RESEARCH_INCONCLUSIVE","TIMEOUT","SERVICE_BUSY","SERVICE_UNAVAILABLE","INTERNAL_ERROR"],"description":"What went wrong, for machines. Stable: a code keeps its meaning once published. See [Error handling](/concepts/errors).","example":"CREDITS_EXHAUSTED","isRequired":true,"uniqueKey":"error_code","typeLabel":"enum\u003cstring>"},"retryable":{"type":"boolean","description":"Whether the same request can succeed if sent again after a short wait (honour `Retry-After` when present). False for problems with the request or the target.","example":false,"isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"success":{"type":"boolean","enum":[false],"description":"Always false. Absent, like `meta`, on authentication and rate-limit errors, which are answered before a request is processed.","uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"retryAfterSeconds":{"type":"integer","description":"On `RATE_LIMITED`: seconds until a request will be accepted.","uniqueKey":"retryAfterSeconds","typeLabel":"integer"},"limit":{"type":"integer","description":"On `CONCURRENCY_LIMITED`: how many requests this key may have in flight.","uniqueKey":"limit","typeLabel":"integer"},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","description":"Unique identifier for this request.","example":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string\u003cuuid>"},"durationMs":{"oneOf":[{"type":"integer","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"meta.durationMs","typeLabel":"integer | null"}},"required":["requestId","durationMs"],"uniqueKey":"meta","typeLabel":"object"}},"required":["error","error_code","retryable"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Credit limit exceeded","error_code":"CREDITS_EXHAUSTED","retryable":false,"success":false,"retryAfterSeconds":123,"limit":123,"meta":{"requestId":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","durationMs":1842}}}},"exampleType":"generated"}},"exampleType":"generated"},"23f993b4-4af2-43ec-9d76-18d6b40bd4dc":{"description":"URL hostname could not be resolved.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Human-readable error message. The wording can change: branch on `error_code`.","example":"Credit limit exceeded","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["INVALID_REQUEST","PAYLOAD_TOO_LARGE","NOT_FOUND","CONFLICT","UNAUTHORIZED","FORBIDDEN","CREDITS_EXHAUSTED","RATE_LIMITED","CONCURRENCY_LIMITED","URL_BLOCKED","URL_NOT_PERMITTED","DNS_RESOLUTION_FAILED","TARGET_BLOCKED","TARGET_CONNECTION_FAILED","TARGET_TIMEOUT","TARGET_SSL_ERROR","TARGET_SERVER_ERROR","TARGET_CLIENT_ERROR","TARGET_NOT_A_PAGE","NO_LINKS_FOUND","TARGET_UNLOADABLE","RESEARCH_INCONCLUSIVE","TIMEOUT","SERVICE_BUSY","SERVICE_UNAVAILABLE","INTERNAL_ERROR"],"description":"What went wrong, for machines. Stable: a code keeps its meaning once published. See [Error handling](/concepts/errors).","example":"CREDITS_EXHAUSTED","isRequired":true,"uniqueKey":"error_code","typeLabel":"enum\u003cstring>"},"retryable":{"type":"boolean","description":"Whether the same request can succeed if sent again after a short wait (honour `Retry-After` when present). False for problems with the request or the target.","example":false,"isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"success":{"type":"boolean","enum":[false],"description":"Always false. Absent, like `meta`, on authentication and rate-limit errors, which are answered before a request is processed.","uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"retryAfterSeconds":{"type":"integer","description":"On `RATE_LIMITED`: seconds until a request will be accepted.","uniqueKey":"retryAfterSeconds","typeLabel":"integer"},"limit":{"type":"integer","description":"On `CONCURRENCY_LIMITED`: how many requests this key may have in flight.","uniqueKey":"limit","typeLabel":"integer"},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","description":"Unique identifier for this request.","example":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string\u003cuuid>"},"durationMs":{"oneOf":[{"type":"integer","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"meta.durationMs","typeLabel":"integer | null"}},"required":["requestId","durationMs"],"uniqueKey":"meta","typeLabel":"object"}},"required":["error","error_code","retryable"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Credit limit exceeded","error_code":"CREDITS_EXHAUSTED","retryable":false,"success":false,"retryAfterSeconds":123,"limit":123,"meta":{"requestId":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","durationMs":1842}}}},"exampleType":"generated"}},"exampleType":"generated"},"83594cc5-2fb2-4d9a-a687-e1cddd19a3b2":{"description":"Rate limit exceeded.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Human-readable error message. The wording can change: branch on `error_code`.","example":"Credit limit exceeded","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["INVALID_REQUEST","PAYLOAD_TOO_LARGE","NOT_FOUND","CONFLICT","UNAUTHORIZED","FORBIDDEN","CREDITS_EXHAUSTED","RATE_LIMITED","CONCURRENCY_LIMITED","URL_BLOCKED","URL_NOT_PERMITTED","DNS_RESOLUTION_FAILED","TARGET_BLOCKED","TARGET_CONNECTION_FAILED","TARGET_TIMEOUT","TARGET_SSL_ERROR","TARGET_SERVER_ERROR","TARGET_CLIENT_ERROR","TARGET_NOT_A_PAGE","NO_LINKS_FOUND","TARGET_UNLOADABLE","RESEARCH_INCONCLUSIVE","TIMEOUT","SERVICE_BUSY","SERVICE_UNAVAILABLE","INTERNAL_ERROR"],"description":"What went wrong, for machines. Stable: a code keeps its meaning once published. See [Error handling](/concepts/errors).","example":"CREDITS_EXHAUSTED","isRequired":true,"uniqueKey":"error_code","typeLabel":"enum\u003cstring>"},"retryable":{"type":"boolean","description":"Whether the same request can succeed if sent again after a short wait (honour `Retry-After` when present). False for problems with the request or the target.","example":false,"isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"success":{"type":"boolean","enum":[false],"description":"Always false. Absent, like `meta`, on authentication and rate-limit errors, which are answered before a request is processed.","uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"retryAfterSeconds":{"type":"integer","description":"On `RATE_LIMITED`: seconds until a request will be accepted.","uniqueKey":"retryAfterSeconds","typeLabel":"integer"},"limit":{"type":"integer","description":"On `CONCURRENCY_LIMITED`: how many requests this key may have in flight.","uniqueKey":"limit","typeLabel":"integer"},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","description":"Unique identifier for this request.","example":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string\u003cuuid>"},"durationMs":{"oneOf":[{"type":"integer","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"meta.durationMs","typeLabel":"integer | null"}},"required":["requestId","durationMs"],"uniqueKey":"meta","typeLabel":"object"}},"required":["error","error_code","retryable"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Credit limit exceeded","error_code":"CREDITS_EXHAUSTED","retryable":false,"success":false,"retryAfterSeconds":123,"limit":123,"meta":{"requestId":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","durationMs":1842}}}},"exampleType":"generated"}},"exampleType":"generated"},"2898e6a8-18db-40ca-8cc3-df2845ed2dab":{"description":"Service temporarily busy — retry shortly.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Human-readable error message. The wording can change: branch on `error_code`.","example":"Credit limit exceeded","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["INVALID_REQUEST","PAYLOAD_TOO_LARGE","NOT_FOUND","CONFLICT","UNAUTHORIZED","FORBIDDEN","CREDITS_EXHAUSTED","RATE_LIMITED","CONCURRENCY_LIMITED","URL_BLOCKED","URL_NOT_PERMITTED","DNS_RESOLUTION_FAILED","TARGET_BLOCKED","TARGET_CONNECTION_FAILED","TARGET_TIMEOUT","TARGET_SSL_ERROR","TARGET_SERVER_ERROR","TARGET_CLIENT_ERROR","TARGET_NOT_A_PAGE","NO_LINKS_FOUND","TARGET_UNLOADABLE","RESEARCH_INCONCLUSIVE","TIMEOUT","SERVICE_BUSY","SERVICE_UNAVAILABLE","INTERNAL_ERROR"],"description":"What went wrong, for machines. Stable: a code keeps its meaning once published. See [Error handling](/concepts/errors).","example":"CREDITS_EXHAUSTED","isRequired":true,"uniqueKey":"error_code","typeLabel":"enum\u003cstring>"},"retryable":{"type":"boolean","description":"Whether the same request can succeed if sent again after a short wait (honour `Retry-After` when present). False for problems with the request or the target.","example":false,"isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"success":{"type":"boolean","enum":[false],"description":"Always false. Absent, like `meta`, on authentication and rate-limit errors, which are answered before a request is processed.","uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"retryAfterSeconds":{"type":"integer","description":"On `RATE_LIMITED`: seconds until a request will be accepted.","uniqueKey":"retryAfterSeconds","typeLabel":"integer"},"limit":{"type":"integer","description":"On `CONCURRENCY_LIMITED`: how many requests this key may have in flight.","uniqueKey":"limit","typeLabel":"integer"},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","description":"Unique identifier for this request.","example":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string\u003cuuid>"},"durationMs":{"oneOf":[{"type":"integer","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"meta.durationMs","typeLabel":"integer | null"}},"required":["requestId","durationMs"],"uniqueKey":"meta","typeLabel":"object"}},"required":["error","error_code","retryable"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Credit limit exceeded","error_code":"CREDITS_EXHAUSTED","retryable":false,"success":false,"retryAfterSeconds":123,"limit":123,"meta":{"requestId":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","durationMs":1842}}}},"exampleType":"generated"}},"exampleType":"generated"},"057287be-1ffa-4530-9eeb-f5f82273c10b":{"description":"Request timed out.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Human-readable error message. The wording can change: branch on `error_code`.","example":"Credit limit exceeded","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["INVALID_REQUEST","PAYLOAD_TOO_LARGE","NOT_FOUND","CONFLICT","UNAUTHORIZED","FORBIDDEN","CREDITS_EXHAUSTED","RATE_LIMITED","CONCURRENCY_LIMITED","URL_BLOCKED","URL_NOT_PERMITTED","DNS_RESOLUTION_FAILED","TARGET_BLOCKED","TARGET_CONNECTION_FAILED","TARGET_TIMEOUT","TARGET_SSL_ERROR","TARGET_SERVER_ERROR","TARGET_CLIENT_ERROR","TARGET_NOT_A_PAGE","NO_LINKS_FOUND","TARGET_UNLOADABLE","RESEARCH_INCONCLUSIVE","TIMEOUT","SERVICE_BUSY","SERVICE_UNAVAILABLE","INTERNAL_ERROR"],"description":"What went wrong, for machines. Stable: a code keeps its meaning once published. See [Error handling](/concepts/errors).","example":"CREDITS_EXHAUSTED","isRequired":true,"uniqueKey":"error_code","typeLabel":"enum\u003cstring>"},"retryable":{"type":"boolean","description":"Whether the same request can succeed if sent again after a short wait (honour `Retry-After` when present). False for problems with the request or the target.","example":false,"isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"success":{"type":"boolean","enum":[false],"description":"Always false. Absent, like `meta`, on authentication and rate-limit errors, which are answered before a request is processed.","uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"retryAfterSeconds":{"type":"integer","description":"On `RATE_LIMITED`: seconds until a request will be accepted.","uniqueKey":"retryAfterSeconds","typeLabel":"integer"},"limit":{"type":"integer","description":"On `CONCURRENCY_LIMITED`: how many requests this key may have in flight.","uniqueKey":"limit","typeLabel":"integer"},"meta":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","description":"Unique identifier for this request.","example":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string\u003cuuid>"},"durationMs":{"oneOf":[{"type":"integer","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Time taken to process the request in milliseconds.","example":1842,"isRequired":true,"uniqueKey":"meta.durationMs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"meta.durationMs","typeLabel":"integer | null"}},"required":["requestId","durationMs"],"uniqueKey":"meta","typeLabel":"object"}},"required":["error","error_code","retryable"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Credit limit exceeded","error_code":"CREDITS_EXHAUSTED","retryable":false,"success":false,"retryAfterSeconds":123,"limit":123,"meta":{"requestId":"a3f2c1d4-7b6e-4f2a-9c1d-8e3f2a1b4c5d","durationMs":1842}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"a1fe7f7c-62a7-42f3-b340-a37bf2940fc6":{"apiKey":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Your Prefetch API key. Obtain one from the dashboard.","scopes":[],"schemeName":"apiKey"}}},"servers":{"a72447d6-010c-4889-ae7b-b9e4d80db41a":{"url":"https://api.prefetch.io","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Your Prefetch API key. Obtain one from the dashboard.","scopes":[],"schemeName":"apiKey"},"schema":{"title":"X-API-Key","type":"string","description":"Your Prefetch API key. Obtain one from the dashboard.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKey","name":"X-API-Key"}],"title":"apiKey"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"prefetch","siteName":"Prefetch API","title":"GET /screenshot - Prefetch API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-05T00:20:50.178Z","originalFileLocation":"api-reference/endpoint/screenshot.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Capture a page, the full page or one element, on any device, in light or dark mode, as JPEG, PNG, WebP or PDF. 1 credit.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Prefetch API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/prefetch/LfH_u0wIgIMJj9SU/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/prefetch/LfH_u0wIgIMJj9SU/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/prefetch/LfH_u0wIgIMJj9SU/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/prefetch/LfH_u0wIgIMJj9SU/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/prefetch/LfH_u0wIgIMJj9SU/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/prefetch/LfH_u0wIgIMJj9SU/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/prefetch/LfH_u0wIgIMJj9SU/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/prefetch/LfH_u0wIgIMJj9SU/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/prefetch/LfH_u0wIgIMJj9SU/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"GET /screenshot - Prefetch API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Capture a page, the full page or one element, on any device, in light or dark mode, as JPEG, PNG, WebP or PDF. 1 credit.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Prefetch API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.prefetch.io/api-reference/endpoint/screenshot\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://prefetch.mintlify.site/_mintlify/api/og/v2?division=Web+data\u0026amp;title=GET+%2Fscreenshot\u0026amp;description=Capture+a+page%2C+the+full+page+or+one+element%2C+on+any+device%2C+in+light+or+dark+mode%2C+as+JPEG%2C+PNG%2C+WebP+or+PDF.+1+credit.\u0026amp;theme=53a3f409698e98a035ca36d8\u0026amp;signature=71fd9840c36d9962f71777f713fd65e9d3e778394f925bb843a4778969d5c864\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"GET /screenshot - Prefetch API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Capture a page, the full page or one element, on any device, in light or dark mode, as JPEG, PNG, WebP or PDF. 1 credit.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://prefetch.mintlify.site/_mintlify/api/og/v2?division=Web+data\u0026amp;title=GET+%2Fscreenshot\u0026amp;description=Capture+a+page%2C+the+full+page+or+one+element%2C+on+any+device%2C+in+light+or+dark+mode%2C+as+JPEG%2C+PNG%2C+WebP+or+PDF.+1+credit.\u0026amp;theme=53a3f409698e98a035ca36d8\u0026amp;signature=71fd9840c36d9962f71777f713fd65e9d3e778394f925bb843a4778969d5c864\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/prefetch/LfH_u0wIgIMJj9SU/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Prefetch API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8A5A00\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.prefetch.io/api-reference/endpoint/screenshot\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/screenshot.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.prefetch.io/#organization\",\"name\":\"Prefetch API\",\"url\":\"https://docs.prefetch.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/prefetch/0cLjeQZN2Dy6gN5Q/logo/light.svg?fit=max\u0026auto=format\u0026n=0cLjeQZN2Dy6gN5Q\u0026q=85\u0026s=7b9ea0ec7c23b929ff607e56c0de9713\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.prefetch.io#website\",\"name\":\"Prefetch API\",\"url\":\"https://docs.prefetch.io\",\"publisher\":{\"@id\":\"https://docs.prefetch.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.prefetch.io/api-reference/endpoint/screenshot#webpage\",\"url\":\"https://docs.prefetch.io/api-reference/endpoint/screenshot\",\"name\":\"GET /screenshot\",\"description\":\"Capture a page, the full page or one element, on any device, in light or dark mode, as JPEG, PNG, WebP or PDF. 1 credit.\",\"dateModified\":\"2026-11-05T00:20:50.178Z\",\"isPartOf\":{\"@id\":\"https://docs.prefetch.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.prefetch.io/api-reference/endpoint/screenshot#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.prefetch.io/api-reference/endpoint/screenshot#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Web data\",\"item\":\"https://docs.prefetch.io/api-reference/endpoint/scrape\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"GET /screenshot\",\"item\":\"https://docs.prefetch.io/api-reference/endpoint/screenshot\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.prefetch.io/api-reference/endpoint/screenshot#apireference\",\"headline\":\"GET /screenshot\",\"name\":\"GET /screenshot\",\"description\":\"Capture a page, the full page or one element, on any device, in light or dark mode, as JPEG, PNG, WebP or PDF. 1 credit.\",\"url\":\"https://docs.prefetch.io/api-reference/endpoint/screenshot\",\"mainEntityOfPage\":{\"@id\":\"https://docs.prefetch.io/api-reference/endpoint/screenshot#webpage\"},\"dateModified\":\"2026-11-05T00:20:50.178Z\",\"publisher\":{\"@id\":\"https://docs.prefetch.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.prefetch.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Prefetch API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Prefetch API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoint/screenshot.md","siteName":"Prefetch API","nav":{"global":{},"tabs":[{"tab":"Docs","pages":[{"title":"Docs","href":""}]},{"tab":"Recipes","pages":[{"title":"Recipes","href":"/recipes/overview"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations/overview"}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"API reference","sidebarTitle":"Introduction","href":"/api-reference/introduction"}]},{"group":"Find a company","pages":[{"title":"GET /resolve","sidebarTitle":"Resolve a name","openapi":"GET /resolve","href":"/api-reference/endpoint/resolve"},{"title":"GET /transaction","sidebarTitle":"Card transaction","openapi":"GET /transaction","href":"/api-reference/endpoint/transaction"}]},{"group":"Company data","pages":[{"title":"GET /enrich","sidebarTitle":"Enrich","openapi":"GET /enrich","href":"/api-reference/endpoint/enrich"},{"title":"GET /brand","sidebarTitle":"Brand","openapi":"GET /brand","href":"/api-reference/endpoint/brand"},{"title":"GET /company","sidebarTitle":"Company","openapi":"GET /company","href":"/api-reference/endpoint/company"},{"title":"GET /classify","sidebarTitle":"Classify","openapi":"GET /classify","href":"/api-reference/endpoint/classify"},{"title":"GET /styleguide","sidebarTitle":"Styleguide","openapi":"GET /styleguide","href":"/api-reference/endpoint/styleguide"}]},{"group":"Web data","pages":[{"title":"GET /scrape","sidebarTitle":"Scrape","openapi":"GET /scrape","href":"/api-reference/endpoint/scrape"},{"title":"GET /search","sidebarTitle":"Search","openapi":"GET /search","href":"/api-reference/endpoint/search"},{"title":"GET /map","sidebarTitle":"Map","description":"List every URL a site exposes, from its sitemaps and on-page links. 1 credit.","openapi":"GET /map","href":"/api-reference/endpoint/map"},{"title":"GET /screenshot","sidebarTitle":"Screenshot","openapi":"GET /screenshot","href":"/api-reference/endpoint/screenshot"}]},{"group":"Crawls","pages":[{"title":"POST /crawl","sidebarTitle":"Start a crawl","description":"Crawl a site, or a section of it, and get every page as markdown. Free to submit, then 1 credit per page.","openapi":"POST /crawl","href":"/api-reference/endpoint/crawl"},{"title":"GET /crawl/{id}","sidebarTitle":"Get crawl status","openapi":"GET /crawl/{id}","href":"/api-reference/endpoint/crawl-status"},{"title":"GET /crawl/{id}/errors","sidebarTitle":"Get crawl errors","openapi":"GET /crawl/{id}/errors","href":"/api-reference/endpoint/crawl-errors"},{"title":"DELETE /crawl/{id}","sidebarTitle":"Cancel a crawl","openapi":"DELETE /crawl/{id}","href":"/api-reference/endpoint/crawl-cancel"}]},{"group":"Batches","pages":[{"title":"POST /batch/scrape","sidebarTitle":"Start a batch scrape","openapi":"POST /batch/scrape","href":"/api-reference/endpoint/batch-scrape"},{"title":"GET /batch/scrape/{id}","sidebarTitle":"Get batch scrape status","openapi":"GET /batch/scrape/{id}","href":"/api-reference/endpoint/batch-scrape-status"},{"title":"GET /batch/scrape/{id}/errors","sidebarTitle":"Get batch scrape errors","openapi":"GET /batch/scrape/{id}/errors","href":"/api-reference/endpoint/batch-scrape-errors"},{"title":"DELETE /batch/scrape/{id}","sidebarTitle":"Cancel a batch scrape","openapi":"DELETE /batch/scrape/{id}","href":"/api-reference/endpoint/batch-scrape-cancel"},{"title":"POST /batch/{endpoint}","sidebarTitle":"Start a batch","openapi":"POST /batch/{endpoint}","href":"/api-reference/endpoint/batch"},{"title":"GET /batch/{endpoint}/{id}","sidebarTitle":"Get batch status","openapi":"GET /batch/{endpoint}/{id}","href":"/api-reference/endpoint/batch-status"},{"title":"GET /batch/{endpoint}/{id}/errors","sidebarTitle":"Get batch errors","openapi":"GET /batch/{endpoint}/{id}/errors","href":"/api-reference/endpoint/batch-errors"},{"title":"DELETE /batch/{endpoint}/{id}","sidebarTitle":"Cancel a batch","openapi":"DELETE /batch/{endpoint}/{id}","href":"/api-reference/endpoint/batch-cancel"}]},{"group":"Monitors","pages":[{"title":"POST /monitor","sidebarTitle":"Create a monitor","openapi":"POST /monitor","href":"/api-reference/endpoint/monitor"},{"title":"GET /monitor","sidebarTitle":"List monitors","openapi":"GET /monitor","href":"/api-reference/endpoint/monitor-list"},{"title":"GET /monitor/{id}","sidebarTitle":"Get a monitor","openapi":"GET /monitor/{id}","href":"/api-reference/endpoint/monitor-get"},{"title":"PATCH /monitor/{id}","sidebarTitle":"Update a monitor","openapi":"PATCH /monitor/{id}","href":"/api-reference/endpoint/monitor-update"},{"title":"DELETE /monitor/{id}","sidebarTitle":"Delete a monitor","openapi":"DELETE /monitor/{id}","href":"/api-reference/endpoint/monitor-delete"},{"title":"POST /monitor/{id}/run","sidebarTitle":"Run a check now","openapi":"POST /monitor/{id}/run","href":"/api-reference/endpoint/monitor-run"},{"title":"GET /monitor/{id}/checks","sidebarTitle":"List checks","openapi":"GET /monitor/{id}/checks","href":"/api-reference/endpoint/monitor-checks"},{"title":"GET /monitor/{id}/checks/{checkId}","sidebarTitle":"Get a check","openapi":"GET /monitor/{id}/checks/{checkId}","href":"/api-reference/endpoint/monitor-check"},{"group":"Webhooks","pages":[{"title":"monitor.page webhook","sidebarTitle":"monitor.page event","openapi":"WEBHOOK monitor.page","href":"/api-reference/endpoint/monitor-webhook-page"},{"title":"monitor.check.completed webhook","sidebarTitle":"monitor.check.completed event","openapi":"WEBHOOK monitor.check.completed","href":"/api-reference/endpoint/monitor-webhook-check"}]}]},{"group":"Logo CDN","pages":[{"title":"GET /logo/token","sidebarTitle":"Get logo token","openapi":"GET /logo/token","href":"/api-reference/endpoint/logo-token"},{"title":"POST /logo/token/rotate","sidebarTitle":"Rotate logo token","openapi":"POST /logo/token/rotate","href":"/api-reference/endpoint/logo-token-rotate"}]},{"group":"Service","pages":[{"title":"GET /health","sidebarTitle":"Health","openapi":"GET /health","href":"/api-reference/endpoint/health"},{"title":"GET /ready","sidebarTitle":"Readiness","openapi":"GET /ready","href":"/api-reference/endpoint/ready"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"GET /screenshot - Prefetch API","buildId":"dpl_5joLUXmnJgwqjrHAS4dxZrQTdxgh","deploymentId":"dpl_5joLUXmnJgwqjrHAS4dxZrQTdxgh","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DPDWPCdE.js","utils-DyjUHyLo.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BWYE1cdS.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-COAzxpEw.js","snippetPresets-DNiD_S52.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-CjwVt80x.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-ByHQMk7z.js","shallow-CaZuw1AO.js","getApiPlaygroundDisplay-DPVPOknm.js","CodeSnippet-B31CH-Mp.js","CodeSnippets-BxTYZWz6.js","Page-DDHbuAIY.js","getPastedJson-DhoAwiNO.js","icon-Dhq8z75J.js","MethodPill-DLXmKOwr.js","DuplicateIcon-jzdVwyRU.js","createIcon-eD0b3klN.js","DynamicMarkdown-BfddVCX7.js","SectionHeading-2pSCIo17.js","axios-vUo_bRtp.js","Markdown-DsWjhwJ4.js","clsx-B2t_mZQG.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CUljsAY7.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Cf70306N.js"]}