{"uid":"cap_q3pZUSU6vS3RfHPMSIRwo","slug":"agentdiet-serp-extract-web-distillation-to-agent-ready-markdown-01ec7bec","name":"AgentDiet SERP Extract – Web Distillation to Agent-Ready Markdown","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://github-audit-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_RMKSTdeywCBJMp7C_4fCb","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 compressed, agent-ready markdown, returning token-efficient content with ROI compression metrics.","exampleAgentPrompt":"Pull the content from https://docs.example.com/api-reference and distill it into clean markdown so I can read it without wading through all the navigation and boilerplate — show me the compression ratio too.","exampleUseCases":[{"title":"Documentation ingestion for agent pipeline","prompt":"Fetch the content of https://stripe.com/docs/payments/accept-a-payment and distill it into clean markdown — I want the useful text only, no nav menus or footers, and tell me how many tokens were saved."},{"title":"Competitive research from live web pages","prompt":"Go to https://www.competitor.com/pricing and extract just the pricing information as clean markdown so I can compare it quickly without reading through their whole site."},{"title":"Search result page summarization","prompt":"I just searched for 'best practices for LLM prompt engineering' — can you pull the top search result URL and distill the page into concise markdown, showing me the compression ratio so I know how much was trimmed?"}],"resultDescription":"A JSON object containing the distilled page content as markdown (with title), a status field, and an roi_proof block showing raw_tokens, distilled_tokens, tokens_saved, compression_ratio_pct, and roi_multiplier — giving the agent both the content and a measurable proof of token efficiency.","failureModes":["URL is unreachable or returns a non-200 status — endpoint may return an error or empty content field","Paywalled or JavaScript-heavy pages may yield low-quality or empty markdown","Very short pages may show low compression ratios, diminishing the ROI value","Payment failure via x402/HTTP 402 if USDC balance is insufficient — request blocked before processing","Rate limiting if too many requests are made in rapid succession"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to ingest web page or SERP content in a token-efficient way — especially when LLM context window cost is a concern. It is preferred over raw HTML fetching or generic scrapers because it returns clean, structured markdown with built-in compression metrics, making it easier to slot directly into an agent's reasoning loop without preprocessing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:42:20.844Z","isFirstParty":false,"canonicalSlug":"agentdiet-serp-extract-web-distillation-to-agent-ready-markdown-01ec7bec"}