GET
/
markets
curl --request GET \
  --url https://gamma-api.polymarket.com/markets
[
  {
    "id": 123,
    "slug": "<string>",
    "archived": true,
    "active": true,
    "closed": true,
    "liquidity": 123,
    "volume": 123,
    "start_date": "2023-11-07T05:31:56Z",
    "end_date": "2023-11-07T05:31:56Z"
  }
]

Markets

Get markets.

Note: Markets can be traded via the CLOB if enableOrderBook is true.

Query Parameters

limit
integer

Limit query results

offset
integer

Pagination offset

order
string

Key to sort by

ascending
boolean

Sort direction, defaults to true, requires the order parameter

id
integer

ID of a single market to query, can be used multiple times to fetch multiple markets

slug
string

Slug of a single event to query, can be used multiple times to fetch multiple markets

archived
boolean

Filter by archived status

active
boolean

Filter by active status

closed
boolean

Filter by closed status

clob_token_ids
string

Filter by clob token ID, can be used multiple times

condition_ids
string

Filter by condition ID, can be used multiple times

liquidity_num_min
number

Filter by minimum liquidity

liquidity_num_max
number

Filter by maximum liquidity

volume_num_min
number

Filter by minimum volume

volume_num_max
number

Filter by maximum volume

start_date_min
string

Filter by minimum start date

start_date_max
string

Filter by maximum start date

end_date_min
string

Filter by minimum end date

end_date_max
string

Filter by maximum end date

tag_id
integer

Filter by tag ID

Include events with related tags, requires the tag_id parameter

Response

200
application/json

A list of markets

The response is of type object[].