Get market configurations

Rate limit: every seconds

API Overview


HTTP method

GET

Path

/api/v3/exchange/markets

Summary

Returns the configurations of all supported markets (trading pairs)

API description


HTTP Header

None

Request parameters

None

Request example

HTTP
CURL
GET https://api3.loopring.io/api/v3/exchange/markets HTTP/1.1
Host: api3.loopring.io
Connection: keep-alive
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: zh,en;q=0.9
curl https://api3.loopring.io/api/v3/exchange/markets

Response fields

Field Type Required Description Example
markets List[MarketInfo] Y Markets list /

Response example

{
    "markets" : [
        {
            "market" : "LRC-USDT",
            "baseTokenId" : 2,
            "quoteTokenId" : 0,
            "precisionForPrice" : 6,
            "orderbookAggLevels" : 4,
            "enabled" : false
        }
    ]
}

Status code

Value Description
100000 Unknown error

Model


MarketInfo

Field Type Required Description Example
market string Y Trading pair ID "LRC-USDT"
baseTokenId integer Y The base token ID 2
quoteTokenId integer Y The quote token ID 0
precisionForPrice integer Y The precision of price 6
orderbookAggLevels integer Y The max level of orderbook price aggregation 4
enabled boolean Y True if trading is enabled for this trading pair "false"

results matching ""

    No results matching ""