{"uid":"cap_tYcIN5qX8cquiXxgKlVNW","slug":"lukka-prediction-markets-open-interest-api-1e2c3b64","name":"Lukka Prediction Markets Open Interest API","description":"Time-series of prediction-market open interest by exchange (USD).","url":"https://api.predictionmarketdata.io/open-interest","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","required":["from","to","interval"],"properties":{"to":{"type":"string","description":"UTC end timestamp in ISO-8601 format."},"from":{"type":"string","description":"UTC start timestamp in ISO-8601 format."},"interval":{"type":"string","description":"Bucket size in milliseconds."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":[{"time":"2026-06-07T00:00:00Z","sourceId":4137,"entityCode":"POLYMARK","entityName":"Polymarket","openInterestUsd":"297477595.47"}],"count":48,"dataType":"prediction-open-interest-summary"}},"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"to":"2026-06-07T00:00:00Z","from":"2026-05-31T00:00:00Z","interval":"86400000"}}},"response":{"data":[{"time":"2026-05-31T00:00:00Z","sourceId":4137,"entityCode":"POLYMARK","entityName":"Polymarket","openInterestUsd":"304614269.5513886"},{"time":"2026-06-01T00:00:00Z","sourceId":4137,"entityCode":"POLYMARK","entityName":"Polymarket","openInterestUsd":"242259986.80077267"},{"time":"2026-06-02T00:00:00Z","sourceId":4137,"entityCode":"POLYMARK","entityName":"Polymarket","openInterestUsd":"236993507.46824074"},{"time":"2026-06-03T00:00:00Z","sourceId":4137,"entityCode":"POLYMARK","entityName":"Polymarket","openInterestUsd":"252438860.81328094"},{"time":"2026-06-04T00:00:00Z","sourceId":4137,"entityCode":"POLYMARK","entityName":"Polymarket","openInterestUsd":"306267505.30597925"},{"time":"2026-06-05T00:00:00Z","sourceId":4137,"entityCode":"POLYMARK","entityName":"Polymarket","openInterestUsd":"299945766.3940836"},{"time":"2026-06-06T00:00:00Z","sourceId":4137,"entityCode":"POLYMARK","entityName":"Polymarket","openInterestUsd":"297536855.05545914"},{"time":"2026-05-31T00:00:00Z","sourceId":4141,"entityCode":"KALSHI","entityName":"Kalshi","openInterestUsd":"676021342.0"},{"time":"2026-06-01T00:00:00Z","sourceId":4141,"entityCode":"KALSHI","entityName":"Kalshi","openInterestUsd":"582686226.0"},{"time":"2026-06-02T00:00:00Z","sourceId":4141,"entityCode":"KALSHI","entityName":"Kalshi","openInterestUsd":"702450989.0"},{"time":"2026-06-03T00:00:00Z","sourceId":4141,"entityCode":"KALSHI","entityName":"Kalshi","openInterestUsd":"659814902.0"},{"time":"2026-06-04T00:00:00Z","sourceId":4141,"entityCode":"KALSHI","entityName":"Kalshi","openInterestUsd":"734506826.0"},{"time":"2026-06-05T00:00:00Z","sourceId":4141,"entityCode":"KALSHI","entityName":"Kalshi","openInterestUsd":"753727402.0"},{"time":"2026-06-06T00:00:00Z","sourceId":4141,"entityCode":"KALSHI","entityName":"Kalshi","openInterestUsd":"720078346.0"}],"count":14,"dataType":"prediction-open-interest-summary"}},"exampleRequest":{"to":"2026-06-07T00:00:00Z","from":"2026-05-31T00:00:00Z","interval":"86400000"},"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.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gPg9Yuio5aAp2682PVIRz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns time-bucketed open interest (USD) data for prediction market exchanges like Polymarket, aggregated by source and time interval.","exampleAgentPrompt":"Can you pull Polymarket open interest data from Lukka for the past 7 days, bucketed into daily intervals (86400000ms), starting from 2026-05-31T00:00:00Z to 2026-06-07T00:00:00Z?","exampleUseCases":null,"resultDescription":"A JSON array of time-bucketed open interest records, each containing a timestamp, source exchange name and code, source ID, and total open interest in USD — plus a total record count and data type label.","failureModes":["Missing required query parameters (from, to, interval) returns a 400 error","Invalid ISO-8601 timestamp format causes a parse error","Interval value not in milliseconds or malformed causes unexpected bucketing","Date range too large may result in timeout or truncated response","Payment not included or insufficient USDC results in 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need time-series open interest data specifically for prediction market exchanges (e.g. Polymarket), especially when you want to analyze trends, compare platforms, or monitor capital deployed in prediction markets over a defined time range.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:41:54.692Z","isFirstParty":false}