{"uid":"cap_CxEWtBHhD3Lq7_mS57TYr","slug":"agentdiet-serp-extract-web-search-results-distillation-03650a76","name":"AgentDiet SERP Extract – Web Search Results Distillation","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://llms-generator.agentdiet.dev/v1/serp-extract?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","POST"],"type":"string"},"queryParams":{"type":"object","properties":{"query":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{},"status":"ok","roi_proof":{"compression_ratio_pct":91.4}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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"},{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jurrFbyaxilxl3CveSN9U","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null},{"uid":"pm_hp3xx7tEgjPx1T6gxU5dL","protocol":"mpp","methodType":"crypto","chain":"tempo","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 and distills web search engine results pages (SERP) into compressed, agent-ready structured data via a GET request with a query parameter","exampleAgentPrompt":"Search the web for 'best open-source LLMs in 2025' and give me a distilled summary of the top results — I need clean, compressed data I can reason over.","exampleUseCases":[{"title":"Competitive research via SERP distillation","prompt":"Search the web for 'top CRM software for startups 2025' and extract the key results into a clean, compressed format I can analyze."},{"title":"Market trend monitoring from search","prompt":"Pull the latest search results for 'AI regulation news June 2025' and give me a distilled breakdown of what's showing up on the SERP."},{"title":"Product launch keyword intelligence","prompt":"I want to see what comes up when you search 'protein powder for athletes' — extract and compress the SERP results so I can understand the competitive landscape."}],"resultDescription":"Returns a JSON object with a 'data' field containing distilled SERP content, a 'status' field ('ok'), and an 'roi_proof' object showing the compression_ratio_pct (e.g. 91.4%), indicating how much raw web content was reduced for agent consumption.","failureModes":["Missing or empty 'query' parameter returns empty or error data","Invalid HTTP method (not GET or POST) results in rejection","Network or upstream SERP provider timeout causes delayed or failed response","Payment (x402 USDC) not included or insufficient causes HTTP 402 rejection","Malformed input object missing required 'type' or 'method' fields returns validation error"],"whenToPreferThis":"Choose this endpoint when you need to retrieve and immediately distill web search results into compressed, agent-consumable structured data in a single call, especially in autonomous agent pipelines where token efficiency matters. The built-in compression (91%+ ratio) makes it superior to raw SERP scrapers when downstream LLM context is limited. Prefer it over general web scrapers when the task is keyword/query-driven search rather than scraping a known URL.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:38:38.181Z","isFirstParty":false,"canonicalSlug":"agentdiet-serp-extract-web-search-results-distillation-03650a76"}