Skip to navigation

Get funding rate history

Retrieve the funding rate history for a perpetual swap. Only records that occurred within the last 3 months are available.

Query parameters

instIdstringRequired

Instrument ID, e.g. BTC-USD-SWAP. Only applicable to SWAP.

afterstringOptional
Pagination of data to return records earlier than the requested fundingTime, Unix timestamp in milliseconds.
beforestringOptional
Pagination of data to return records newer than the requested fundingTime, Unix timestamp in milliseconds.
limitstringOptional

Number of results per request. The maximum is 100; the default is 100.

Response

Successful response
codestringOptional

Result code. 0 means success; any other value is an error code.

msgstringOptional
Error message. Empty on success.
datalist of objectsOptional