---
title: "Debt Payoff Calculator"
method: GET
path: "/api/calc/debt-payoff-calculator"
tags: ["Finance"]
---

# Debt Payoff Calculator

`GET /api/calc/debt-payoff-calculator`

## Request

- Base URL: `https://calcbright.com`
- URL: `https://calcbright.com/api/calc/debt-payoff-calculator`
- Auth: none declared

A debt payoff calculator that runs the snowball and avalanche across all your debts: debt-free date, total interest and the order each balance is cleared.

## Query parameters

- `debts` string: Your debts – one per line: name, balance, APR, minimum payment Example: Car loan, 12000, 6.5, 280 – write amounts without thousands separators.
- `budget` number: Total monthly budget for debts Everything you can pay each month, including the minimums.
- `currency` 'USD' | 'EUR' | 'GBP' | 'JPY' | 'CAD' | 'AUD' | 'CHF' | 'CNY' | 'INR' | 'PKR' | 'AED' | 'SAR' | 'NZD' | 'SGD' | 'HKD' | 'SEK' | 'NOK' | 'DKK' | 'PLN' | 'TRY' | 'ZAR' | 'BRL' | 'MXN' | 'KRW' | 'THB' | 'MYR' | 'IDR' | 'PHP' | 'BDT' | 'EGP' | 'NGN' | 'KWD' | 'QAR' | 'BHD' | 'OMR' | 'RUB': Currency

## Response `200`

Calculation result

- CalcOutput
  - `ok` boolean
  - `tool` string
  - `name` string
  - `url` string: Open this link to see the full calculation
  - `inputs` object
  - `summary` string: Plain-text answer
  - `details` string
  - `result` object
  - `errors` object

## Other responses

- `400`: Invalid input (see errors)

---

[API](https://skmtc.dev/calcbright/apis/calcbright-calculator-api.md) · [All operations](https://skmtc.dev/calcbright/apis/calcbright-calculator-api/llms.txt) · [OpenAPI document](https://skmtc.dev/calcbright/apis/calcbright-calculator-api/revisions/f58229e56e58?raw)
