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.

GET/api/external/prediction/prediction-venue-schedule

What 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.

Response fields of Is each prediction venue open and trading right now?
FieldTypeDescription
venuesobject[]One row per venue. The set is open: a new venue appears as a new row.
venues[].venuestringThe venue, lowercase, e.g. kalshi or polymarket.
venues[].exchangeOpenbooleanWhether the venue reports its exchange as active.
venues[].tradingOpenbooleanWhether the venue reports trading as active.
venues[].schedulestring | nullThe venue's trading hours as published, free text, e.g. "24/7 continuous matching".
venues[].observedboolean | nullTrue 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[].activeMarketsinteger | nullMarkets currently open on the venue. Null when the venue is not observed.
venues[].lastIndexedAtstring | nullWhen the venue was last read, ISO 8601 UTC. Null when the venue is not observed.
asOfstring | nullWhen the whole answer was last indexed, ISO 8601 UTC.
staleboolean | nullTrue when the index behind this answer is out of date; null when unknown.
estimatedboolean | nullTrue 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