Interface Description:
- Get Latest Contract Market Price
Request URL:
https://apiv2.bitz.com/Market/getContractTickers
Request Mode:
Parameter:
Parameter |
Required |
Type |
Comment |
contractId |
false |
int |
Contract ID |
Request Example:
https://apiv2.bitz.com/Market/getContractTickers?contractId=101
Example of Return Result:
{
"status": 200,
"msg": "",
"data": [{
"contractId": "101",
"pair": "BTC_USD",
"min": "8550.0",
"max": "8867.5",
"latest": "8645.0",
"change24h": "-0.0248",
"amount": "286231.00",
"volumn": "2502462.46",
"baseAmount": "286.231 BTC",
"quoteVolumn": "2502462.46 USDT",
"openInterest": "10110336.00",
"baseOpenInterest": "10110.34 BTC",
"quoteOpenInterest": "89623073.47 USDT",
"indexPrice": "8065.25",
"fairPrice": "8060.09",
"nextFundingRate": "-0.00075000"
},
...
],
"time": 1573813113,
"microtime": "0.23065700 1573813113",
"source": "api"
}