GET /public/get_apr_history

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/deribit/public/get_apr_historyCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Historical APR for a yield-generating token (USDE, STETH, USDC, BUILD), newest epoch day first.

Parameters

nameintypedescription
currencyquerystr
usde | steth | usdc | build
requiredYield-generating token currency (docs enum).
example: USDC
limitqueryintoptionalNumber of days (default 365, maximum 365).
example: 5
beforequeryintoptionalReturn APR history before this epoch day.
example: 20775

Response

type: object
pagination: none
sample: {
  "jsonrpc": "str",
  "result": "object",
  "usIn": "int",
  "usOut": "int",
  "usDiff": "int",
  "testnet": "bool"
}

Safe request

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/deribit/public/get_apr_history?currency=USDC&limit=5&before=20775"