{"uid":"cap_OUgxLFT1jW441X5yU1yO-","slug":"agentdiet-election-odds-api-53d0c3ed","name":"AgentDiet Election Odds API","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://mcp-gateway.agentdiet.dev settling in USDC on Base.","url":"https://mcp-gateway.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_wuX2MZ32wQEpKXwysQdgV","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 election odds and prediction market probabilities for political topics via a pay-per-call x402 gateway.","exampleAgentPrompt":"What are the current prediction market odds for the US presidential election — can you pull the latest election probabilities right now?","exampleUseCases":[{"title":"Track presidential race odds","prompt":"What are the latest prediction market odds for the US presidential election? I want to see which candidate is currently favored to win."},{"title":"Monitor Senate election probabilities","prompt":"Pull the current election odds for Senate races — I want to know which contested seats are leaning which way according to prediction markets."},{"title":"Research election forecasting data","prompt":"Can you fetch the latest election odds data on the topic of the 2024 US general election so I can compare it against polling averages?"}],"resultDescription":"Returns a JSON object with a 'data' field containing election odds or prediction market probabilities, a 'status' field indicating success, and an 'roi_proof' object with a compression_ratio_pct metric. Actual odds data structure is nested under 'data' and depends on the topic queried.","failureModes":["Payment not settled in USDC on Base — returns HTTP 402 requiring payment","Invalid or unsupported topic query — may return empty data object","Missing required 'input' field in request body — returns 400 validation error","Downstream prediction market data unavailable — may return empty or stale data","Rate limiting or gateway overload — may return 5xx error"],"whenToPreferThis":"Choose this endpoint when you need election odds or prediction market data in a pay-per-use model without a subscription, paid via USDC on Base via the x402 protocol. Suitable for agents that need on-demand political probability data without a long-term API commitment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:41:10.295Z","isFirstParty":false,"canonicalSlug":"agentdiet-election-odds-api-53d0c3ed"}