{"uid":"cap_kn70gkDLcUWGFRjbou8EB","slug":"agentdiet-google-serp-search-97687ca7","name":"AgentDiet Google SERP Search","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://rag-diet.agentdiet.dev settling in USDC on Base.","url":"https://rag-diet.agentdiet.dev/v1/google-serp?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"}]},"paymentMethods":[{"uid":"pm_MR-KqEQUpWOfkrKZ1w5UC","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":"Performs a Google search query and returns compressed, token-efficient SERP results via a pay-per-call micropayment API","exampleAgentPrompt":"Search Google for 'best open-source LLM frameworks 2025' and give me the compressed results — I want token-efficient SERP output so we don't blow up my context window.","exampleUseCases":[{"title":"Real-time fact lookup for agent","prompt":"Look up 'current Bitcoin price USD' on Google and give me the top results — keep it compact so we don't waste tokens."},{"title":"Competitive research via web search","prompt":"Search Google for 'top AI coding assistants 2025 comparison' and return the distilled search results so I can see what's out there."},{"title":"News monitoring for a topic","prompt":"Can you search Google for 'OpenAI GPT-5 release date' and bring back the key results in a compressed format?"}],"resultDescription":"Returns a JSON object with a 'data' field containing compressed Google SERP results, a 'status' field ('ok' on success), and a 'roi_proof' object showing the compression_ratio_pct (e.g. 91.4%), confirming how much token reduction was achieved relative to raw results.","failureModes":["Missing or empty 'query' parameter returns an error or empty data","Payment failure via x402/USDC results in 402 Payment Required response","Invalid 'type' or 'method' values in input schema trigger validation errors","Google SERP unavailability or rate limiting may result in empty or partial data","Malformed request body causes schema validation rejection"],"whenToPreferThis":"Choose this endpoint when your AI agent needs to perform Google searches but must stay within tight context window budgets — the built-in compression (up to 91%+ token reduction) makes it far more efficient than raw SERP APIs. Ideal for agents that issue many search calls per session and pay per call via x402/USDC micropayments on Base, avoiding subscription overhead. Prefer over raw scraping or full-response SERP APIs when token cost is a primary constraint.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:42:32.909Z","isFirstParty":false,"canonicalSlug":"agentdiet-google-serp-search-97687ca7"}