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.
/api/marketsAuth: Requiredbid is the quote asset, ask is the base assetThis 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:
| Field | Value | Which side |
|---|---|---|
ask_asset_id | xrp | base — what is traded |
bid_asset_id | usdt | quote — 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.
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.