Market Data

public/get_funding_rate_history

Changed on

Returns funding-rate OHLC candles for a perpetual instrument (instrument_name) over an optional start_timestamp/end_timestamp window (UTC milliseconds) at a period granularity (defaults to 1h; 60s up to 1w supported). Each candle carries open/high/low/close per-hour rates plus a funding_rate mirroring the close. Public endpoint.

post/public/get_funding_rate_history

Request

  • Base URL
    https://api.derive.xyz/v3
  • Auth
    none declared

Request body

GetFundingRateHistoryRequest required

Parameters for public/get_funding_rate_history. Timestamp fields accept either a JSON number or a string-encoded integer, and are UTC milliseconds.

end_timestamp, integer nullable
instrument_name, string required
period, integer nullable
start_timestamp, integer nullable

Response

Success

FundingRateHistoryResult required

Response shape for public/get_funding_rate_history.

funding_rate_history, FundingRateCandle[] required

Changes