Install
Setup
Example: Fetch Spot Volume for Kalshi and Polymarket
Response Format
Each platform returns an array of{date, val} objects:
Fetching Multiple Metrics
Available Prediction Market Symbols
| Symbol | Platform |
|---|---|
kalshi | Kalshi |
polymarket | Polymarket |
opinion | Opinion |
drift | Drift |
Available Metrics
| Metric | Description |
|---|---|
spot_volume | Daily trading volume |
open_interest | Open interest |
spot_txns | Transaction count |
spot_dau | Daily active users |
fees | Protocol fees |
tvl | Total value locked |

