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 freeHistorical APR for a yield-generating token (USDE, STETH, USDC, BUILD), newest epoch day first.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
currency | query | strusde | steth | usdc | build | required | Yield-generating token currency (docs enum). example: USDC |
limit | query | int | optional | Number of days (default 365, maximum 365). example: 5 |
before | query | int | optional | Return 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"