Skip to main content
GET
SDK Alternative: Use agent.apr(options?) for a simpler TypeScript interface. See SDK docs

Description

Retrieves the Annual Percentage Rate (APR) for a wallet based on its historical performance.

Path Parameters

chain_id
integer
required
The blockchain chain ID
wallet
string
required
The wallet address

Query Parameters

start_date
string
ISO datetime to start APR calculation (e.g., 2025-05-06T01:00:00+02:00)
end_date
string
Optional end date for APR calculation
use_exact_end_date
boolean
If true, use end_date as the exact last performance point

Response

apr
number
Annual Percentage Rate as a decimal (e.g., 5.5 = 5.5%)
sub_periods
array
Optional breakdown by sub-periods