Pure math financial primitiveFREE
Mortgage Calculator
Calculate monthly mortgage payments, total interest, and amortization schedules for any loan worldwide.
Try endpointEndpoints
- POST /mortgage/calculate
Parameters
principalannual_interest_rateloan_term_yearsdown_payment
Example request
curl -X POST 'https://bountyapi.com/mortgage/calculate' -H 'content-type: application/json' -d '{"principal":200000,"annual_interest_rate":6.5,"loan_term_years":30}'Example response
{
"monthly_payment": 1264.14,
"total_interest": 255089.78,
"total_paid": 455089.78
}Source
Calculated from standard amortization formula. No external data dependency.
Limitations
Amortization schedule returns first 12 and last 12 months to keep response compact.