{"uid":"cap_iD_EtorV1MnwbywrsYUMi","slug":"agentdiet-realtime-search-c0bb7631","name":"AgentDiet Realtime 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/realtime-search?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_yK-fzEJRbMqTRbS03ySWj","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 real-time web search and returns a compressed, token-efficient summary of results optimized for AI agent context windows","exampleAgentPrompt":"Search the web right now for the latest news on OpenAI's new model releases and give me a compressed summary — I need it token-efficient so it fits in my context window.","exampleUseCases":[{"title":"Real-time market news retrieval","prompt":"Search the web for the latest headlines about Bitcoin price movements today and give me a distilled summary that won't eat up my context."},{"title":"Competitive research for agent pipeline","prompt":"Look up what competitors like Anthropic and Google DeepMind have announced in the last week and return a compressed digest I can feed into my analysis workflow."},{"title":"Fact-checking a current claim","prompt":"Do a live search to verify whether the EU AI Act has officially passed into law yet, and give me a concise, token-light answer."}],"resultDescription":"Returns a JSON object with a 'data' field containing the search results, a 'status' field ('ok' on success), and an 'roi_proof' object showing the compression_ratio_pct (e.g. 91.4%), confirming how much token bloat was removed relative to raw web content.","failureModes":["Missing required 'query' param returns empty or error response","Invalid 'type' value (must be 'http') causes schema validation failure","Payment not settled in USDC on Base results in 402 Payment Required","Downstream web search unavailable causes non-ok status","Malformed queryParams object results in bad request"],"whenToPreferThis":"Choose this endpoint when an AI agent needs real-time web search results but must stay within tight context window budgets — the built-in compression (up to 91%+ token reduction) makes it far more suitable than raw search APIs. Prefer it over generic search APIs when token efficiency is a priority, when operating in an A2A or MCP pipeline, or when micropayment-based (x402/USDC) billing is already part of the agent's payment flow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:56.015Z","isFirstParty":false,"canonicalSlug":"agentdiet-realtime-search-c0bb7631"}