{"uid":"cap_DHVoyoAg5jiQFufoVtLkl","slug":"agentdiet-markdown-distill-29fa66e4","name":"AgentDiet Markdown Distill","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/markdown-distill?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_YLrCDoL1XC6Eu-z0XpzDA","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 URL and distills its content into compressed Markdown, achieving high compression ratios (~91%) for efficient downstream consumption.","exampleAgentPrompt":"Can you fetch https://en.wikipedia.org/wiki/Large_language_model and distill it into clean, compressed Markdown so I can use it as context?","exampleUseCases":[{"title":"Prep article for LLM context window","prompt":"Grab the article at https://techcrunch.com/2024/06/01/openai-gpt5 and distill it into tight Markdown — I want to feed it into my prompt without blowing up my token budget."},{"title":"Extract documentation page as Markdown","prompt":"Fetch https://docs.python.org/3/library/asyncio.html and convert it to compressed Markdown so I can reference it in my coding assistant."},{"title":"Compress news page for agent pipeline","prompt":"Pull down https://www.reuters.com/technology/ and distill the content into Markdown — I need a compact version my agent can process efficiently."}],"resultDescription":"Returns a JSON object with a 'data' field containing the distilled Markdown content, a 'status' field ('ok' on success), and a 'roi_proof' object showing the compression_ratio_pct achieved (e.g. 91.4%), confirming how much the source was compressed.","failureModes":["Invalid or unreachable URL returns an error status","Protected/paywalled pages may return incomplete or empty content","Very large pages may timeout or return partial markdown","Malformed input schema (missing 'type' or 'method') returns a validation error","Payment failure (insufficient USDC) returns HTTP 402"],"whenToPreferThis":"Choose this endpoint when you need to fetch a public URL and convert its content into compact, LLM-ready Markdown in a single paid API call, especially when token efficiency matters. It is ideal for agent pipelines that need to ingest web content without dealing with raw HTML parsing. Prefer it over generic scraping tools when you want both extraction and compression in one step, billed at a per-call micropayment via USDC on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:42:34.439Z","isFirstParty":false,"canonicalSlug":"agentdiet-markdown-distill-29fa66e4"}