{"uid":"cap_Fn83EiijjzUcWg6K3mpR8","slug":"agentdiet-web-distillation-endpoint-7a2e8a0c","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://x402broker.com/v1/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"},{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4K54MHZV8cOEZjJi6z45t","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null},{"uid":"pm_ycWpGPduh4uY7GtKUocmo","protocol":"mpp","methodType":"crypto","chain":"tempo","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 returns semantically distilled, token-compressed content by stripping 85-97% of HTML bloat for AI agent consumption","exampleAgentPrompt":"Fetch https://techcrunch.com/2024/05/01/openai-news/ and distill it down to just the meaningful content — strip out all the HTML noise so it fits cleanly in my context window.","exampleUseCases":[{"title":"LLM context window optimization","prompt":"Pull the content from https://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK=AAPL and distill it so only the meaningful text remains — I need it token-efficient enough to paste directly into my prompt."},{"title":"Competitive news monitoring","prompt":"Grab https://www.theverge.com/ai and distill the page down to just the readable article content, removing all ads, nav menus, and HTML clutter."},{"title":"Research pipeline preprocessing","prompt":"I need you to fetch https://arxiv.org/abs/2401.00001 and run it through the AgentDiet distiller to strip out all the boilerplate — just give me the compressed, clean text with the compression ratio so I know how much was cut."}],"resultDescription":"Returns a JSON object with a 'data' field containing the distilled page content, a 'status' field ('ok' on success), and a 'roi_proof' object showing compression_ratio_pct (e.g. 91.4) indicating what percentage of the original HTML token bloat was removed.","failureModes":["Invalid or unreachable URL returns an error status","URL that returns non-HTML content (e.g. binary files) may yield empty or malformed data","Rate limiting or payment failure (HTTP 402) if USDC balance is insufficient","Paywalled or JavaScript-rendered pages may produce incomplete distillation","Malformed input schema (missing 'type' or 'method') returns a validation error"],"whenToPreferThis":"Choose this endpoint when you need to fetch a public URL and reduce its token footprint for LLM input — especially when the target page has heavy HTML markup, ads, navigation, or boilerplate that would waste context window space. Prefer this over raw fetch or general scraping APIs when you specifically need semantic compression with a measurable compression ratio, and when you want a micro-payment ($0.001 USDC) model rather than a subscription. Not ideal for JavaScript-heavy SPAs requiring browser rendering or for pages behind authentication.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:48:04.205Z","isFirstParty":false,"canonicalSlug":"agentdiet-web-distillation-endpoint-7a2e8a0c"}