L
L
Loopring Dev Docs
Search…
⌃K

Get markets info

Loopring supported markets

EndPoint

GET /api/v3/mix/markets

Response

Field
Description
Example
markets
List[MarketInfo], Markets list
/

Model

MarketInfo

Field
Description
Example
market
Trading pair ID
"LRC-USDT"
baseTokenId
The base token ID
2
quoteTokenId
The quote token ID
0
precisionForPrice
The precision of price
6
orderbookAggLevels
The max level of orderbook price aggregation
4
enabled
True if trading is enabled for this trading pair
true
status
status, bit0 means amm status, bit1 means orderbook status
3
createdAt
created timestamp
"160946640000 0"

Example

Request

https://uat2.loopring.io/api/v3/mix/markets

Response

{
"markets": [{
"market": "LRC-ETH",
"baseTokenId": 1,
"quoteTokenId": 0,
"precisionForPrice": 6,
"orderbookAggLevels": 5,
"enabled": true,
"status": 3,
"createdAt": "1617967800000"
}, {
"market": "ETH-USDT",
"baseTokenId": 0,
"quoteTokenId": 2,
"precisionForPrice": 3,
"orderbookAggLevels": 3,
"enabled": true,
"status": 3,
"createdAt": "1617972300000"
}, {
"market": "DAI-USDT",
"baseTokenId": 6,
"quoteTokenId": 2,
"precisionForPrice": 4,
"orderbookAggLevels": 2,
"enabled": true,
"status": 3,
"createdAt": "0"
}, {
"market": "USDC-ETH",
"baseTokenId": 8,
"quoteTokenId": 0,
"precisionForPrice": 3,
"orderbookAggLevels": 3,
"enabled": true,
"status": 3,
"createdAt": "1636974420000"
}]
}