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.

get/api/v1/calculate/debt-payoff

Request

  • Base URL: https://everycalc.xyz
  • URL: https://everycalc.xyz/api/v1/calculate/debt-payoff
  • Auth: none declared

Query parameters

debt_namesstring

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.

debt_balancesstring required

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.

debt_aprsstring required

Comma-separated annual percentage rates, in the same order as the balances. Comma-separated list of numbers.

debt_minimumsstring required

Comma-separated minimum monthly payments in USD, in the same order as the balances. Comma-separated list of numbers.

extra_paymentnumber

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.