Get Index Price
HTTP Request
- 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 |
Response
{
"success": true,
"code": 0,
"data": {
"symbol": "BTC_USDT",
"indexPrice": 31103.4,
"timestamp": 1609829705178
}
}