{"uid":"cap_9iKgeJ_k8-39IysKF-qgs","slug":"agentdiet-html-to-markdown-converter-0f761169","name":"AgentDiet HTML-to-Markdown Converter","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://status.agentdiet.dev settling in USDC on Base.","url":"https://status.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_T9d5tCLWC7ksifl9OgI1S","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, compressed Markdown, achieving up to 91%+ token compression for LLM context windows.","exampleAgentPrompt":"Fetch https://en.wikipedia.org/wiki/Artificial_intelligence and convert it to clean Markdown so I can drop it into my prompt without wasting a ton of tokens.","exampleUseCases":[{"title":"Compressing docs for agent context","prompt":"Grab the content from https://docs.python.org/3/library/asyncio.html and convert it to Markdown so I can fit it into my AI agent's context window without blowing up the token count."},{"title":"Web research for LLM summarization","prompt":"Convert https://www.bbc.com/news/technology to Markdown — I want to summarize the headlines in my prompt but the raw HTML is way too bloated."},{"title":"Reducing cost on repeated web lookups","prompt":"I'm calling a bunch of product pages repeatedly in my pipeline. Can you fetch https://shop.example.com/product/123 and return it as compressed Markdown so I'm not burning tokens on all that HTML every time?"}],"resultDescription":"Returns a JSON object containing the converted Markdown content under `data`, a status field set to 'ok', and an `roi_proof` object with a `compression_ratio_pct` field showing the percentage of tokens saved (e.g. 91.4% compression).","failureModes":["URL is unreachable or returns a non-200 HTTP status — endpoint may return an error status","Malformed or missing `url` query parameter — results in a bad request error","Target page is JavaScript-rendered and content cannot be fetched statically","Very large pages may timeout or return partial content","Payment not settled — x402 payment required before content is returned"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to ingest web page content but must minimize token usage — especially useful in tight context windows or high-frequency pipelines where raw HTML is prohibitively large. It is purpose-built for A2A and MCP workflows and pays per-call in USDC via x402, making it suitable for autonomous agent billing without API key management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:42:45.128Z","isFirstParty":false,"canonicalSlug":"agentdiet-html-to-markdown-converter-0f761169"}