---
title: "public/get_funding_rate_history"
method: POST
path: "/public/get_funding_rate_history"
tags: ["Market Data"]
---

# public/get_funding_rate_history

`POST /public/get_funding_rate_history`

## Request

- Base URL: `https://api.derive.xyz/v3`
- URL: `https://api.derive.xyz/v3/public/get_funding_rate_history`
- Auth: none declared

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.

## Request body

- GetFundingRateHistoryRequest: 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 `200`

Success

- FundingRateHistoryResult: Response shape for `public/get_funding_rate_history`.
  - `funding_rate_history` FundingRateCandle[], required
    - `close` string, required
    - `currency` string, required
    - `funding_rate` string, required
    - `high` string, required
    - `low` string, required
    - `open` string, required
    - `risk_universe_id` integer, required
    - `timestamp` integer, required

## Other responses

- `default`: JSON-RPC error (see Error Codes)

## Changes

- **2026-10-20** `0c500202be49`: 1 info
  - added the media type `application/json` for the response with the status `default`

[Operation history](https://skmtc.dev/lyra/apis/derive-v3-api/changes/public/get_funding_rate_history/post.md)

---

[API](https://skmtc.dev/lyra/apis/derive-v3-api.md) - [All operations](https://skmtc.dev/lyra/apis/derive-v3-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lyra/apis/derive-v3-api/revisions/415f8a73b10c?raw)
