Overview
- Category
- Finance
- API mode
not_available- Processing
- client-side
- Privacy
- no-data-stored
Public descriptor
The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.
GET /api/v1/tools/mortgage-amortization-calculator
Execute availability
This tool is documented as a browser capability. Its execute route does not produce a server-side result; when execution is enabled, it responds with browser_interaction_required and points callers to the public tool page.
POST /api/v1/tools/mortgage-amortization-calculator/execute
Authentication is not issued during the preview. A bearer API key is planned for execution after launch.
Input schema
object object; additional properties are not accepted.
loan_amount· number · required- Enter the mortgage principal used in the calculation.
annual_rate· number · required- Enter the mortgage interest rate used in the calculation.
term_years· number · required- Enter the mortgage term used in the calculation.
extra_payment· number · optional- Enter the extra monthly principal used in the calculation.
{
"type": "object",
"properties": {
"loan_amount": {
"type": "number",
"description": "Enter the mortgage principal used in the calculation.",
"minimum": 0
},
"annual_rate": {
"type": "number",
"description": "Enter the mortgage interest rate used in the calculation."
},
"term_years": {
"type": "number",
"description": "Enter the mortgage term used in the calculation.",
"minimum": 1,
"maximum": 50
},
"extra_payment": {
"type": "number",
"description": "Enter the extra monthly principal used in the calculation.",
"minimum": 0
}
},
"required": [
"loan_amount",
"annual_rate",
"term_years"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
monthly_payment· number- Scheduled principal and interest produced by the calculation.
payoff_months· number- Estimated payoff time produced by the calculation.
total_interest· number- Interest with extra payments produced by the calculation.
interest_saved· number- Estimated interest saved produced by the calculation.
months_saved· number- Estimated months saved produced by the calculation.
schedule· array- Amortization schedule produced by the calculation.
{
"type": "object",
"properties": {
"monthly_payment": {
"type": "number",
"description": "Scheduled principal and interest produced by the calculation."
},
"payoff_months": {
"type": "number",
"description": "Estimated payoff time produced by the calculation."
},
"total_interest": {
"type": "number",
"description": "Interest with extra payments produced by the calculation."
},
"interest_saved": {
"type": "number",
"description": "Estimated interest saved produced by the calculation."
},
"months_saved": {
"type": "number",
"description": "Estimated months saved produced by the calculation."
},
"schedule": {
"type": "array",
"description": "Amortization schedule produced by the calculation."
}
},
"additionalProperties": false
}
Mortgage Amortization Calculator example
The request body follows the published input schema. The response below shows the success-envelope shape returned after execution is available.
curl -X POST "https://utilitypages.org/api/v1/tools/mortgage-amortization-calculator/execute" \
-H "Content-Type: application/json" \
-d '{
"loan_amount": 320000,
"annual_rate": 6.25,
"term_years": 30,
"extra_payment": 200
}'
{
"ok": true,
"data": {
"slug": "mortgage-amortization-calculator",
"result": {
"values": {
"monthly_payment": 1970.299999999999954525264911353588104248046875,
"payoff_months": 282,
"total_interest": 290286.71999999997206032276153564453125,
"interest_saved": 99019.5,
"months_saved": 78,
"schedule": [
{
"month": 1,
"payment": 2170.3000000000001818989403545856475830078125,
"principal": 503.6299999999999954525264911353588104248046875,
"interest": 1666.670000000000072759576141834259033203125,
"balance": 319496.369999999995343387126922607421875
},
{
"month": 2,
"payment": 2170.3000000000001818989403545856475830078125,
"principal": 506.25,
"interest": 1664.0399999999999636202119290828704833984375,
"balance": 318990.119999999995343387126922607421875
},
{
"month": 3,
"payment": 2170.3000000000001818989403545856475830078125,
"principal": 508.8899999999999863575794734060764312744140625,
"interest": 1661.410000000000081854523159563541412353515625,
"balance": 318481.2299999999813735485076904296875
},
{
"month": 4,
"payment": 2170.3000000000001818989403545856475830078125,
"principal": 511.54000000000002046363078989088535308837890625,
"interest": 1658.759999999999990905052982270717620849609375,
"balance": 317969.6900000000023283064365386962890625
}
]
},
"display": {
"display": "1970.3"
},
"warnings": [],
"assumptions": [],
"steps": []
}
},
"meta": [],
"request_id": "req_example_123"
}
Errors
api_not_launched· 503- Returned by the current launch gate for every execute request.
invalid_json· 400- Returned when an enabled execute request does not contain valid JSON.
validation_failed· 422- Returned when a request does not satisfy the input schema.
browser_interaction_required· 422- Returned for browser capability tools instead of inventing a server-side result.
tool_not_found· 404- Returned when a requested descriptor slug does not exist.
execution_failed· 503- Returned when an enabled server-side execution cannot complete.