{"uid":"cap_0vAtpDD0KpLWu7AW2VzWR","slug":"agentdiet-serp-extract-web-distillation-endpoint-3ef8b60d","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://x402-audit-72343955726.us-central1.run.app/v1/serp-extract?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"type":"object","required":["query"],"properties":{"query":{"type":"string","minLength":1,"description":"Search query for live news, technical articles, and web results"}},"additionalProperties":false},"output":{"type":"object","required":["status","roi_proof","data"],"properties":{"data":{"type":"object"},"status":{"type":"string"},"roi_proof":{"type":"object"}}}}},"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_hYXAqjsYViGRL-hQUuPZv","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 and distills its content into clean, agent-ready markdown, stripping noise and compressing tokens by up to 95%.","exampleAgentPrompt":"Can you fetch https://docs.uniswap.org/contracts/v3/overview and distill it into clean markdown — I want the compressed, agent-ready version with the token savings stats so I can see how much context I'm saving?","exampleUseCases":[{"title":"Distill documentation for in-context use","prompt":"Pull down https://platform.openai.com/docs/guides/function-calling and convert it into clean compressed markdown — I want to include it in my prompt without eating up my whole context window."},{"title":"Extract article content for research pipeline","prompt":"Fetch https://www.nytimes.com/2025/01/15/technology/ai-agents.html and give me the distilled markdown text with the compression ratio so I know how many tokens I'm saving."},{"title":"Clean up landing page copy for competitor analysis","prompt":"Grab the content from https://stripe.com/payments and distill it into lean agent-ready markdown — strip all the nav, ads, and boilerplate so I just get the core page text."}],"resultDescription":"Returns a JSON object with: distilled markdown content and page title under `data`, plus an `roi_proof` object showing raw_tokens, distilled_tokens, tokens_saved, compression_ratio_pct (e.g. 95.2%), and roi_multiplier. Status field confirms success.","failureModes":["URL unreachable or returns non-200 HTTP status — endpoint may return error status","Page behind login/paywall — distilled content may be empty or minimal","Very short pages with little content — low compression ratio, minimal token savings","Rate limiting or payment failure (HTTP 402) if USDC payment not properly attached","Malformed URL input — likely returns error status with no data"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to read a web page but must minimize token consumption — it is purpose-built for LLM/agent pipelines that care about compression ratios and context efficiency. Prefer it over raw HTML scrapers or general-purpose fetch tools when you want clean markdown output and quantified token savings (ROI proof). Ideal for processing documentation, articles, and landing pages where boilerplate noise is high.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T06:42:32.281Z","isFirstParty":false,"canonicalSlug":"agentdiet-serp-extract-web-distillation-endpoint-3ef8b60d"}