{"uid":"cap_XK5KOnIJzsnnVJgX-k1oJ","slug":"agentdiet-serp-extract-web-distillation-endpoint-03f3badf","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://serp-extract-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_PescbZ0hx2y2SKhTDq8y7","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 returns AI-ready distilled markdown with token compression metrics, stripping noise to deliver clean agent-consumable content","exampleAgentPrompt":"Can you fetch https://docs.example.com/api-reference and distill it into clean agent-ready markdown, showing me how many tokens were saved in the compression?","exampleUseCases":[{"title":"Documentation ingestion for agents","prompt":"Grab the content at https://stripe.com/docs/payments/accept-a-payment and distill it into compact markdown so I can feed it to my agent without blowing up the context window."},{"title":"Competitive research page extraction","prompt":"Pull the page at https://competitor.com/pricing and give me a clean, distilled markdown version — I want to know how many tokens it saved compared to the raw page."},{"title":"Research paper distillation","prompt":"Fetch https://arxiv.org/abs/2310.06825 and compress it into agent-ready markdown for me, I need the core content without all the HTML noise."}],"resultDescription":"Returns a JSON object with a data object containing mode (e.g. 'markdown'), page title, and distilled content as clean markdown; plus an roi_proof object showing raw_tokens, distilled_tokens, tokens_saved, compression_ratio_pct, and roi_multiplier to quantify context savings.","failureModes":["Invalid or unreachable URL returns an error status","Paywalled or bot-blocked pages may return empty or partial content","Very large pages may exceed processing limits","Non-HTML content types (PDFs, binary files) may not distill cleanly","Payment failure via x402/USDC will block the request"],"whenToPreferThis":"Choose this endpoint when you need to fetch a public web page and deliver its content to an LLM with minimal token overhead — especially when context window cost or size is a concern. It is purpose-built for agent pipelines that need clean, structured markdown rather than raw HTML. Prefer it over generic scrapers when token compression metrics matter or when you want a single API call that handles both fetching and distillation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T18:38:11.734Z","isFirstParty":false,"canonicalSlug":"agentdiet-serp-extract-web-distillation-endpoint-03f3badf"}