{"uid":"cap_1ssh-qrhzNyfGVMqOMoQu","slug":"html-to-markdown-converter-agentdiet-mcp-gateway-99b569c5","name":"HTML to Markdown Converter (AgentDiet MCP Gateway)","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://mcp-gateway.agentdiet.dev settling in USDC on Base.","url":"https://mcp-gateway.agentdiet.dev/v1/html-to-markdown?utm_source=zero.xyz","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","POST"],"type":"string"},"queryParams":{"type":"object","properties":{"url":{"type":"string"},"mode":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{},"status":"ok","roi_proof":{"compression_ratio_pct":91.4}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3rs1oWfAh7iM89ZWij6a8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a web page by URL and converts its HTML content to clean Markdown text, returning the compressed result via x402 micropayment.","exampleAgentPrompt":"Fetch the page at https://example.com/article and convert it to clean Markdown so I can read it without all the HTML clutter.","exampleUseCases":[{"title":"LLM context prep from web page","prompt":"Grab the content at https://en.wikipedia.org/wiki/Large_language_model and convert it to Markdown so I can paste it into my prompt without the HTML noise."},{"title":"Newsletter article extraction","prompt":"Can you fetch https://www.theverge.com/2024/1/1/some-article and turn it into clean Markdown? I want just the readable text."},{"title":"Documentation ingestion for agent","prompt":"Pull down the docs page at https://docs.anthropic.com/claude/overview and give it to me as Markdown — I need to feed it to my agent."}],"resultDescription":"A JSON object with a 'data' field containing the Markdown-converted content of the fetched page, a 'status' field (e.g. 'ok'), and a 'roi_proof' object showing the compression_ratio_pct (e.g. 91.4%), indicating how much the HTML was compressed into Markdown.","failureModes":["Invalid or unreachable URL returns an error status","Page requires JavaScript rendering and static fetch returns minimal content","Payment not settled in USDC on Base results in 402 rejection","Malformed input schema (missing required 'type' or 'method' fields) returns validation error","Very large pages may time out or return partial content"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to fetch a public web page and receive its content as clean, LLM-friendly Markdown with minimal token overhead. It is well-suited for preprocessing web content before feeding it into an LLM context window. Prefer this over raw HTML scraping when compression and readability matter, and when x402/USDC micropayment settlement on Base is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:41:41.820Z","isFirstParty":false,"canonicalSlug":"html-to-markdown-converter-agentdiet-mcp-gateway-99b569c5"}