Skip to main content

Funding Rate History

Description

Query the funding rate history for a specific trading pair.

HTTP Request

GET /fapi/v1/fundingRate

Request Parameters

NameTypeRequiredDescription
symbolSTRINGNOTrading pair
startTimeLONGNOAccepted but currently ignored
endTimeLONGNOAccepted but currently ignored
limitINTNODefault 100; Max 1000

If symbol is omitted, the endpoint returns the current funding rate for every trading pair (one entry per symbol), not a history.

Response Example

[
{
"symbol": "BTCUSDT",
"fundingRate": "0.00010000", // Funding rate
"fundingTime": 1558108800000, // Funding settlement time
"markPrice": "8000.00000000" // Mark price at settlement
}
]

Code Examples

cURL

curl -s "https://api.prex.world/fapi/v1/fundingRate?symbol=BTCUSDT&limit=5"

Python

import requests

base_url = "https://api.prex.world"
params = {"symbol": "BTCUSDT", "limit": 5}
response = requests.get(f"{base_url}/fapi/v1/fundingRate", params=params)
for rate in response.json():
print(f"{rate['symbol']} rate={rate['fundingRate']} time={rate['fundingTime']}")