v3

latestOpenAPI 3.0.02026-07-311784111.3 MB
Market Data
Public

Retrieves funding rate chart data points for a PERPETUAL instrument within a given time period. The data is formatted for use in charting applications and includes funding rate values at regular intervals.

Use the length parameter to specify the time period for which to retrieve chart data. This method is useful for visualizing funding rate trends over time.

Try in API console

get/public/get_funding_chart_data

Query parameters

instrument_namestring required

Unique instrument identifier

Example:BTC-PERPETUAL

Instrument name

length'8h' | '24h' | '1m' required

Specifies time period. 8h - 8 hours, 24h - 24 hours, 1m - 1 month

Response

Success response

jsonrpc'2.0' required

The JSON-RPC version (2.0)

idinteger

The id that was sent in the request

Example response

{
  "result": {
    "current_interest": 0.005000670552845,
    "interest_8h": 0.0040080896931,
    "data": [
      {
        "timestamp": 1536569522277,
        "index_price": 8247.27,
        "interest_8h": 0.004999511380756577
      }
    ]
  }
}