{"uid":"cap_mv8FZu7eU6KhtAZWfBfz4","slug":"agentdiet-serp-extract-web-distillation-endpoint-3b4cca40","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://onchain-risk-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_ZP36td7D1AHBKuNMmn7o5","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 from search engine results pages or the open web and distills it into clean, token-efficient markdown for AI agents, reporting compression ratio and tokens saved.","exampleAgentPrompt":"Pull the content from https://docs.example.com/api-reference and distill it into clean markdown so I can read it without wasting context — show me how many tokens it saves.","exampleUseCases":[{"title":"Research page summarization for agent","prompt":"Go to https://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK=TSLA and distill the page into clean markdown so I can understand what filings are available without blowing my context budget."},{"title":"Competitor documentation ingestion","prompt":"Fetch https://stripe.com/docs/payments/quickstart and convert it into token-efficient markdown — I want to know how many raw tokens it would have cost versus the distilled version."},{"title":"Live SERP result content extraction","prompt":"Take this search result URL https://en.wikipedia.org/wiki/Large_language_model and extract the readable content as compressed markdown, and tell me the compression ratio you achieved."}],"resultDescription":"Returns a JSON object with the distilled page content as clean markdown (including the page title), plus an ROI proof block showing raw token count, distilled token count, tokens saved, compression ratio percentage, and an ROI multiplier — all ready for downstream agent consumption.","failureModes":["URL is unreachable or returns a non-200 HTTP status — endpoint may return an error status","Page is JavaScript-heavy and content cannot be rendered server-side — may return empty or minimal content","URL is a binary file (PDF, image) rather than HTML — may fail or return degraded output","Payment not received via x402/HTTP 402 — request blocked before processing","Rate limiting or quota exceeded — returns error response"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to read the content of a specific URL but wants to minimize token consumption — especially when the raw HTML or full page would be prohibitively large for the context window. It is ideal for pipelines that chain web lookup with LLM reasoning and need to prove compression ROI. Prefer it over generic scrapers when you need structured markdown output with token-savings metadata.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T06:43:26.859Z","isFirstParty":false,"canonicalSlug":"agentdiet-serp-extract-web-distillation-endpoint-3b4cca40"}