{"name":"html-to-markdown","description":"Convert HTML to Markdown. Strips nav, scripts, ads, and other boilerplate. Preserves headings, lists, tables, code blocks, links, and images. Accepts raw HTML or a URL — when given a URL the server fetches the page and runs the converter on the body. Returns clean Markdown plus title and char counts. Ideal for LLM context windows, RAG ingestion, and content archival.","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"}