Get prediction market history
get_prediction_historyTime series for a prediction market the desk polls (top ~100 by 24h volume on Polymarket + Kalshi, snapshots every ~15 min): YES price and 24h volume points, with the close date normalized to ISO. History begins at the poll origin (Sept 11, 2026, 3:41pm ET) - nothing before that exists in this series; series_origin_ts is the poller's first capture, not the market open. The coverage block reports the real span, expected samples computed from the observed median cadence (not the nominal 900s), delivered samples, and gap_count with its threshold stated (gaps = intervals > 1.5x median cadence) plus the largest gaps - expected, delivered, and gaps reconcile to one consistent story. get_prediction_markets flags each Kalshi market tracked_15m so you can see coverage before calling. Built for resolution-date theses and term-structure backtests. Args: market (Polymarket numeric id or Kalshi ticker, e.g. KXFED-26SEP-T4.50), optional venue (polymarket|kalshi), optional start/end (YYYY-MM-DD). Free public data, no key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Optional end date YYYY-MM-DD | |
| start | No | Optional start date YYYY-MM-DD | |
| venue | No | Optional venue hint | |
| market | Yes | Polymarket market id or Kalshi ticker |