{"name":"html-markdown","description":"Converts raw HTML or a URL into clean Markdown, preserving headings, lists, tables, code blocks, links, and images. Use it as an HTML to Markdown API, webpage to Markdown converter, or clean page text extractor.","price":"$0.005","method":"POST","input_schema":{"properties":{"html":{"type":"string","description":"Raw HTML to convert. Mutually exclusive with 'url' — supply one."},"url":{"type":"string","description":"Page URL to fetch and convert. Server follows redirects. Mutually exclusive with 'html'."},"include_links":{"type":"boolean","description":"Keep hyperlinks as Markdown [text](href). Default true. Set false for prose-only output."},"include_images":{"type":"boolean","description":"Keep images as Markdown ![alt](src). Default true."},"user_agent":{"type":"string","description":"Optional User-Agent header sent when fetching 'url'. Default is a generic browser UA."}}},"input_example":{"url":"https://en.wikipedia.org/wiki/Markdown"},"output_example":{"source_url":"https://en.wikipedia.org/wiki/Markdown","title":"Markdown","markdown":"# Markdown\n\nMarkdown is a lightweight markup language...","markdown_chars":5421,"html_chars":32418},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}