{"uid":"cap_lP9_Bgj7p5jayUS69pjMb","slug":"agentdiet-prediction-oracle-165ac592","name":"AgentDiet Prediction Oracle","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/prediction-oracle?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":{"topic":{"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_zZeTFi_9k_2WVeeCRUIfk","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":"Returns a topic-aware prediction or oracle response with compression ratio proof, billed per call in USDC on Base via x402","exampleAgentPrompt":"Query the AgentDiet prediction oracle on the topic of 'Ethereum ETF approval odds in 2025' and show me the prediction result along with the compression ratio proof.","exampleUseCases":[{"title":"Agent workflow topic forecasting","prompt":"Ask the AgentDiet prediction oracle about 'Base blockchain adoption trends in Q3 2025' and return the prediction data and compression efficiency stats."},{"title":"Micropayment-gated oracle lookup","prompt":"I need a quick oracle prediction on 'DeFi TVL recovery after market correction' — use the AgentDiet prediction oracle and pay the $0.01 USDC fee automatically."},{"title":"ROI proof for compressed AI output","prompt":"Run a prediction query on 'AI agent infrastructure consolidation' through AgentDiet and tell me the compression ratio it achieved versus the raw context."}],"resultDescription":"A JSON object with a 'data' field containing the prediction result, a 'status' field ('ok'), and a 'roi_proof' object including 'compression_ratio_pct' (e.g. 91.4%) showing how much token context was compressed to deliver the answer.","failureModes":["Payment not received or insufficient USDC balance — endpoint returns 402 Payment Required","Missing required 'input' field or invalid 'type'/'method' values — returns 400 Bad Request","Topic query param absent — oracle may return a generic or empty prediction","Network or Base settlement delay — payment confirmation timeout","Rate limiting or node unavailability — 503 or timeout response"],"whenToPreferThis":"Choose this endpoint when you need a micropayment-gated, deterministic oracle prediction on a named topic with built-in compression ratio proof, especially in A2A or agent-to-agent workflows that settle in USDC on Base via x402. It is particularly suited for cost-sensitive agent pipelines where token budget efficiency matters and you want verifiable ROI on context compression.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:41:49.828Z","isFirstParty":false,"canonicalSlug":"agentdiet-prediction-oracle-165ac592"}