Bitrue-exchange / Market-API

For exchange portal website who may query all market trade volume
9 stars 3 forks source link

Bitrue API - Trade Volume

General API Information

API LIST

API URL Note
All market real-time query https://www.bitrue.com/kline-api/public.json?command=returnTicker none
BTC Market query https://www.bitrue.com/kline-api/publicBTC.json?command=returnTicker BTC Base Market query
ETH Market query https://www.bitrue.com/kline-api/publicETH.json?command=returnTicker ETH Market query
USDT Market query https://www.bitrue.com/kline-api/publicUSDT.json?command=returnTicker USDT Market query
XRP Market query https://www.bitrue.com/kline-api/publicXRP.json?command=returnTicker XRP Market query

Response

Key Type Description
code string response code:200, 404, 500...
msg string response
data json_array Data(depends on the API)

Response code description

code Description
200 Success
304 Repeat request
400 Request parameter verification error
403 No permission
404 not found
500 System error
4042 System maintaining

Sample

{
"code":200,
"msg":"succeed",
"data": {}
}

For BTC Market Parameter description example

GET /kline-api/publicBTC.json?command=returnTicke

Name Description
id Market
last Last Price
lowestAsk Lowest Ask(not support yet)
highestBid Highest Bid(not support yet)
percentChange Percent Change%
baseVolume Trade Volume
quoteVolume Trade Amount
isFrozen Market status(not support yet)
high24hr 24h High
low24hr 24h Low