Retrieve historical funding rates and premiums for a specific perpetual contract, providing insight into market sentiment and carry costs over time.
info endpoint with type: "fundingHistory" retrieves historical funding rates and premiums for a specific perpetual contract on the Hyperliquid exchange. This endpoint provides comprehensive data about funding costs over time, enabling analysis of market sentiment, carry trade opportunities, and long-term trading strategy optimization.
type (string, required) — The request type. Must be "fundingHistory" to retrieve funding rate history.coin (string, required) — Asset symbol to retrieve funding history for (e.g., “BTC”, “ETH”, “SOL”).startTime (integer, required) — Start timestamp in milliseconds, inclusive. Filters funding history from this time forward.endTime (integer, optional) — End timestamp in milliseconds, inclusive. Defaults to current time if not provided.coin — Asset symbol (e.g., “BTC”, “ETH”, “SOL”)fundingRate — The funding rate applied to positions (decimal format)premium — Market premium component used in funding calculationtime — Unix timestamp in milliseconds when the rate was appliedinfo endpoint with type: "fundingHistory" is essential for applications that need to:
The request type. Must be 'fundingHistory' to retrieve funding rate history.
fundingHistory Asset symbol to retrieve funding history for (e.g., 'BTC', 'ETH', 'SOL')
Start timestamp in milliseconds, inclusive.
End timestamp in milliseconds, inclusive. Defaults to current time if not provided.