Skip to main content
GET
/
v1
/
markets
/
fetch_markets
Fetch markets
curl --request GET \
  --url https://github.com/openpx-trade/openpx/v1/markets/fetch_markets
{
  "markets": [
    {
      "exchange": "<string>",
      "openpx_id": "<string>",
      "ticker": "<string>",
      "title": "<string>",
      "volume": 123,
      "best_ask": 123,
      "best_bid": 123,
      "close_time": "2023-11-07T05:31:56Z",
      "condition_id": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "event_ticker": "<string>",
      "last_trade_price": 123,
      "min_order_size": 123,
      "neg_risk": true,
      "neg_risk_market_id": "<string>",
      "numeric_id": "<string>",
      "open_time": "2023-11-07T05:31:56Z",
      "outcomes": [],
      "result": "<string>",
      "rules": "<string>",
      "settlement_time": "2023-11-07T05:31:56Z",
      "tick_size": 123,
      "volume_24h": 123
    }
  ],
  "cursor": "<string>"
}
List markets, optionally filtered by status, ticker, event, or series.

Query Parameters

cursor
string | null

Opaque cursor returned by a prior page (e.g. "eyJvIjoxMDB9").

event_ticker
string | null

Fetch all markets in this event — Kalshi event ticker or Polymarket event slug (e.g. "KXBTC-25MAR14").

limit
integer<uint> | null

Page size; clamped to per-exchange caps (Kalshi 1000, Polymarket 500) (e.g. 100).

Required range: x >= 0
market_tickers
string[]

Fetch only these market tickers — Kalshi tickers or Polymarket slugs (e.g. ["KXBTCD-25APR1517"]).

series_ticker
string | null

Fetch only markets in this Kalshi series ticker (e.g. "KXBTC"); ignored on Polymarket today.

status
enum<string> | null

Status filter; defaults to active (options: active, closed, resolved, all). Market status filter for fetch_markets. Options: active, closed, resolved, all.

Available options:
active,
closed,
resolved,
all

Response

Success.

One page of Market results. cursor is null on the last page; otherwise pass it back in the next request to continue.

markets
object[]
required
cursor
string | null