events

Get Event History

Per-market probability + 24h-volume history for an event, downsampled to a chosen range. Powers the detail-page charts. A Kalshi market ticker passed in place of the event id (for example KXU3MAX-30-10 for event KXU3MAX-30) answers 307 to its event's history with market_id set.

get/api/v1/events/{source}/{event_id}/history

Request

  • Base URL: https://api.pdata.world
  • URL: https://api.pdata.world/api/v1/events/{source}/{event_id}/history
  • Auth: none declared

Path parameters

sourcestring required

Platform id, e.g. kalshi.

event_idstring required

Event id native to the source. A market ticker that extends its event id redirects to that event.

Query parameters

range'24h' | '7d' | '30d' | 'all'
market_idstring nullable

Narrow/union one market into the set.

limitinteger

Top-K markets in detail order.

Response

Successful Response

sourcestring required

Venue the event comes from.

event_idstring required

The venue's own event id; unique within source.

range'24h' | '7d' | '30d' | 'all' required

The window covered: the last 24h, 7d or 30d, or all (back to pdata's first snapshot of the market; history starts May 2026).

bucket_secondsinteger required

Nominal width of one point's time bucket, in seconds: 1800 for 24h, 7200 for 7d, 28800 for 30d, 86400 for all. Long series are thinned to at most 120 points.

Changes

No recorded changes to this operation across all 1 revision of this API.