{"uid":"cap_WUOMTmaZ3Cvhxgg_fJUz-","slug":"agdata-screenshot-api-96d6cff3","name":"agdata Screenshot API","description":"Screenshot API for AI agents: send {url} and get a JPEG, PNG, WebP or PDF of the page as base64 in JSON, with final URL, byte size and pixel size. Pick a desktop, mobile or tablet viewport, full page, dark mode, a delay or one element by CSS selector. It shows what a normal browser sees and does not get past bot protection (use unblock for those pages' text). A page that can't be captured, or renders blank, is not charged.","url":"https://agdata.shveik.dev/x402/screenshot?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","maxLength":2048},"width":{"type":"integer","maximum":1920,"minimum":320},"device":{"enum":["desktop","desktop_hd","mobile","tablet"],"type":"string"},"format":{"enum":["jpeg","png","webp","pdf"],"type":"string"},"height":{"type":"integer","maximum":1200,"minimum":240},"delayMs":{"type":"integer","maximum":5000,"minimum":0},"fullPage":{"type":"boolean"},"selector":{"type":"string","maxLength":200},"colorScheme":{"enum":["light","dark"],"type":"string"},"waitForSelector":{"type":"string","maxLength":200}}},"responseSchema":{"type":"json","example":{"bytes":66615,"width":1920,"format":"jpeg","height":1080,"finalUrl":"https://…","fullPage":false,"capturedAt":"2026-10-…","contentType":"image/jp…","imageBase64":"/9j/4AAQ…"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01897","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01897/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01897","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01897","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__vv6E2z-1RyEslUwIwbvF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01897","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Captures a full or partial screenshot of any public webpage and returns it as base64-encoded JPEG, PNG, WebP, or PDF in JSON, along with metadata like final URL and image dimensions.","exampleAgentPrompt":"Take a full-page desktop screenshot of https://example.com and give me a PNG — use dark mode and wait 1500ms before capturing.","exampleUseCases":[{"title":"Visual QA for web deployments","prompt":"Grab a full-page screenshot of https://staging.myapp.com in desktop HD mode as a PNG so I can visually check what the page looks like before we go live."},{"title":"Mobile layout review","prompt":"Take a screenshot of https://shop.example.com in mobile viewport with dark mode enabled and return it as a JPEG — I want to see how it renders on a phone."},{"title":"Capture specific page element","prompt":"Screenshot just the element with the CSS selector '#pricing-table' on https://saas.example.com as a WebP image — use a 2000ms delay so the content loads fully first."}],"resultDescription":"A JSON object containing the base64-encoded image (in the requested format: JPEG, PNG, WebP, or PDF), the final resolved URL after any redirects, the file size in bytes, and the pixel dimensions (width × height) of the captured image.","failureModes":["Page is behind bot protection — content won't be captured (use the Unblocker endpoint for text instead)","Page renders blank — not charged but returns an empty or error response","Invalid or unreachable URL returns an error","CSS selector not found on page results in failed capture","Timeout if page doesn't load within the delay window"],"whenToPreferThis":"Use this endpoint when you need a visual rendering of a webpage — for QA, archiving, thumbnails, or UI review — rather than its text content. Prefer this over scraping endpoints when the output must be an image or PDF. Note: it shows what a normal browser sees and cannot bypass bot protection; use the Unblocker sibling endpoint for protected pages' text content.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:42:15.375Z","isFirstParty":false,"canonicalSlug":"agdata-screenshot-api-96d6cff3"}