Prediction Market data is currently in beta. It is actively being worked on and improved, but may be unreliable. Polymarket data is live, and Kalshi data will be added soon.Subscriptions require a Growth or Enterprise plan. Learn more.
Subscription example
Example Response
Usage Guidelines
- Event ID format varies by platform:
- Polymarket:
<eventSlug>:Polymarket:<exchangeAddress>:<networkId>(e.g.,67284:Polymarket:0xc5d563a36ae78145c45a50134d48a1215220f80a:137) - Kalshi:
<eventSlug>:Kalshi(e.g.,KXMVESPORTSMULTIGAMEEXTENDED-S2026350C4EF9BCE:Kalshi)
- Polymarket:
- Subscribe using
eventIdto receive live bar chart data for a prediction event - Bars are provided across multiple resolutions simultaneously:
min1,min5,min15,min30,hour1,hour4,hour12,day1, andweek1 - Updates stream whenever new trading activity occurs, recalculating affected bars
Troubleshooting Tips
Which resolution should I use for charting?
Which resolution should I use for charting?
Choose based on your timeframe:
min1 for tick-by-tick updates, min5 or min15 for short-term charts (1-hour view), hour1 or hour4 for medium-term (1-day to 1-week view), and day1 or week1 for long-term historical views. Request only the resolutions you need to reduce data volume.What does the timestamp (t) represent?
What does the timestamp (t) represent?
The
t field is the Unix timestamp marking the start of that bar’s time period. For example, a 5-minute bar with t: 1710345600 covers the period from that timestamp to 5 minutes later (1710345900). Bars are aligned to clean intervals (e.g., :00, :05, :10 for 5-minute bars).How do I interpret OHLC values for liquidity and open interest?
How do I interpret OHLC values for liquidity and open interest?
OHLC (Open, High, Low, Close) shows the range and direction of liquidity or open interest during that bar.
o is the value at the bar’s start, h is the maximum, l is the minimum, and c is the value at the bar’s end. This helps visualize how capital flow changed over time.What's the difference between volumeUsd and totalVolumeUsd?
What's the difference between volumeUsd and totalVolumeUsd?
volumeUsd is the trading volume that occurred during that specific bar period, while totalVolumeUsd is the cumulative all-time volume for the event up to that bar. Use volumeUsd for bar charts and totalVolumeUsd to show total market size.How often are bars updated?
How often are bars updated?
Bars update in real-time as trades occur. When a new trade happens, all affected bars (across all resolutions) are recalculated and pushed via the subscription. High-activity events may send updates multiple times per second during peak trading.
Do all resolutions always have data?
Do all resolutions always have data?
No. Bars only exist if there was activity during that time period. For events with sparse trading, you may receive null values for smaller resolutions (e.g.,
min1 or min5) while larger resolutions (e.g., hour1, day1) have data. Check for null before rendering.How do I handle bar updates for completed periods?
How do I handle bar updates for completed periods?
Bars are considered “complete” once their time period has passed. For example, a 1-minute bar starting at 12:00:00 is complete after 12:01:00. You can update your chart in real-time for the current incomplete bar and treat completed bars as final. Use
lastEventTimestamp to determine freshness.