{"uid":"cap_MMOgBp5-IK-y-DeiTXxZ4","slug":"api-x402node-dev-76bd8192","name":"Markdown ↔ HTML Bidirectional Converter","description":"Markdown to HTML, HTML to Markdown, MD to HTML, markdown renderer, GFM markdown parser, convert md to html, convert html to markdown, markdown converter, html parser. Bidirectional convert between Markdown and HTML. Direction by 'from' param. Accepts payment on Base or Solana — either network works.","url":"https://api.x402node.dev/convert/markdown-html","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","required":["content"],"properties":{"from":{"type":"string","description":"Source format (optional)"},"content":{"type":"string","description":"Content body (required)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0022","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.0022/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0022","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0022","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Ba3brpUUICvShYOxHJaj1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0022","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts Markdown to HTML or HTML to Markdown using GFM-compatible parsing, direction controlled by a 'from' parameter","exampleAgentPrompt":"Convert this Markdown to HTML: '# Hello World\\n\\nThis is a **bold** paragraph with a [link](https://example.com) and a list:\\n- item 1\\n- item 2' — use from=markdown direction.","exampleUseCases":null,"resultDescription":"A JSON object with a 'result' field containing the converted string (HTML or Markdown), plus 'from' and 'to' fields echoing the conversion direction that was applied.","failureModes":["Missing 'from' parameter causes direction ambiguity or error","Malformed or empty input body returns error or empty result","Invalid 'from' value not recognized as 'markdown' or 'html'","Very large documents may time out or be truncated","Complex HTML with scripts/styles may not convert cleanly to Markdown"],"whenToPreferThis":"Use this endpoint when you need a quick, stateless, bidirectional conversion between Markdown and HTML without setting up a local parser. Ideal for AI pipelines that produce Markdown and need rendered HTML for display, or that receive HTML content and need clean Markdown for further processing. Prefer this over full document processors when you just need the markup conversion step.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:51:03.554Z","isFirstParty":false}