Debt payoff: avalanche vs snowball
Simulates paying off a list of debts month by month with minimum payments plus an extra monthly payment, comparing the avalanche method (highest APR first) with the snowball method (smallest balance first), and reports months to payoff, total interest, payoff order, and the interest and time the avalanche saves. Results match the interactive calculator at everycalc.xyz; every response includes a calculator_url deep link to it.
Request
- Base URL: https://everycalc.xyz
- URL: https://everycalc.xyz/api/v1/calculate/debt-payoff
- Auth: none declared
Query parameters
Comma-separated debt names, in the same order as the balances, APRs, and minimums. Blank names fall back to Debt 1, Debt 2, and so on. Comma-separated list.
Comma-separated debt balances in USD, in the same order as the other debt lists. Debts with a balance of 0 are skipped. Comma-separated list of numbers.
Comma-separated annual percentage rates, in the same order as the balances. Comma-separated list of numbers.
Comma-separated minimum monthly payments in USD, in the same order as the balances. Comma-separated list of numbers.
Extra payment each month on top of the minimums, in USD.
Response
Calculation result.
Changes
No recorded changes to this operation across all 1 revision of this API.