Get Index Price
Description
Get the current index price.
HTTP Request
GET /v3/market/indexPrice
Request Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| symbol | No | String | A trading pair. If the field is empty, you will get all trading pairs. |
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| s | String | A trading pair, consisting of two currencies: base currency and quote currency |
| iPx | String | Index price |
Request Example
{
"symbol": "BTC_USDT_PERP"
}
Response Example
{
"code": 200,
"msg": "Success",
"data": {
"s": "BTC_USDT_PERP",
"iPx": "60000"
}
}