{"uid":"cap_yes7pwFUBbC68tP3hUWKa","slug":"api-seerium-xyz-53b0cc9e","name":"Seerium Ending-Soon Prediction Markets API","description":"Crypto and prediction market intelligence through x402.","url":"https://api.seerium.xyz/v1/prediction/ending-soon","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"],"type":"string"},"queryParams":{"type":"object","properties":{"hours":{"type":"number","maximum":168,"minimum":1,"description":"Optional resolving-soon window in hours. Defaults to 24."},"limit":{"type":"number","maximum":100,"minimum":1,"description":"Optional maximum ending-soon markets to return. Defaults to 25."},"source":{"enum":["polymarket","kalshi","gemini","all"],"type":"string","description":"Optional prediction market venue filter: polymarket, kalshi, gemini, or all. Defaults to all."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{"rows":[{"noAsk":0.58,"noBid":0.56,"active":true,"closed":false,"source":"kalshi","volume":193200,"yesAsk":0.44,"yesBid":0.42,"noPrice":0.57,"archived":false,"question":"Will Bitcoin be above $100,000 on May 31, 2026?","yesPrice":0.43,"eventSlug":"bitcoin-price-may-31-2026","lastPrice":0.43,"liquidity":12800,"marketUrl":"https://kalshi.com/markets/KXBTC-26MAY31-B100000","volume24h":28450,"endDateIso":"2026-05-31T20:00:00.000Z","eventTitle":"Bitcoin price on May 31, 2026","indicative":true,"marketSlug":"kxbtc-26may31-b100000","seriesSlug":"bitcoin","conditionId":"KXBTC-26MAY31-B100000","minTickSize":0.01,"marketTicker":"KXBTC-26MAY31-B100000","minOrderSize":1,"seriesTicker":"KXBTC","acceptingOrders":true,"minutesUntilEnd":240,"sourceUpdatedAt":"2026-05-31T15:56:00.000Z"}],"criteria":{"hours":24,"limit":25,"source":"all"},"returned":1,"warnings":[],"timestamp":1760000000000,"sourceCounts":{"gemini":3,"kalshi":4,"polymarket":5},"sourceUpdatedAt":{"gemini":"2026-05-31T15:54:30.000Z","kalshi":"2026-05-31T15:56:00.000Z","polymarket":"2026-05-31T15:55:00.000Z"},"totalCandidates":12},"meta":{"requestId":"req_example_123","updatedAt":"2026-03-25T11:59:30.000Z","freshnessMs":30000,"generatedAt":"2026-03-25T12:00:00.000Z"},"product":{"id":"prediction-ending-soon","name":"Ending Soon Prediction Markets API","path":"/v1/prediction/ending-soon","price":"$0.1000","method":"GET","accepts":[{"payTo":"0x81832eEDe3a4ad96CB3D7cA09977636D912fd3D5","price":"$0.1000","scheme":"exact","network":"eip155:8453"},{"payTo":"2h752kAbb9z1jpdSzqMEYg9JHv6TPJ6T2BfAJMyjLFtZ","price":"$0.1000","scheme":"exact","network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"}],"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"]},"service":"seerium-x402-api"}},"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"hours":24,"limit":30,"source":"all"}}},"response":{"_truncated":true,"_originalSize":22960}},"exampleRequest":{"hours":24,"limit":30,"source":"all"},"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZhUCyS30zSe1JCmO5Bkb3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns active prediction markets from Polymarket, Kalshi, and Gemini that are resolving soon, with close times, bid/ask prices, volume, liquidity, and direct market links.","exampleAgentPrompt":"Show me the top 30 prediction markets across Polymarket, Kalshi, and Gemini that are resolving within the next 12 hours — include the bid/ask prices, volume, and links.","exampleUseCases":null,"resultDescription":"A list of active prediction markets resolving within the specified time window, each including market name, close time, bid price, ask price, volume, liquidity, venue (Polymarket/Kalshi/Gemini), and a direct market link.","failureModes":["Invalid 'hours' value outside 1–168 range returns validation error","Invalid 'source' enum value returns bad request","'limit' outside 1–100 range returns validation error","No markets found for the given filter returns empty list","Upstream venue data unavailable returns partial or error response","Payment not included or insufficient USDC triggers 402 response"],"whenToPreferThis":"Use this endpoint when you need a real-time snapshot of prediction markets about to expire across Polymarket, Kalshi, and/or Gemini, especially when you want to act on near-term opportunities or monitor resolution windows. Prefer this over general market search endpoints when time-to-resolution is the primary filter criterion.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:39:52.644Z","isFirstParty":false}