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.At least for the time being, this endpoint requires a Growth or Enterprise plan. Learn more.
Kalshi does not provide trader data. These endpoints only work with Polymarket data. Kalshi’s API does not expose individual trader information due to privacy considerations on their regulated exchange.
Example Query
Example Response (truncated)
Usage Guidelines
Bar data provides time-series aggregates for individual trader activity. Each bar represents a time period and tracks trading behavior, volume, profit/loss, and market participation for a specific trader. Key characteristics:- Trader ID format: The
traderIdformat is<address>:<protocol>(e.g.,0x742d35cc6634c0532925a3b844bc9e7595f0beb6:Polymarket) - Trading activity metrics: Count trades, buys, sells, and unique markets traded
- Volume tracking: Monitor trading volume in both USD and collateral tokens (CT)
- Performance analysis: Track realized PnL (profit and loss) and cumulative performance
- Win/loss tracking: Count profitable vs unprofitable positions resolved during the period
- Time-series format: Each bar has a timestamp (
t) representing the period start - Coarser resolutions: Available in hourly, 4-hour, daily, and weekly intervals (no minute-level data)
Troubleshooting Tips
Why are minute-level resolutions not available?
Why are minute-level resolutions not available?
Trader bars are designed for analyzing trading patterns over longer periods. Minute-level granularity would produce sparse data for most traders and isn’t useful for typical trader analysis. Use hourly or daily resolutions for meaningful insights.
What's the difference between realizedPnlUsd and cumulativeRealizedPnlUsd?
What's the difference between realizedPnlUsd and cumulativeRealizedPnlUsd?
realizedPnlUsd: Profit/loss from positions that were opened AND closed during this specific bar periodcumulativeRealizedPnlUsd: Total all-time realized PnL as of the end of this bar
How are wins and losses calculated?
How are wins and losses calculated?
Wins and losses count the number of positions that were resolved (closed) during the bar period:
wins: Positions closed at a profitlosses: Positions closed at a loss
Why might volumeUsd and volumeCT have different values?
Why might volumeUsd and volumeCT have different values?
While often similar (especially for USDC-based markets), these can differ due to:
- Exchange rate fluctuations if the collateral token isn’t a stablecoin
- Timing differences in data collection
- Different calculation methodologies at the venue level
What does uniqueMarkets count?
What does uniqueMarkets count?
This counts the number of distinct prediction markets the trader participated in during the bar period. A high value indicates diversification, while a low value suggests focused trading on specific events.
Why are some bars showing zero wins and losses despite having trades?
Why are some bars showing zero wins and losses despite having trades?
Wins and losses only count when positions are fully closed and resolved. If a trader only opened new positions or partially closed existing ones during the bar period, trades will be non-zero but wins/losses will be zero.
How should I calculate a trader's win rate?
How should I calculate a trader's win rate?
Win rate =
wins / (wins + losses). Only calculate this when (wins + losses) > 0 to avoid division by zero. Note that win rate doesn’t account for position sizing - a trader could have a high win rate but negative PnL if their losses are larger than their wins.