v1

latestOpenAPI 3.0.32026-07-267278168.1 KB
Funding Rate

Get Funding Rate History

Get the historical funding rates for a market. For how funding is calculated and applied, see Funding rates.

get/v1/perps/funding_rate_history

Query parameters

marketstring required
Example:AAPL-USD.P

Perps trading market

limitinteger
Example:1000

Maximum number of results to return

cursorstring
Example:NQ5WWO3THN3Q====

Pagination cursor

startTimeinteger
Example:1684814400000

Start time filter (UTC milliseconds)

endTimeinteger
Example:1672549200000

End time filter (UTC milliseconds)

Response

Paginated list of historical funding rates, most recent first

successboolean required

Whether the request was successful

errorstring

Error message, present only on failure

error_codestring

Semantic error code. See each endpoint's error responses for the specific codes it can return.

deprecatedstring

Deprecation notice, if applicable

Example response

{
  "success": true,
  "result": [
    {
      "market": "AAPL-USD.P",
      "time": "2022-06-16T12:35:10.123456Z",
      "fundingRate": "0.0000125"
    }
  ],
  "pageInfo": {
    "prevCursor": "O4ZTGM3RGM2DG===",
    "nextCursor": "NQ5WWO3THN3Q===="
  }
}