v1
latestOpenAPI 3.0.32026-08-04850206.9 KBCalculators
Staking rewards calculator
Pure math — staking rewards with optional compounding and a validator commission. No market data is read.
get/api/v1/calculators/staking
Query parameters
amountnumber required
Amount staked, in the staked asset's units.
Example:1000
Amount staked, in the staked asset's units.
periodnumber required
Length of the staking period (capped at the 50-year equivalent).
Example:2
Length of the staking period (capped at the 50-year equivalent).
period_unitstring nullable
years (default), months or days.
Example:years
years (default), months or days.
apynumber required
Advertised APY in %.
Example:5
Advertised APY in %.
compound_frequencystring nullable
never, daily, weekly, monthly (default) or yearly.
Example:monthly
never, daily, weekly, monthly (default) or yearly.
commissionnumber nullable
Validator commission in %, taken from rewards (default 0).
Example:10
Validator commission in %, taken from rewards (default 0).
Response
Example response
{
"data": {
"final_balance": 1094.42,
"total_rewards": 94.42,
"yearly_reward": 47.21,
"monthly_reward": 3.93,
"roi": 9.44,
"risk_level": "low"
}
}