{"uid":"cap_FHJWkxgY1tk7QTDWWtvZx","slug":"klymax402-html-to-markdown-converter-761e3f4d","name":"klymax402 HTML to Markdown Converter","description":"One MCP endpoint gives your AI agent access to 100 APIs -- crypto, DeFi, web, AI, finance and utilities. No API keys, USDC on Base from $0.003/call.","url":"https://klymax402.com/api/html-to-markdown/api/convert","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"html":{"type":"string","description":"HTML content to convert to markdown"}}},"responseSchema":{"type":"json","example":{"markdown":"example","inputLength":1,"outputLength":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_E1mkFDpN59u6srMaZCPfC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","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 Markdown format, returning the converted text along with input and output character lengths.","exampleAgentPrompt":"Convert this HTML snippet into 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":[{"title":"LLM context preparation from scraped pages","prompt":"I scraped this HTML from a news article and need to feed it to my language model — can you convert it to clean markdown so it's easier to process? Here's the HTML: '<article><h2>Breaking News</h2><p>Markets surged <em>5%</em> today.</p></article>'"},{"title":"Documentation migration to markdown","prompt":"I have some old HTML documentation I need to convert to markdown so I can store it in our GitHub wiki. Here's the HTML: '<h1>Setup Guide</h1><ul><li>Install dependencies</li><li>Run the server</li></ul>'"},{"title":"Email HTML to readable markdown","prompt":"This HTML email template is a mess to read in raw form — can you convert it to markdown? Here's the HTML: '<div><h3>Your Order Confirmation</h3><p>Order #12345 has been <b>shipped</b>.</p></div>'"}],"resultDescription":"A JSON object containing the converted markdown string, the character length of the input HTML, and the character length of the output markdown. Example: {\"markdown\": \"# Hello World\\n\\nThis is a **bold** paragraph.\", \"inputLength\": 85, \"outputLength\": 42}","failureModes":["Empty or missing html parameter returns an error","Malformed or non-HTML input may produce garbled or empty markdown output","Extremely large HTML payloads may time out or be rejected","Payment failure (insufficient USDC balance) results in HTTP 402 with no conversion performed"],"whenToPreferThis":"Choose this endpoint when you need a quick, cheap, no-setup HTML-to-markdown conversion via a pay-per-call model without managing API keys. Ideal for agents that occasionally need to process scraped HTML or convert documents on demand. Prefer this over local libraries when running in a serverless or sandboxed environment that lacks HTML-parsing dependencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:46:15.793Z","isFirstParty":false}