Annual Percentage Rate
vault_address
string
required
The vault address to get APR for
avg
string
enum
Defaults to 30d
The yield period: 30d (30-day trailing), 90d (90-day trailing), ytd (year-to-date). Defaults to 30d.
30d90dytd
Allowed:
30d``90d``ytd
decimal
integer
Defaults to 2
Number of decimal places in the value (2–5). Defaults to 2.
``200 Success
object
data
array of objects
data
object
· date
string
Date of the yield metrics
· value
string
Annualized simple yield for the chosen period
``401
Invalid API key
--url 'https://api.figment.io/opentrade/vault_address/apr?avg=30d&decimal=2' \
--header 'accept: application/json' \
--header 'x-api-key: your-api-key-here'
xxxxxxxxxx
{
"data": [\
\
{\
\
"date": "2026-03-30",\
\
"value": "5.53"\
\
}\
\
]
}