{"uid":"cap_xduxJ4Bd9qsguu1HEdfEO","slug":"tanship-payai-console-browser-pdf-generation-edfa29d5","name":"Tanship PayAI Console — Browser PDF Generation","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/pdf","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.01","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.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_BscrFSikqYq6uU7OrznsB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Renders a webpage or HTML content to a PDF document via browser automation, gated by a $0.01 USDC x402 micropayment on Base.","exampleAgentPrompt":"Can you render the page at https://example.com/report into a PDF for me? Pay the small per-call fee automatically.","exampleUseCases":[{"title":"Invoice page to PDF export","prompt":"Take the invoice page at https://billing.mycompany.com/invoices/1234 and convert it to a PDF so I can send it to my client."},{"title":"Research report capture","prompt":"Render https://arxiv.org/abs/2401.00001 as a PDF so I can save an offline copy of the paper with all its formatting intact."},{"title":"Dynamic HTML to PDF for email attachment","prompt":"I have some HTML for a sales proposal — can you run it through the browser PDF renderer and give me back the PDF file to attach to my email?"}],"resultDescription":"Returns a rendered PDF binary (or a URL/blob to the generated PDF) produced by a headless browser from the supplied URL or HTML body content.","failureModes":["Invalid or unreachable URL causes rendering failure","Malformed request body (wrong bodyType or missing required fields) returns 4xx","Payment not included or incorrect USDC amount causes x402 payment-required rejection","Timeout if the target page takes too long to load","Protected or login-gated pages may render empty or partial content"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call, micropayment-gated browser-based PDF renderer without managing your own headless Chrome infrastructure. Ideal for AI agents that need occasional PDF generation at $0.01/call without subscription overhead. Prefer over alternatives when x402/USDC on Base is already your payment rail.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:57:10.480Z","isFirstParty":false}