{"uid":"cap_oalkGRgnkk71ygCXsjhGe","slug":"fastscrape-html-to-markdown-converter-696cad46","name":"fastscrape HTML to Markdown Converter","description":"Convert HTML supplied in a JSON request body into cleaned Markdown.","url":"https://fastscrape.benlab.download/html-to-md","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["html"],"properties":{"html":{"type":"string","description":"HTML content to convert to Markdown"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"status":"success","markdown":"# Hello","truncated":false,"character_count":7}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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":"down","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_DEeqLm2hmpPJxvZOwq5nG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","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 cleaned, readable Markdown text via a GET request with the HTML passed as a query parameter.","exampleAgentPrompt":"Can you convert this HTML snippet into clean Markdown for me: '<h1>Hello World</h1><p>This is a <strong>test</strong> paragraph with a <a href=\"https://example.com\">link</a>.</p>'?","exampleUseCases":[{"title":"CMS content migration to Markdown","prompt":"I have a bunch of HTML articles from our old CMS — can you take this HTML and convert it into clean Markdown so I can store it in our new static site generator? Here's the HTML: '<article><h2>Top Tips</h2><ul><li>Tip one</li><li>Tip two</li></ul></article>'"},{"title":"Web scrape result cleanup","prompt":"I just scraped a webpage and got back raw HTML. Can you clean it up and give me the content as Markdown? Here's the HTML: '<div class=\"content\"><h1>Product Review</h1><p>This product is <em>excellent</em>.</p></div>'"},{"title":"Email HTML to readable Markdown","prompt":"This HTML email I received is a mess to read programmatically — can you convert its HTML into plain Markdown? The HTML is: '<table><tr><td><p>Dear customer, your order <b>#12345</b> has shipped.</p></td></tr></table>'"}],"resultDescription":"Returns cleaned Markdown text derived from the supplied HTML input, with HTML tags removed and structure preserved as Markdown conventions (headings, bold, italic, links, lists, etc.).","failureModes":["Missing or empty 'html' query parameter causes a 400 Bad Request","Malformed or non-HTML content may produce garbled or empty Markdown output","Extremely large HTML payloads may be truncated or rejected","Network timeouts on the remote service may return a 5xx error","Payment failure via x402 protocol returns a 402 Payment Required before processing"],"whenToPreferThis":"Choose this endpoint when you have raw HTML strings that need to be converted to Markdown quickly without spinning up a local parser — especially useful in agentic pipelines that scrape web content and need it in a portable, readable format. Prefer this over general-purpose scraping endpoints when you already have the HTML and just need format conversion.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T17:25:09.363Z","isFirstParty":false}