Price Information
All Prices
Get price information for all trading pairs, including index price, mark price, last price, and funding rate.
API Information
- Method:
GET - Path:
/fapi/v1/prices
Response Fields
| Field | Type | Description |
|---|---|---|
| code | integer | Status code |
| message | string | Response message |
| data | array | Price list |
| data[].symbol | string | Trading pair |
| data[].index_price | string | Index price (weighted average across multiple exchanges) |
| data[].mark_price | string | Mark price (used for unrealized PnL and liquidation calculations) |
| data[].last_price | string | Latest trade price |
| data[].funding_rate | string | Current funding rate (6 decimals, positive means longs pay shorts) |
| data[].next_funding_time | integer | Next funding settlement time (milliseconds, every 8 hours) |
| data[].price_precision | integer | Price precision |
| data[].qty_precision | integer | Quantity precision |
| data[].timestamp | integer | Price data timestamp (milliseconds) |
Response Example
{
"code": 0,
"message": "success",
"data": [
{
"symbol": "BTC_USDT",
"index_price": "68500.00",
"mark_price": "68510.00",
"last_price": "68520.00",
"funding_rate": "0.000100",
"next_funding_time": 1712534400000,
"price_precision": 1,
"qty_precision": 3,
"timestamp": 1711929600000
}
]
}
Complete Price Information
Get the index price, mark price, last trade price, and funding rate of a specified trading pair in one request.
API Information
- Method:
GET - Path:
/fapi/v1/complete_price
Request Parameters
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
| symbol | query | string | Yes | Trading pair, e.g. BTC_USDT |
Request Example
GET /fapi/v1/complete_price?symbol=BTC_USDT
Response Fields
| Field | Type | Description |
|---|---|---|
| code | integer | Status code (7000=invalid parameter, 7001=trading pair not found, 7002=internal error) |
| message | string | Response message |
| data.symbol | string | Trading pair |
| data.index_price | string | Index price |
| data.mark_price | string | Mark price |
| data.last_price | string | Latest trade price |
| data.funding_rate | string | Current funding rate |
| data.next_funding_time | integer | Next funding settlement time (milliseconds) |
| data.price_precision | integer | Price precision |
| data.qty_precision | integer | Quantity precision |
| data.timestamp | integer | Response generation timestamp (milliseconds) |
Response Example
{
"code": 0,
"message": "success",
"data": {
"symbol": "BTC_USDT",
"index_price": "68500.00",
"mark_price": "68510.00",
"last_price": "68520.00",
"funding_rate": "0.000100",
"next_funding_time": 1712534400000,
"price_precision": 1,
"qty_precision": 3,
"timestamp": 1711929600000
}
}