{"uid":"cap_A9C7fuRcKX8jpcAxmbKHb","slug":"x402-gateway-html-to-markdown-e35f14ee","name":"x402-gateway: HTML to Markdown","description":"x402-gateway tool: html_to_markdown (market: bazaar)","url":"https://x402.freeq.one/market/bazaar/tools/html_to_markdown?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"tool":{"type":"string","description":"Tool name (see GET /tools for the catalog)"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qvu8pkORCzeYMAPCltLO8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts raw HTML content into clean, LLM-ready Markdown via a pay-per-call API requiring no accounts or API keys","exampleAgentPrompt":"Take this HTML I scraped from the page and convert it to clean Markdown so I can feed it into my LLM pipeline: <html><body><h1>Hello World</h1><p>This is a test.</p></body></html>","exampleUseCases":[{"title":"LLM context preparation from scraped pages","prompt":"I just scraped the HTML from a product documentation page — can you convert it to clean Markdown so I can include it in my prompt context without all the noisy tags?"},{"title":"Newsletter content reformatting","prompt":"I have the raw HTML of an email newsletter I received and I want it turned into readable Markdown — can you run the html_to_markdown tool on it?"},{"title":"Web article ingestion for RAG pipeline","prompt":"Here's the HTML source of a news article I want to index in my retrieval system — please convert it to Markdown so it's clean and token-efficient for embedding."}],"resultDescription":"Returns a Markdown-formatted string converted from the provided HTML input, with HTML tags stripped and structure preserved as Markdown headings, lists, links, and emphasis where applicable — ready for LLM ingestion or further processing.","failureModes":["Malformed or empty HTML input may produce garbled or empty Markdown output","Payment failure (402) if the agent does not supply valid USDC payment on Base","Missing or incorrect 'tool' field in the request body returns an error","Very large HTML documents may time out or be truncated","Non-HTML input passed as HTML may produce unexpected results"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call HTML-to-Markdown conversion with no account setup or API key management. It is well-suited for AI agent pipelines that process web content on demand and want to pay only for what they use in USDC on Base. Prefer this over self-hosted solutions when you want zero infrastructure overhead and deterministic per-call pricing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:35:21.593Z","isFirstParty":false,"canonicalSlug":"x402-gateway-html-to-markdown-e35f14ee"}