GETMortgage Calculator
https://api-mortgage-calculator.dataandapis.com/v1/mortgage
Query parameters
| Parameter | Example | |
|---|---|---|
| amount | 300000 | Required |
| down_payment | 60000 | Optional |
| rate | 6.5 | Required |
| schedule | false | Optional |
| years | 30 | Required |
Example request
curl "https://api-mortgage-calculator.dataandapis.com/v1/mortgage?amount=300000&down_payment=60000&rate=6.5&schedule=false&years=30" \
-H "X-Api-Key: YOUR_API_KEY"{
"amount": 300000,
"down_payment": 60000,
"loan_amount": 240000,
"annual_rate": 6.5,
"term_months": 360,
"number_of_payments": 360,
"monthly_payment": 1516.96,
"total_payment": 546106.77,
"total_interest": 306106.77
}






