{"uid":"cap_v5U5lGehnei0_b4lNK-Bq","slug":"md-fastdb-in-screenshot-url-to-png-jpeg-7b126061","name":"md.fastdb.in Screenshot URL to PNG/JPEG","description":"Screenshot any URL as PNG/JPEG through real headless Chromium — full JS rendering (SPAs work), fullPage or viewport, CSS-selector element capture, retina scale. Agent eyes for the web: verify pages visually, archive proof, capture previews. $0.005 per call via x402.","url":"https://md.fastdb.in/shot/shot?utm_source=zero.xyz","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":{"required":["url"],"properties":{"url":{"type":"string","description":"Page to capture (http/https, public hosts only)"},"scale":{"enum":[1,2],"type":"number","description":"Device scale factor (2 = retina), default 1"},"width":{"type":"integer","maximum":1920,"minimum":320,"description":"Viewport width, default 1280"},"format":{"enum":["png","jpeg"],"type":"string","description":"Image format, default png"},"height":{"type":"integer","maximum":1920,"minimum":240,"description":"Viewport height, default 800"},"waitMs":{"type":"integer","maximum":10000,"minimum":0,"description":"Extra settle time after load, ms"},"quality":{"type":"integer","maximum":100,"minimum":1,"description":"JPEG quality, default 80 (jpeg only)"},"fullPage":{"type":"boolean","description":"Capture the entire scrollable page, default false"},"response":{"enum":["json","binary"],"type":"string","description":"json (default) wraps base64; binary returns raw image bytes"},"selector":{"type":"string","description":"CSS selector — capture just this element"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"b64":"<base64-encoded image>","bytes":48213,"width":1280,"height":800,"sha256":"9f7d…","tookMs":1450,"contentType":"image/png"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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":"unknown","priceObserved":{"p10Cents":"0.5000","medianCents":"0.5000","p90Cents":"0.5000","minCents":"0.5000","maxCents":"0.5000","p95Cents":"0.5000","sampleCount":1,"varies":false,"failureChargeRate":1},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_toiwT52UjLaczlkxNnotT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Captures a full-rendered screenshot of any public URL using headless Chromium, returning PNG or JPEG with support for full-page, retina, and CSS-selector element capture.","exampleAgentPrompt":"Take a full-page retina screenshot of https://example.com and give me a PNG — wait 2000ms after load to make sure everything has rendered.","exampleUseCases":[{"title":"Visual verification of a live deployment","prompt":"Screenshot https://myapp.io in PNG format at 1280x800 and wait 1500ms for JS to settle so I can visually verify the homepage looks correct after the latest deploy."},{"title":"Archive proof of a competitor pricing page","prompt":"Capture a full-page screenshot of https://competitor.com/pricing as a JPEG at retina scale (scale 2) so I have a timestamped visual record of their current pricing."},{"title":"Capture a specific UI element for a bug report","prompt":"Take a screenshot of just the element matching CSS selector '#checkout-button' on https://shop.example.com/cart as a PNG so I can include it in my bug report."}],"resultDescription":"Returns either a JSON object wrapping a base64-encoded image string (default) or raw binary image bytes, in PNG or JPEG format, representing the fully JS-rendered visual state of the requested URL at the specified viewport and scale.","failureModes":["Private or localhost URLs are rejected — only public hosts are supported","Selector not found on page results in an error or empty capture","Timeout if waitMs is set too high or the page never finishes loading","JPEG quality parameter ignored when format is PNG","Width/height outside 320–1920 range returns validation error","Non-HTTP/HTTPS URLs are rejected"],"whenToPreferThis":"Choose this endpoint when you need a pixel-accurate, JS-rendered visual capture of a live public webpage — especially SPAs that require JavaScript execution. Prefer it over static HTML scrapers when visual proof, archival screenshots, or element-level captures are needed. Use over PDF conversion when a raster image (not a printable document) is the desired output.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T18:38:34.331Z","isFirstParty":false,"canonicalSlug":"md-fastdb-in-screenshot-url-to-png-jpeg-7b126061"}