Market Data
public/get_funding_rate_history
Changed onReturns 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 URLhttps://api.derive.xyz/v3
- Authnone declared
Request body
Get Funding Rate History Request 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
Funding Rate History Result required
Response shape for public/get_funding_rate_history.
funding_rate_history, Funding Rate Candle[] required
Changes
- info
added the media type
application/jsonfor the response with the status
- info