{"uid":"cap_dlylUbZBBraD51KTJQsrv","slug":"x-402-html-page-publisher-c6cdb6e6","name":"x-402 HTML Page Publisher","description":"Host a generated HTML page on a permanent unguessable link for up to 30 days: static HTML, inline CSS and SVG render; scripts, forms and external requests are blocked Host a generated HTML page (report, dashboard, summary, invoice) on a pe…","url":"https://api.x-402.online/v1/publish?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nP9pIIIP_f-tw7ERRDcBy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Hosts a generated HTML page on a permanent, unguessable link for up to 30 days, rendering static HTML, inline CSS and SVG while blocking scripts, forms and external requests.","exampleAgentPrompt":"Take this HTML sales summary report I just generated and publish it to a permanent shareable link so I can send it to my team — keep it live for up to 30 days.","exampleUseCases":[{"title":"Shareable client invoice link","prompt":"I've generated an HTML invoice for my client — can you host it on a permanent unguessable link so I can email it to them and they can view it for the next 30 days?"},{"title":"Agent-generated dashboard URL","prompt":"My agent just built an HTML dashboard summarising this week's metrics — publish it to a stable public URL with no scripts or external calls so I can embed the link in our Slack update."},{"title":"Readable HTML report for stakeholders","prompt":"Turn this HTML report I created into a shareable permanent link I can send to stakeholders — it should stay live for up to 30 days with just the static content, no interactive elements."}],"resultDescription":"A permanent, unguessable URL where the submitted HTML page is hosted for up to 30 days. The page renders static HTML, inline CSS and inline SVG; JavaScript, forms and external network requests are all blocked for security. The link can be shared with anyone who has it.","failureModes":["Invalid or malformed HTML content may fail to publish or render incorrectly","Content exceeding size limits may be rejected","External resources referenced in the HTML will be blocked and not load","Scripts or forms in the HTML will be silently stripped or blocked","Link expires after 30 days and becomes inaccessible","Payment failure via x402 protocol results in 402 response and no page is created"],"whenToPreferThis":"Choose this endpoint when an AI agent has generated a static HTML document (report, invoice, dashboard, summary) and needs to share it via a stable URL without managing any server infrastructure. Ideal for ephemeral but shareable documents that only need to live for up to 30 days. Best suited for purely presentational content — if the page needs interactive JavaScript, dynamic data fetching, or form submissions, this endpoint is not appropriate.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T19:49:56.606Z","isFirstParty":false,"canonicalSlug":"x-402-html-page-publisher-c6cdb6e6"}