{"uid":"cap_qD067q5fB5MB1lsRwAaXd","slug":"browser-context-snapshot-api-5a3cedc4","name":"Browser Context Snapshot API","description":"Free need-to-tool routing plus pay-per-call npm docs and TypeScript API signatures, npm breaking-change diffs, JavaScript-rendered browser snapshots and deterministic coding-agent checks via AgentCash/x402.","url":"https://x402-canary.nicolas-x402-16f380a7.workers.dev/v1/agent/browser-context","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","format":"uri","example":"https://example.com"},"wait_until":{"enum":["domcontentloaded","networkidle0","networkidle2"],"type":"string","default":"domcontentloaded"}}},"responseSchema":{"type":"json","example":{"data":{"url":"https://example.com/","title":"Example Domain","status":200,"markdown":"# Example Domain","accessibility_tree_truncated":false},"meta":{"engine":"browser-context"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pVpF0NNSBklv8oNQrl5Rj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a JavaScript-rendered browser snapshot of any URL, returning its title, HTTP status, markdown content, and accessibility tree","exampleAgentPrompt":"Can you fetch the fully rendered content of https://npmjs.com/package/react and give me the markdown text — wait until the page is fully loaded with no network activity (networkidle0)?","exampleUseCases":[{"title":"Scrape JS-rendered SPA content","prompt":"Fetch the rendered HTML content of https://app.example.com/dashboard and give me the markdown — make sure to wait until the network is idle so all the dynamic data loads."},{"title":"Check live documentation page","prompt":"Go grab the current content of https://docs.stripe.com/api and return it as markdown so I can check what the latest API parameters look like."},{"title":"Verify public webpage status","prompt":"Can you do a full browser render of https://mysite.com and tell me the HTTP status code, page title, and main text content in markdown format?"}],"resultDescription":"Returns a JSON object with a data field containing the final resolved URL, page title, HTTP status code, full page content as markdown, and a flag indicating whether the accessibility tree was truncated. Also includes a meta field with the engine name used.","failureModes":["URL is unreachable or returns a network error — status field will reflect non-200 code","JavaScript-heavy pages may timeout if wait_until strategy is too strict (networkidle0 on pages with persistent WebSocket connections)","Pages behind authentication walls return login page content instead of protected content","Accessibility tree may be truncated for very large pages (accessibility_tree_truncated: true)","Invalid URL format causes request rejection"],"whenToPreferThis":"Use this endpoint when you need the fully JavaScript-rendered content of a webpage — especially SPAs, React/Vue/Angular apps, or pages that load data asynchronously. Unlike plain HTTP fetch, this endpoint uses a real browser engine, so dynamic content, lazy-loaded elements, and client-side routing are all captured. Prefer this over static scrapers when the target page requires JS execution to show meaningful content.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:06:09.539Z","isFirstParty":false}