api.getMixedMarkets.value

Rate limit: every seconds

API Overview


HTTP method

GET

Path

/api/v3/mix/markets

Summary

"Returns the configurations of all supported markets (trading pairs)"

API description


HTTP Header

Field Type Required Description Example
X-API-KEY string Y ApiKey "HlkcGxbqBeaF76j4rvPaOasyfPwnkQ
6B6DQ6THZWbvrAGxzEdulXQvOKLrRW
ZLnN"

Request parameters

None

Request example

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

Response fields

Field Type Required Description Example
markets List[Combine
Market
Info
]
Y Markets list /

Response example

{
  "markets" : [
    {
      "market" : "LRC-USDT",
      "baseTokenId" : 2,
      "quoteTokenId" : 0,
      "precisionForPrice" : 6,
      "orderbookAggLevels" : 4,
      "enabled" : true,
      "status" : 3(0b11),
      "createdAt" : "1609466400000"
    }
  ]
}

Status code

Value Description
100000 Unknown error

Model


CombineMarketInfo

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 "true"
status integer Y field.CombineMarketInfo.status "3(0b11)"
createdAt string Y field.AmmMarketInfo.createdAt "160946640000
0"

results matching ""

    No results matching ""