client.funding_rates() when you need historical funding rate data for perpetual contracts. This method returns a time series of funding rates used for carry modeling and perpetual trading analysis.
Method signature
Parameters
Return value
A single-pass iterator of point-series dictionaries by default, flat PyArrow batches withoutput="batches", or a Pandas DataFrame with
output="dataframe".
Example response
Fields
Funding rate records include:timestamp: observation time in UTC milliseconds; columnar output is timezone-aware UTCsource: source identifiermarket: normalized market IDsymbol: venue-native, human-friendly symbolfunding_rate: the funding rate (decimal, e.g., 0.00017 = 0.017%)funding_interval: funding period in seconds (typically 1h, 4h, or 8h)
Example
How it works
client.funding_rates() extracts rates from standardized datapoint events
labeled funding_rate using snapshot-first replay. See
Snapshots for the full flow.
Related documentation
- Perpetuals guide for carry, trade-flow, liquidity, and order-book workflows
- Mark prices for related perpetual contract metrics
- Events if you need funding rates mixed with other datapoints
- Quickstart