Skip to main content
List Polymarket, Kalshi and OKX prediction markets

Overview

This endpoint normalizes active binary event contracts across Polymarket, Kalshi, and OKX Event Contracts onto one schema: YES and NO prices from 0 to 1, implied probability from 0 to 100, top-of-book bid, ask, and spread, 24-hour and cumulative volume, liquidity, resolution date, and direct venue URL.

Normalization across venues

Each venue publishes different units and field shapes. Darvas normalizes every active contract before filtering and sorting.
  • Prices and implied probability. Kalshi cent quotes and OKX percentage quotes are scaled to match Polymarket’s 0 to 1 dollar price scale. implied_probability equals yes_price * 100 rounded to two decimal places. Contracts priced at 0 or 1 (settled or degenerate markets) are excluded.
  • Order book, liquidity and open interest. best_bid, best_ask, and spread (best_ask - best_bid) use the 0 to 1 scale and return null when top-of-book quotes are unavailable (including OKX Event Contracts). open_interest is populated where reported by the venue (Kalshi) and null otherwise. On OKX, volume_total mirrors volume_24h and liquidity is 0.
  • Venue availability. When venue=all, if one venue feed fails to answer, Darvas returns live contracts from the venues that succeeded. The endpoint answers 503 only when every requested venue feed is unavailable.
  • Related endpoints. Discover OKX event series with settlement rules plus active Polymarket and Kalshi category counts at /prediction-markets/series. Scan matched Polymarket and Kalshi contracts for cross-venue pricing spreads with /prediction-markets/arbitrage. Pair macro event odds with /macro/interest-rates, /macro/inflation, and federal agency releases at /news.

Examples

Authorizations

X-API-KEY
string
header
required

A Darvas data API key: dvk_ and 43 characters.

Query Parameters

venue
enum<string>
default:all

Venue filter: all, polymarket, kalshi, or okx (default all).

Available options:
all,
polymarket,
kalshi,
okx
Maximum string length: 16
query
string

Case-insensitive search keyword in market question or slug.

Maximum string length: 120
Pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
category
string

Optional event category filter such as Economics, Politics, or Crypto.

Maximum string length: 64
Pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
min_volume
number<double>

Minimum 24-hour trading volume USD.

Required range: 0 <= x <= 10000000000
sort
enum<string>

Sort order: volume_24h, volume_total, liquidity, or probability.

Available options:
volume_24h,
volume_total,
liquidity,
probability
Maximum string length: 20
limit
integer<int32>

Maximum rows returned (1 to 200; default 50).

Required range: 1 <= x <= 200

Response

List Polymarket, Kalshi and OKX prediction markets: one page.

The answer of GET /prediction-markets.

prediction_markets
object[]
required

Normalized prediction market contracts.

Maximum array length: 200