---
search:
  tags:
    - Markets
    - GET
seo:
  description: >-
    Returns a page of markets. Choose the initial page with limit, sort, and
    order; when… Reference for the GET /markets endpoint in the REST API API.
sidebar:
  badge: GET
  label: List Markets
title: List Markets
type: openapi-operation
---
Returns a page of markets. Choose the initial page with limit, sort, and order; when next_page_url is non-null, follow that relative URL unchanged for the next page.

### Endpoint

- Method and path: `GET /markets`
- Operation ID: `listMarkets`
- API reference: [GET /markets](/api-reference/markets/listmarkets)

#### Authorization

- Credential: none
- Details: [Authentication](/authentication)

#### Parameters

- `UDX-Version` (`header`) — Dated API version (YYYY-MM-DD). Omit to use the oldest supported version. An unknown version returns `400`.
- `limit` (`query`) — Maximum number of items to return in one page. Defaults to 10 when omitted; must be an integer from 1 to 100. A value outside that range is rejected with 400 rather than silently clamped. A returned next_page_url preserves the effective value.
- `page` (`query`) — Opaque token identifying the requested page. Clients should not construct or extract this value; follow next_page_url from the previous response unchanged instead.
- `sort` (`query`) — Field to sort markets by. Defaults to event_date. The ticker is always appended as a tie-breaker, so the order is fully deterministic.
- `order` (`query`) — Sort direction. Defaults to desc. Applies to the default sort field when sort is omitted. Nulls sort last in both directions.

#### Responses

- `200` — A page of markets.
- `400` — The request doesn't conform to this spec.
- `429` — The public request rate was exceeded. Wait for `Retry-After`.
- `500` — Something went wrong on UDX's side.
- `503` — Request admission is unavailable. Retry later.
