{"uid":"cap_cP4m8ZfYmErQiO1Nfj70c","slug":"agentdiet-web-distillation-endpoint-2fe7eaa4","name":"AgentDiet Web Distillation Endpoint","description":"15-App Autonomous Business-to-Agent (B2A) API Hub & MCP Suite. Supports Web Distillation, On-Chain Risk, DEX Token Intelligence, B2B Lead Enrichment, Domain OSINT, Email Verification, SEC Filings, GitHub Audits, Prompt Firewall, and native HTTP 402 (x402 Base USDC).","url":"https://token-intel-72343955726.us-central1.run.app/v1/distill?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"data":{"mode":"markdown","title":"Example Documentation","content":"# Example Documentation\nClean agent-ready markdown..."},"status":"ok","roi_proof":{"raw_tokens":14200,"tokens_saved":13520,"roi_multiplier":67.6,"distilled_tokens":680,"compression_ratio_pct":95.2}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_Gs5rUIxCpcemeXcLH_A0d","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 or document URL and distills it into compressed, agent-ready markdown, stripping noise and returning only semantically rich content with token-efficiency metrics.","exampleAgentPrompt":"Can you distill https://docs.example.com/api/overview into clean agent-ready markdown and tell me how many tokens were saved compared to the raw page?","exampleUseCases":[{"title":"Compressing API docs for agent context","prompt":"Distill https://stripe.com/docs/api into compact markdown so I can feed it to my agent without blowing up the context window — show me the compression ratio too."},{"title":"Research page summarization pipeline","prompt":"Fetch and distill https://en.wikipedia.org/wiki/Large_language_model into agent-ready markdown format so I can use just the key content in my research workflow."},{"title":"Competitive intelligence brief","prompt":"Pull and distill the content at https://openai.com/pricing into clean markdown — I want to see only the meaningful text, not all the nav and footer noise, and I'd like to know how many tokens were saved."}],"resultDescription":"Returns a JSON object with a 'data' field containing the distilled content (title and markdown body), a status field, and an 'roi_proof' object showing raw_tokens, distilled_tokens, tokens_saved, compression_ratio_pct, and roi_multiplier — giving the agent both the compressed content and proof of token efficiency.","failureModes":["URL is unreachable or returns non-200 status — endpoint may return an error or empty content","Paywalled or bot-protected pages may return incomplete or no content","Very large pages may hit processing limits resulting in truncated output","Invalid or malformed URL input causes a request failure","HTTP 402 payment required if USDC micropayment via x402 is not attached or insufficient"],"whenToPreferThis":"Choose this endpoint when your agent needs to read web pages or documentation without consuming excessive context-window tokens. It is especially valuable in token-constrained pipelines, agentic research loops, or any workflow where raw HTML verbosity would be wasteful. Prefer this over raw HTTP fetch when you need structured, clean markdown output with built-in compression telemetry.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:43:29.260Z","isFirstParty":false,"canonicalSlug":"agentdiet-web-distillation-endpoint-2fe7eaa4"}