Get token fiat prices

Rate limit: 5 every second

API Overview


HTTP method

GET

Path

/api/v3/price

Summary

Fetches, for all the tokens supported by Loopring, their fiat price.

API description


HTTP Header

None

Request parameters

Field Type Required Description Example
legal string Y The fiat currency to uses. Currently the following values are supported: USD,CNY,JPY,EUR,GBP,HKD "USD"

Request example

HTTP
CURL
GET https://api3.loopring.io/api/v3/price?legal=USD 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/price\?legal\=USD

Response fields

Field Type Required Description Example
prices List[PriceV3] N field.GetPriceResponseV3.prices /

Response example

{
  "prices" : [
    {
      "symbol" : "LRC",
      "price" : "0",
      "updatedAt" : 0
    }
  ]
}

Status code

Value Description
100000 Unknown error

Model


PriceV3

Token fiat price

Field Type Required Description Example
symbol string Y Token symbol "LRC"
price string Y Fiat price "0"
updatedAt integer Y Last update timestamp 0

results matching ""

    No results matching ""