getFundingRateHistory
Retrieve historical funding rate records for perpetual contracts. Analyze trends, calculate funding costs, or compare rates across different symbols and time periods.
Instructions
Query historical funding rate records for perpetual contracts. Each symbol has a different funding settlement interval (typically every 4 or 8 hours).
Use this endpoint when you need to:
Analyze historical funding rate trends for a specific perpetual contract
Calculate total funding cost or income for a position over a time period
Compare funding rates across different symbols or time periods
Supported Products: USDT contract, Inverse contract
Records are sorted in reverse chronological order. Use startTime and endTime
(milliseconds) to filter a specific time range.
Do not use this endpoint for the current funding rate — use getTickers which includes
fundingRate and nextFundingTime in its response.
Notes:
No authentication required
Agent hint: Use this endpoint to retrieve historical funding rates for a perpetual contract. Both category and symbol are required parameters. Provide startTime and endTime (milliseconds) to narrow the time range. For the current funding rate and next funding time, use getTickers instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | ||
| symbol | Yes | ||
| startTime | No | ||
| endTime | No | ||
| limit | No |