Get Cryptocurrency Index
- GET /capi/v2/market/index
Weight(IP): 1
Request parameters
| Parameter | Type | Required? | Description | 
|---|---|---|---|
| symbol | String | Yes | Trading pair | 
| priceType | String | No | Price Type : LAST latest market price; MARK mark; INDEX index; LAST by default | 
Request example
curl "https://api-contract.weex.com/capi/v2/market/index?symbol=cmt_bchusdt&priceType=LAST"
Response parameters
| Parameter | Type | Description | 
|---|---|---|
| symbol | string | Trading pair | 
| index | string | Index | 
| timestamp | string | Timestamp | 
Response example
{
    "symbol": "cmt_btcusdt",
    "index": "333.627857143",
    "timestamp": "1716604853286"
}