CMC
CMC
Spot market data
Request URL
GET /deepcoin/cmc/spotquery
Request Parameters
| Field Name | Required | Type | Description |
|---|---|---|---|
| ProductGroup | false | string | Default Spot |
| PageSize | false | integer | Page size |
| PageIndex | false | integer | Page index, start from 1 |
Response Example
{
"total_page": 1,
"current_page": 1,
"total_size": 1,
"data": [
{
"ExchangeID": "DeepCoin",
"InstrumentID": "BTC/USDT",
"ProductGroup": "Spot",
"LastPrice": 38700.5,
"Volume": 123.4,
"Turnover": 123456.7,
"BidPrice1": 38690.1,
"AskPrice1": 38710.2,
"OpenPrice": 39000,
"HighestPrice": 39200,
"LowestPrice": 38000,
"OpenInterest": 0,
"UnderlyingPrice": 0,
"MarkedPrice": 0,
"PrePositionFeeRate": 0,
"PrePositionFeeAmount": 0,
"UpdateTime": 1710000000
}
]
}
Swap market data
Request URL
GET /deepcoin/cmc/swapquery
Request Parameters
| Field Name | Required | Type | Description |
|---|---|---|---|
| ProductGroup | false | string | Default Swap |
| PageSize | false | integer | Page size |
| PageIndex | false | integer | Page index, start from 1 |
Response Example
{
"total_page": 1,
"current_page": 1,
"total_size": 1,
"data": [
{
"ExchangeID": "DeepCoin",
"InstrumentID": "BTCUSDT",
"ProductGroup": "Swap",
"LastPrice": 38700.5,
"Volume": 123.4,
"Turnover": 123456.7,
"BidPrice1": 38690.1,
"AskPrice1": 38710.2,
"OpenPrice": 39000,
"HighestPrice": 39200,
"LowestPrice": 38000,
"OpenInterest": 1000,
"UnderlyingPrice": 38650,
"MarkedPrice": 38680,
"PrePositionFeeRate": 0,
"PrePositionFeeAmount": 0,
"UpdateTime": 1710000000
}
]
}