{"uid":"cap_Sn6GqF6tFsDFIUNuYsWVE","slug":"agentdiet-serp-extract-web-distillation-endpoint-47d8fde8","name":"AgentDiet SERP Extract – 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://agentdiet-72343955726.us-central1.run.app/v1/serp-extract?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.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SgjT_m4K1ThWy_yHfNHKS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a URL or search result page and distills it into clean, compressed, agent-ready markdown, reporting token savings and compression ratio","exampleAgentPrompt":"Can you distill https://docs.example.com/api-reference into clean markdown for me and tell me how many tokens it saves compared to the raw page?","exampleUseCases":[{"title":"Cheap documentation ingestion for agents","prompt":"I need you to fetch the React documentation page at https://react.dev/learn and distill it into compact markdown so I can feed it to my coding agent without burning thousands of tokens."},{"title":"Search result page cleanup","prompt":"Grab the Google search results page for 'best open source LLM frameworks 2024' and strip it down to just the useful content in markdown — I want to know how much compression we get."},{"title":"Research pipeline token optimization","prompt":"Pull this long Wikipedia article at https://en.wikipedia.org/wiki/Large_language_model and distill it to agent-ready markdown, and show me the ROI multiplier on token savings."}],"resultDescription":"Returns a JSON object with a 'data' field containing the distilled markdown content, page title, and output mode; plus an 'roi_proof' object showing raw token count, distilled token count, tokens saved, compression ratio percentage, and ROI multiplier — giving the agent both the clean content and a quantified measure of efficiency gained.","failureModes":["Invalid or unreachable URL returns an error status","Rate limiting or paywalled pages may return incomplete content","Very short pages may show low compression ratio and marginal token savings","Highly JavaScript-rendered pages may not distill cleanly without rendering support","Missing URL parameter returns a bad request error"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to consume web page content efficiently and token cost matters — particularly for long documentation pages, search result pages, or research articles where raw HTML would waste context. It is especially valuable in agentic pipelines where many pages must be read sequentially, as the compression ratio directly reduces LLM inference cost. Prefer it over raw fetch tools when clean markdown output and token-savings telemetry are both needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:38:39.039Z","isFirstParty":false,"canonicalSlug":"agentdiet-serp-extract-web-distillation-endpoint-47d8fde8"}