{"uid":"cap_wfyyzBffApFbXLPjk0PrD","slug":"html-to-markdown-converter-64be83b4","name":"HTML to Markdown Converter","description":"307 pay-per-call APIs (287 native + Universal Gateway proxying 37 services) powered by x402 and USDC on Base. Token intelligence, DeFi yields, MEV risk, AI tools, web scraping. No API keys, no subscriptions — pay $0.001–$0.05 per call.","url":"https://httpay.xyz/api/html-to-markdown","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"description":"Convert HTML to Markdown text. POST JSON body: {html, options}. Options: headingStyle (setext|atx), bulletListMarker (-, *, +). Uses the 'turndown' npm package. Returns clean Markdown string."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_J8_evCniMQXeQ_f0lZ4Rm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts an HTML string to clean Markdown text using the turndown npm package, with configurable heading style and bullet list marker","exampleAgentPrompt":"Convert this HTML snippet to markdown using ATX-style headings and dash bullet markers: '<h1>Title</h1><ul><li>Item one</li><li>Item two</li></ul><p>Some paragraph text here.</p>'","exampleUseCases":null,"resultDescription":"A clean Markdown string representation of the provided HTML, with headings formatted per the chosen style (setext or ATX) and list items using the specified bullet marker character.","failureModes":["Missing or empty html body field returns an error","Invalid headingStyle value (not setext or atx) may cause unexpected output","Malformed HTML may produce garbled or incomplete markdown","Payment failure via x402/USDC returns 402 Payment Required","Very large HTML documents may time out or hit size limits"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call HTML-to-Markdown conversion without API keys or subscriptions. Ideal for one-off conversions, agent pipelines processing scraped HTML, or cases where you want turndown-compatible output with control over heading and bullet styles. Prefer over heavyweight document parsers when the input is already valid HTML and you just need clean Markdown.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:08:21.433Z","isFirstParty":false}