{"uid":"cap__k5JccTdqgT1UNunuLI4W","slug":"boring-api-convert-html-to-markdown-6baaa213","name":"boring-api · convert: HTML to Markdown","description":"Document and data format conversions via Pandoc, Chromium-headless, and pure-JS libs. Text inputs/outputs are JSON-fielded; binary inputs/outputs use base64 in JSON for uniformity.","url":"https://convert.boring-api.com/html-to-markdown","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"content":{"type":"string"}}},"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0008","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.0008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PIOT84mN7D0KHt7sEak7j","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts HTML content to Markdown format using document conversion libraries","exampleAgentPrompt":"Convert this HTML to Markdown for me: '<h1>Hello World</h1><p>This is a <strong>bold</strong> paragraph with a <a href=\"https://example.com\">link</a>.</p>'","exampleUseCases":null,"resultDescription":"A JSON object containing the Markdown-formatted equivalent of the submitted HTML content, with HTML tags translated into appropriate Markdown syntax (headings, bold, links, lists, etc.)","failureModes":["Malformed or unparseable HTML may produce garbled Markdown output","Very large HTML documents may time out or return incomplete results","Deeply nested or complex HTML structures may not map cleanly to Markdown","Missing or empty 'content' field returns an error","HTML with inline scripts or styles may produce noisy Markdown output"],"whenToPreferThis":"Use this endpoint when you need a reliable, pay-per-call HTML-to-Markdown conversion without managing Pandoc or headless browser infrastructure yourself. Ideal for agents processing web-scraped HTML, converting CMS output, or preparing content for LLM consumption where Markdown is preferred over raw HTML.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:36:00.479Z","isFirstParty":false}