{"uid":"cap_0qRM6hhmJl3EdPlCh1XEx","slug":"x402-browser-screenshot-api-8d82bd6a","name":"X402 Browser Screenshot API","description":"Pay-per-request data tools for AI agents.","url":"https://x402.feld-feder.at/v1/web/screenshot","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","title":"BrowserScreenshotRequest","required":["url"],"properties":{"url":{"type":"string","title":"Url","maxLength":4096,"minLength":1},"width":{"type":"integer","title":"Width","default":1280,"maximum":1920,"minimum":320},"height":{"type":"integer","title":"Height","default":720,"maximum":1080,"minimum":240},"wait_ms":{"type":"integer","title":"Wait Ms","default":250,"maximum":2000,"minimum":0},"full_page":{"type":"boolean","title":"Full Page","default":true}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"ResponseEnvelope[BrowserScreenshotData]","required":["data"],"properties":{"ok":{"type":"boolean","const":true,"title":"Ok","default":true},"data":{"type":"object","title":"BrowserScreenshotData","required":["png_base64","width","height","bytes","content_hash","resource_requests","resource_bytes"],"properties":{"bytes":{"type":"integer","title":"Bytes"},"width":{"type":"integer","title":"Width"},"format":{"type":"string","const":"png","title":"Format","default":"png"},"height":{"type":"integer","title":"Height"},"png_base64":{"type":"string","title":"Png Base64"},"content_hash":{"type":"string","title":"Content Hash"},"resource_bytes":{"type":"integer","title":"Resource Bytes"},"resource_requests":{"type":"integer","title":"Resource Requests"}},"additionalProperties":false},"cache":{"anyOf":[{"type":"object","title":"CacheInfo","required":["hit"],"properties":{"hit":{"type":"boolean","title":"Hit"},"age_seconds":{"type":"integer","title":"Age Seconds","default":0,"minimum":0}}},{"type":"null"}],"default":null},"source":{"anyOf":[{"type":"object","title":"SourceInfo","required":["requested_url","final_url","retrieved_at"],"properties":{"final_url":{"type":"string","title":"Final Url"},"status_code":{"anyOf":[{"type":"integer","maximum":599,"minimum":100},{"type":"null"}],"title":"Status Code","default":null},"content_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Hash","default":null},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Type","default":null},"retrieved_at":{"type":"string","title":"Retrieved At","format":"date-time"},"requested_url":{"type":"string","title":"Requested Url"},"redirect_count":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Redirect Count","default":null}}},{"type":"null"}],"default":null},"_payment":{"anyOf":[{"type":"object","title":"PaymentInfo","required":["amount_usdc","network"],"properties":{"network":{"type":"string","title":"Network"},"amount_usdc":{"anyOf":[{"type":"number","minimum":0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"}],"title":"Amount Usdc"},"transaction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction","default":null}}},{"type":"null"}],"default":null},"warnings":{"type":"array","items":{"type":"object","title":"WarningInfo","required":["code","message"],"properties":{"code":{"type":"string","title":"Code"},"message":{"type":"string","title":"Message"}}},"title":"Warnings"},"provenance":{"type":"array","items":{"type":"string"},"title":"Provenance"}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"data":{"bytes":8,"width":1280,"format":"png","height":720,"png_base64":"iVBORw0KGgo=","content_hash":"sha256:0000000000000000000000000000000000000000000000000000000000000000","resource_bytes":0,"resource_requests":1}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RZfcHFzTx0eOuJlxlGIVl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Captures a PNG screenshot of any URL using a headless browser, returning the image as base64-encoded data, with configurable viewport dimensions and page-load wait time.","exampleAgentPrompt":"Can you take a full-page screenshot of https://example.com at 1280x720 resolution and give me the PNG image data?","exampleUseCases":[{"title":"Visual QA for deployed website","prompt":"Take a screenshot of https://myapp.staging.example.com at 1280x720, full page, so I can visually verify the deploy looks correct."},{"title":"Thumbnail generation for link preview","prompt":"Capture a screenshot of https://news.ycombinator.com at 1280 wide and 720 tall — I want it as a PNG so I can use it as a link preview thumbnail."},{"title":"Monitoring webpage visual changes","prompt":"Grab a screenshot of https://competitor.com/pricing right now at full page width 1920 by 1080 so I can compare it to what it looked like last week."}],"resultDescription":"Returns a JSON object containing the screenshot as a base64-encoded PNG string, image width and height in pixels, byte size of the image, a SHA-256 content hash, the number of network resource requests made during page load, total resource bytes fetched, and cache metadata indicating whether the result was served from cache.","failureModes":["Invalid or unreachable URL returns an error response","URL exceeds 4096 character limit causes validation failure","Viewport dimensions outside allowed range (width 320-1920, height 240-1080) cause validation error","wait_ms exceeding 2000ms causes validation failure","Payment not provided or insufficient USDC balance causes 402 Payment Required","Target website blocks headless browsers causing partial or failed render","Timeout on slow-loading pages may return incomplete screenshot"],"whenToPreferThis":"Choose this endpoint when you need a programmatic, pay-per-use headless browser screenshot with no subscription required — especially useful for AI agents that need occasional visual snapshots of web pages and want to pay only per call via USDC via the x402 protocol. Prefer this over full browser automation platforms when you need a quick PNG capture with configurable viewport and full-page support without managing browser infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T21:26:00.074Z","isFirstParty":false}