general

Computes a full loan amortization schedule given principal, annual interest rate, and term in months. Returns the fixed monthly payment, total interest, total payments, and a month-by-month breakdown of principal vs interest. Supports optional extra monthly payments — shows months saved and interest saved. Works for mortgages (30yr/15yr), auto loans, personal loans, and student loans. All currency-agnostic. Use with /run?page=1&page_size=12 to paginate the schedule array for context-friendly agent consumption.

post/api/loan_amortization

Request

  • Base URL: https://calc.engineer
  • URL: https://calc.engineer/api/loan_amortization
  • Auth: none declared

Request body

principalnumber required

Loan principal amount in dollars (or any currency unit).

annual_rate_pctnumber required

Annual interest rate as a percentage (e.g., 6.5 for 6.5%).

term_monthsnumber required

Loan term in months. Max 600 (50 years). Common values: 360 (30yr), 180 (15yr), 60 (5yr auto).

extra_paymentnumber

Optional fixed extra monthly payment toward principal. Defaults to 0.

Response

Computed result for loan_amortization

toolstring required
versionstring required
computed_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.