Get Index Price
Request Example
curl "https://api.mexc.com/api/v1/contract/index_price/BTC_USDT"
Response Example
{
"success": true,
"code": 0,
"data": {
"symbol": "BTC_USDT",
"indexPrice": 31103.4,
"timestamp": 1609829705178
}
}
- GET
/api/v1/contract/index_price/{symbol}
Request Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | string | true | Contract symbol |
Response Parameters:
| Parameter | Type | Description |
|---|---|---|
| symbol | string | Trading pair |
| indexPrice | decimal | Index price |
| timestamp | long | System timestamp |