Skip to main content

List Markets

The pair list a client builds its trading screen from: which markets are tradable, how to format the numbers on each, and what a fill costs.

GET/api/marketsAuth: Required

Query Parameters

pagenumber

Page number. Default 1.

per_pagenumber

Items per page. Default 20, maximum 1000.

Response

A paginated envelope; the markets are in items.

total_countnumberRequired

Total number of markets across all pages.

itemsarrayRequired

The markets.

More attributes
bid is the quote asset, ask is the base asset

This is the opposite of what the names suggest to most readers, and it is easy to get backwards because bid and base start with the same letter.

On xrpusdt:

FieldValueWhich side
ask_asset_idxrpbase — what is traded
bid_asset_idusdtquote — what it is priced in

The precision fields use the other naming, so pair them carefully: base_precision applies to the asset in ask_asset_id, and quote_precision applies to the asset in bid_asset_id.

Reading these two fields the wrong way round inverts every pair on a trading screen, so it is worth asserting once in your integration tests.

Minimum order size is not in this response

A market's minimum order size is enforced when an order is placed rather than published here, so handle that refusal in your order flow. See Trading.