Prediction markets API
Is each prediction venue open and trading right now?
Per venue: whether its exchange and its trading are active right now, and its published trading hours. Read it before placing an order or when trades stop arriving.
/api/external/prediction/prediction-venue-scheduleWhat it returns
One row per prediction venue: exchangeOpen, whether the venue reports its exchange as active, tradingOpen, whether it reports trading as active, and schedule, its published trading hours as free text. There is no calendar of future maintenance windows; a venue that is down shows only through its flags, while it is down. observed says how the status was obtained: true when it was read from the venue, false when it is a fixed declaration that does not follow a live outage. activeMarkets and lastIndexedAt are published only for an observed venue. asOf is when the whole answer was last indexed, and stale is true when that index is behind. No chain and no subject.
Chains
This endpoint is not tied to a chain: it takes no chain in its request.
Request
Send your key in the x-dex-data-key header. Replace each <placeholder> with a real value.
curl -H "x-dex-data-key: $DEXDATA_API_KEY" \ "https://api.dexdata.io/api/external/prediction/prediction-venue-schedule"
Response fields
A JSON response. Every field is always present; null means the value could not be established, never zero.
| Field | Type | Description |
|---|---|---|
venues | object[] | One row per venue. The set is open: a new venue appears as a new row. |
venues[].venue | string | The venue, lowercase, e.g. kalshi or polymarket. |
venues[].exchangeOpen | boolean | Whether the venue reports its exchange as active. |
venues[].tradingOpen | boolean | Whether the venue reports trading as active. |
venues[].schedule | string | null | The venue's trading hours as published, free text, e.g. "24/7 continuous matching". |
venues[].observed | boolean | null | True when the status was read from the venue; false when it is a fixed declaration that does not follow a live outage; null when unknown. |
venues[].activeMarkets | integer | null | Markets currently open on the venue. Null when the venue is not observed. |
venues[].lastIndexedAt | string | null | When the venue was last read, ISO 8601 UTC. Null when the venue is not observed. |
asOf | string | null | When the whole answer was last indexed, ISO 8601 UTC. |
stale | boolean | null | True when the index behind this answer is out of date; null when unknown. |
estimated | boolean | null | True when the answer is an estimate rather than a reading; null when unknown. |
Start building with DexData today
Sign in, create a key and make your first call in a minute. Free credits every month, and you only pay for calls that succeed.
Get a free API key