{"uid":"cap_8m3aBy5MAVDfWzyMX29bz","slug":"agentdiet-election-odds-lookup-e769ab96","name":"AgentDiet Election Odds Lookup","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/election-odds?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_wJqtROOWLXh4rSYVRlK8K","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":"Retrieves current election odds data, optionally filtered by topic, via a pay-per-call x402 micropayment endpoint.","exampleAgentPrompt":"Can you pull the current election odds from AgentDiet — specifically anything on the US presidential race?","exampleUseCases":[{"title":"Monitoring presidential race odds","prompt":"What are the latest election odds for the US presidential race? Pull the current numbers for me."},{"title":"Political analyst odds briefing","prompt":"Get me the current election odds data, I need to see where the prediction markets stand on the upcoming Senate elections."},{"title":"Campaign strategy odds check","prompt":"Can you fetch today's election odds from AgentDiet for the topic of midterm elections so I can see what the market is pricing in?"}],"resultDescription":"A JSON object containing election odds data in a 'data' field, a 'status' field (e.g. 'ok'), and a 'roi_proof' object showing a compression_ratio_pct (e.g. 91.4), confirming the context distillation applied.","failureModes":["Payment failure: x402 payment in USDC on Base not completed or rejected","Invalid topic parameter: unrecognized or malformed topic query string","No data available: odds data not yet populated for requested topic","Network timeout: upstream odds source unavailable","HTTP 402: payment required if USDC micropayment not attached"],"whenToPreferThis":"Use this endpoint when you need election odds or political prediction market data on a pay-per-call basis without a subscription, especially when operating in an autonomous agent pipeline that supports x402 micropayments settled in USDC on Base. It is distinct from general news APIs or polling aggregators in that it returns compressed, distillation-processed data suitable for narrow context windows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:14.925Z","isFirstParty":false,"canonicalSlug":"agentdiet-election-odds-lookup-e769ab96"}