Get market ticker

Rate limit: 5 every second

API Overview


HTTP method

GET

Path

/api/v3/ticker

Summary

Gets a markets ticker. Generally speaking, a ticker in Loopring consists in data from the market taken last 24Hours.

API description


HTTP Header

None

Request parameters

Field Type Required Description Example
market string Y Market pair, support multiple markets "LRC-ETH,LRC-
USDT"

Request example

HTTP
CURL
GET https://api3.loopring.io/api/v3/ticker?market=LRC-ETH,LRC-USDT 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/ticker\?market\=LRC-ETH,LRC-USDT

Response fields

Field Type Required Description Example
tickers List[List[string]] N Each item in the list is an array that contains the following: trading pair ID, update timestamp, base token volume, quote token volume, open-price, highest price, lowest price, closing price, number of trades, highest bid price, lowest ask price, base fee amount, quote fee amount. All values are returned as strings. Fee amount is for AMM only. "[["LRC-ETH", "15845655050
00","1000","
1000","1000"
,"1000","100
0","1000","1
000","1000",
"1000", "0", "0"]]"

Response example

{
  "tickers" : [["LRC-ETH", "1584565505000","1000","1000","1000","1000","1000","1000","1000","1000","1000", "0", "0"]]
}

Status code

Value Description
100000 Unknown error
100001 Invalid argument

results matching ""

    No results matching ""