Cross-Platform

Spread History

Use spread history to chart how cross-venue dislocations change over time.

GET/api/v2/spreads/history

Get spread history

Returns historical spread data points for an event slug and outcome key over a time range.

Request
curl 'https://api.thepredictionmarkets.com/api/v2/spreads/history?event_slug=top-artist-on-spotify-us-in-2026&outcome_key=text:drake&range=1w' \
  -H 'X-API-Key: YOUR_TPM_API_KEY'
Response
{
  "event_slug": "top-artist-on-spotify-us-in-2026",
  "outcome_key": "text:drake",
  "range": "1w",
  "data": [
    { "timestamp": "2026-04-16T00:00:00", "spread_bps": 5200, "price_a": 0.12, "price_b": 0.64 },
    { "timestamp": "2026-04-17T00:00:00", "spread_bps": 6100, "price_a": 0.11, "price_b": 0.72 }
  ]
}

Query Parameters

NameTypeRequiredDefaultExampleDescription
event_slugstringYes-top-artist-on-spotify-us-in-2026Event slug.
outcome_keystringYes-text:drakeOutcome key from spread response.
range1d | 1w | 1m | allNo1w1wPreset history range.

Response Fields

FieldTypeExampleDescription
dataobject[]-Time-series points with timestamp, spread_bps, price_a, and price_b.
data.timestampstring-ISO timestamp for the data point.
data.spread_bpsnumber-Spread in basis points at that time.

Build with TPM

Get your API key

Start with Kalshi and Polymarket market data, then add unified spreads, signals, alerts, and watchlists as your workflow grows.