{"uid":"cap_UEmcKt0LBbG-48Qba5Kmo","slug":"tanship-payai-browser-to-markdown-8359867e","name":"Tanship PayAI — Browser to Markdown","description":"Payment-gated AI and browser automation API using the x402 protocol. All /v1/* endpoints require USDC payment on Base (eip155:8453) via x402 v2 exact scheme.","url":"https://x402.tanship.dev/v1/browser/markdown","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":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.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_w2ubXl2GhLo68-Z6Rxqnz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a webpage via headless browser automation and converts its content to Markdown, gated by a $0.005 USDC x402 micropayment on Base.","exampleAgentPrompt":"Can you fetch the page at https://example.com/article and give me its content as Markdown so I can paste it into my notes?","exampleUseCases":[{"title":"LLM context from live webpage","prompt":"Go grab https://docs.anthropic.com/en/docs/about-claude/models and convert the whole page to Markdown so I can feed it into my prompt as context."},{"title":"Scraping JS-rendered product page","prompt":"I need the rendered content of https://store.example.com/product/42 as Markdown — it's a React app so a regular HTTP request won't work, I need a real browser to load it."},{"title":"Archiving article as readable text","prompt":"Fetch the news article at https://www.bbc.com/news/technology-12345678 and return it as clean Markdown so I can save it to my knowledge base."}],"resultDescription":"Returns the rendered webpage content as Markdown text. The browser fully executes JavaScript before extracting content, so the output reflects the page as a user would see it, including dynamically loaded sections.","failureModes":["Page not reachable or returns non-200 status — endpoint may return an error or empty markdown","JavaScript-heavy SPAs with lazy loading may miss content loaded after initial render","Payment failure or insufficient USDC balance causes a 402 response before any content is returned","Malformed input schema (missing required fields like type, method, bodyType) results in a 400 validation error","Anti-bot measures on the target site may block headless browser access"],"whenToPreferThis":"Use this endpoint when you need to fetch a webpage that requires JavaScript execution (SPAs, React/Vue apps) and want the output in Markdown format suitable for LLM consumption. Prefer this over plain HTTP fetch tools when the target page is dynamically rendered. The $0.005 USDC per-call micropayment model via x402 makes it suitable for pay-per-use agent pipelines without subscriptions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:53:18.490Z","isFirstParty":false}