{"uid":"cap_QnECB3viSwcFpXvhPk_xI","slug":"agentdiet-serp-extract-web-content-distillation-endpoint-09280255","name":"AgentDiet SERP Extract – Web Content 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://prompt-guard-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_M67B8coMH_rGEFPi-aoAb","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 or web, distills its full HTML into clean agent-ready markdown, and returns token-compressed content with ROI metadata.","exampleAgentPrompt":"Fetch and distill this URL into clean markdown for me — https://docs.example.com/api/overview — I want the compressed agent-ready version with the token savings stats.","exampleUseCases":[{"title":"Distill documentation page for agent context","prompt":"Pull the content from https://stripe.com/docs/payments/quickstart and give me a clean markdown version — I want to minimize tokens when I pass it to my agent."},{"title":"Extract article content from search result","prompt":"I found this article in my search results at https://techcrunch.com/2024/05/ai-agents-future — can you distill it into clean readable markdown so I can process it without all the ads and navigation junk?"},{"title":"Compress a long web page to save on LLM costs","prompt":"This page https://en.wikipedia.org/wiki/Large_language_model is huge — distill it into compact agent-ready markdown and tell me how many tokens you saved compared to the raw version."}],"resultDescription":"Returns a JSON object with status 'ok', a data object containing the distillation mode ('markdown'), the page title, and the cleaned markdown content, plus an roi_proof block showing raw_tokens, distilled_tokens, tokens_saved, compression_ratio_pct, and roi_multiplier to quantify the efficiency gain.","failureModes":["URL is unreachable or returns a non-200 HTTP status — endpoint may return an error status","URL points to a binary file (PDF, image) that cannot be distilled into markdown","Page is behind authentication or a bot-detection wall — content cannot be fetched","Extremely short pages may produce near-zero compression ratios","Payment not received or invalid — HTTP 402 returned, call not processed"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to consume web page content efficiently and token cost is a concern — especially for long documentation pages, articles, or SERP results. It is distinctly useful over raw fetch/scrape tools because it returns pre-compressed, agent-optimized markdown with quantified token savings rather than raw HTML.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:30:22.634Z","isFirstParty":false,"canonicalSlug":"agentdiet-serp-extract-web-content-distillation-endpoint-09280255"}