Market Data

public/get_interest_rate_history

Returns lending borrow/supply APY OHLC candles for a currency's pool over an optional time window (UTC milliseconds) at a period of 1h or larger (defaults to 1h; sub-hour periods are rejected). An optional risk_universe_id restricts to one pool; otherwise every universe's candles are returned, each tagged and carrying pool total supply/borrow. Public endpoint.

post/public/get_interest_rate_history

Request

  • Base URL: https://api.derive.xyz/v3
  • URL: https://api.derive.xyz/v3/public/get_interest_rate_history
  • Auth: none declared

Request body

currencystring required
end_timestampinteger nullable
periodinteger nullable
risk_universe_idinteger nullable

Restrict to one risk universe's pool. Omit to return every universe's candles for the currency (each candle is tagged with its universe).

start_timestampinteger nullable

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.