{"uid":"cap_Kj-TSqy0g1QhkBuBWKByS","slug":"2s-io-screenshot-api-6a40a4a1","name":"2s.io Screenshot API","description":"The (most) everything API: 575+ pay-per-call endpoints for AI agents — ground-truth data, a full AI gateway, and agent infrastructure (storage, queues, watchers). USDC via x402, no signup, no API keys, and upto billing: pay actual usage, not the quote.","url":"https://2s.io/api/ai/screenshot","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"description":"HTTPS URL to render."},"width":{"type":"integer","maximum":3840,"minimum":320,"description":"Viewport width (320-3840). Default 1280."},"format":{"enum":["png","jpeg","webp"],"type":"string","description":"Image format. Default png."},"height":{"type":"integer","maximum":2160,"minimum":320,"description":"Viewport height (320-2160). Default 720."},"quality":{"type":"integer","maximum":100,"minimum":1,"description":"JPEG/WebP quality 1-100. Ignored for PNG."},"blockAds":{"type":"boolean","description":"Block ads + trackers. Default true."},"fullPage":{"type":"boolean","description":"Capture the full scrollable page instead of the viewport."},"timeoutMs":{"type":"integer","maximum":15000,"minimum":1000,"description":"Render timeout in milliseconds (1000-15000). Default 8000."},"waitUntil":{"enum":["load","domcontentloaded","networkidle0","networkidle2"],"type":"string","description":"Wait condition before snap. Default networkidle2."},"deviceScaleFactor":{"type":"integer","maximum":3,"minimum":1,"description":"Pixel density multiplier 1-3. Default 1."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0075","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.0075/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01875","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01875","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_X5wBGbLLzZCm6i09Cq_Aa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01875","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Captures a screenshot of any HTTPS URL and returns the image, with configurable viewport, format, and render settings","exampleAgentPrompt":"Take a full-page screenshot of https://example.com at 1920x1080 in PNG format, blocking ads, and wait until the network is idle before capturing.","exampleUseCases":null,"resultDescription":"Returns an image file (PNG, JPEG, or WebP) of the rendered webpage at the specified viewport dimensions. The response is the raw image data of the captured screenshot.","failureModes":["URL is unreachable or returns an error — render timeout or HTTP error","Timeout exceeded (max 15000ms) — page did not finish loading in time","Invalid URL format — must be a valid HTTPS URI","Viewport dimensions out of range (width 320-3840, height 320-2160)","Device scale factor out of range (1-3)","Quality value out of range for JPEG/WebP (1-100)","Payment failure via x402 — insufficient USDC balance or wallet not connected"],"whenToPreferThis":"Use this endpoint when you need a visual rendering of a web page without setting up a browser automation environment. Ideal for agents that need to capture screenshots for previews, monitoring, or visual verification tasks. Prefer over alternatives when you want no-signup, pay-per-call pricing with no monthly commitment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:59:02.609Z","isFirstParty":false}