{"uid":"cap_xRQLVHBK9Qsl3StTlII1T","slug":"html-to-markdown-converter-rainmaker-well-004-d3f3e373","name":"HTML to Markdown Converter (Rainmaker WELL-004)","description":"Convert HTML to tidy markdown ($0.005 USDC via x402). Pass html (string) and/or url (public https to fetch). At least one required; if both, prefers html and warns. URL fetches use the same allowlist as WELL-002 (https only — http/file/data/localhost/private IPs rejected; 1 MB body, ~10s timeout, max 5 redirects). Returns JSON { source, url?, final_url?, content_type?, markdown, warnings }.","url":"https://well-004-html-to-markdown.rainmaker-wells.workers.dev/mcp?utm_source=zero.xyz#html-to-markdown#html-to-markdown","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_w1bveHhsEpxS_dr7e1sc8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts HTML content (directly supplied or fetched from a public URL) into clean, tidy Markdown, returning the result as JSON for $0.005 USDC per call via x402 payment.","exampleAgentPrompt":"Can you fetch https://en.wikipedia.org/wiki/Markdown and convert the page's HTML into clean markdown so I can use it in my notes?","exampleUseCases":[{"title":"LLM context from a web article","prompt":"Take the HTML from https://www.bbc.com/news/technology-12345678 and convert it to markdown — I want to feed it into a prompt without all the HTML noise."},{"title":"Paste HTML snippet as markdown","prompt":"I've got this raw HTML snippet from our CMS — can you convert it to clean markdown? Here it is: <h1>Hello World</h1><p>This is a <strong>test</strong> paragraph.</p>"},{"title":"Docs site to markdown for archiving","prompt":"Grab the page at https://docs.example.com/getting-started and turn its HTML into markdown so I can store a readable version in our knowledge base."}],"resultDescription":"A JSON object containing: 'source' (whether input was 'html' or 'url'), optional 'url' and 'final_url' (after redirects), optional 'content_type' of the fetched page, 'markdown' (the converted Markdown string), and 'warnings' (array of any processing warnings, e.g. if both html and url were supplied).","failureModes":["Non-HTTPS URLs (http, file, data, localhost, private IPs) are rejected with an error","URL fetch timeout after ~10 seconds","Response body exceeds 1 MB limit — fetch is aborted","More than 5 redirects causes the fetch to fail","Neither html nor url parameter provided — returns error requiring at least one","If both html and url are provided, html is used and a warning is returned","Malformed or unparseable HTML may produce degraded or partial markdown output"],"whenToPreferThis":"Choose this endpoint when you need a simple, reliable, paid-per-call HTML-to-Markdown conversion with optional remote URL fetching built in. It is ideal for agents that need to ingest web page content as Markdown for LLM prompts, knowledge bases, or document pipelines. Prefer it over DIY scraping when you want a single API call that handles both fetching and conversion with sensible security guardrails (allowlist, redirect limits, size cap). It is not suitable for private/intranet URLs, bulk batch conversions, or non-HTML formats like PDFs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:30:20.354Z","isFirstParty":false,"canonicalSlug":"html-to-markdown-converter-rainmaker-well-004-d3f3e373"}