Query user place order fee rate

Rate limit: 5 every second

API Overview


HTTP method

GET

Path

/api/v2/user/feeRates

Summary

Returns the fee rate of users placing orders in specific markets

API description


HTTP Header

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

Request parameters

Field Type Required Description Example
accountId integer Y Account ID 1
markets string Y List of markets to be queried separated by "," "LRC-USDT,LRC-ETH"

Request example

HTTP
CURL
GET https://api.loopring.io/api/v2/user/feeRates?accountId=1&markets=LRC-USDT,LRC-ETH HTTP/1.1
Host: api.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://api.loopring.io/api/v2/user/feeRates\?accountId\=1\&markets\=LRC-USDT,LRC-ETH

Response fields

Field Type Required Description Example
resultInfo ResultInfo Y Information returned by the API /
data List[FeeRate] N The results returned by query user fee rates "1584354752"

Response example

{
    "resultInfo" : {
        "code" : 0,
        "message" : "SUCCESS"
    },
    "data" : 1584354752
}

Status code

Value Description
100000 Unknown error

Model


FeeRate

The data structure of user query market fee rate

Field Type Required Description Example
symbol string Y Market "LRC-USDT"
makerRate integer Y Maker rate 20
takerRate integer Y Taker rate 20

results matching ""

    No results matching ""