Skip to main content
GET
Get Holding Rates

Endpoint

GET /api/holding-rates/{collateralIndex}/{pairIndex} Returns historical borrowing and funding rates for a collateral and pair.

Parameters

Usage Example

Response Fields

holdingRates is an array, oldest first. Each item: Each value holds until the next item; nothing is interpolated. Days already aggregated are hourly averages, and an hour equal to the previous one is left out, so consecutive items can be two or more hours apart. The most recent day is 10-minute snapshots. The endpoint takes no time range or pagination parameters and returns the whole history it holds.

Response Structure

The generated API panel lists the response schema for status codes: 200, 400, 503, 500. Error responses generally return an error or message field.

Path Parameters

collateralIndex
integer
required

Collateral index.

Example:

1

pairIndex
integer
required

Trading pair index.

Example:

0

Query Parameters

chainId
integer
required

Blockchain chain ID. Common values: 42161 Arbitrum, 8453 Base, 137 Polygon.

Example:

42161

Response

Successful response

holdingRates
object[]