---
title: "Get funding rate history"
method: GET
path: "/v1/markets/id/{market_id}/funding-rate-history"
tags: ["Markets"]
---

# Get funding rate history

`GET /v1/markets/id/{market_id}/funding-rate-history`

## Request

- Base URL: `https://api.testnet.rise.trade`
- URL: `https://api.testnet.rise.trade/v1/markets/id/{market_id}/funding-rate-history`
- Auth: none required

Get funding rate settlement history for a specific market. Returns SettleFundingRate events from the FundingRate contract.

## Path parameters

- `market_id` string, int64, required

## Query parameters

- `start_time` string, uint64
- `end_time` string, uint64
- `page` integer
- `limit` integer

## Response `200`

A successful response.

- ApiGetFundingRateHistoryResponse: Response for GetFundingRateHistory - returns funding rate settlement records.
  - `market_id` string, int64: Market ID.
  - `records` GetFundingRateHistoryResponseFundingRateRecord[]: List of funding rate settlement records.
    - `funding_rate` string: Funding rate for this period (decimal string, 18 decimals, can be negative).
    - `accumulated_funding` string: Accumulated funding after this settlement (decimal string, 18 decimals).
    - `index_price` string: Index price at settlement time (decimal string, 18 decimals).
    - `start_time` string, uint64: Period start timestamp (Unix nanoseconds).
    - `end_time` string, uint64: Period end timestamp (Unix nanoseconds).
    - `block_number` string, int64: Block number where the settlement occurred.
    - `block_time` string, uint64: Block timestamp (Unix nanoseconds).
    - `tx_hash` string: Transaction hash.
  - `page` integer: Current page number.
  - `has_next_page` boolean: Whether there are more pages available.

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/rise/apis/risex-rest-api.md) - [All operations](https://skmtc.dev/rise/apis/risex-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rise/apis/risex-rest-api/revisions/98eabcd6a6ad?raw)
