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/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/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.
principal· number · required- Enter the loan amount used in the calculation.
annual_rate· number · required- Enter the annual interest rate used in the calculation.
term_years· number · required- Enter the loan term used in the calculation.
extra_payment· number · optional- Enter the extra monthly payment used in the calculation.
{
"type": "object",
"properties": {
"principal": {
"type": "number",
"description": "Enter the loan amount used in the calculation.",
"minimum": 0
},
"annual_rate": {
"type": "number",
"description": "Enter the annual interest rate used in the calculation."
},
"term_years": {
"type": "number",
"description": "Enter the loan term used in the calculation.",
"minimum": 1,
"maximum": 50
},
"extra_payment": {
"type": "number",
"description": "Enter the extra monthly payment used in the calculation.",
"minimum": 0
}
},
"required": [
"principal",
"annual_rate",
"term_years"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
monthly_payment· number- Scheduled monthly payment produced by the calculation.
total_interest· number- Total interest produced by the calculation.
total_paid· number- Total paid produced by the calculation.
payoff_months· number- Payoff time produced by the calculation.
schedule· array- Amortization schedule produced by the calculation.
{
"type": "object",
"properties": {
"monthly_payment": {
"type": "number",
"description": "Scheduled monthly payment produced by the calculation."
},
"total_interest": {
"type": "number",
"description": "Total interest produced by the calculation."
},
"total_paid": {
"type": "number",
"description": "Total paid produced by the calculation."
},
"payoff_months": {
"type": "number",
"description": "Payoff time produced by the calculation."
},
"schedule": {
"type": "array",
"description": "Amortization schedule produced by the calculation."
}
},
"additionalProperties": false
}
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/amortization-calculator/execute" \
-H "Content-Type: application/json" \
-d '{
"principal": 250000,
"annual_rate": 6.5,
"term_years": 30,
"extra_payment": 0
}'
{
"ok": true,
"data": {
"slug": "amortization-calculator",
"result": {
"values": {
"monthly_payment": 1580.170000000000072759576141834259033203125,
"total_interest": 318861.21999999997206032276153564453125,
"total_paid": 568861.21999999997206032276153564453125,
"payoff_months": 360,
"schedule": [
{
"month": 1,
"payment": 1580.170000000000072759576141834259033203125,
"principal": 226,
"interest": 1354.170000000000072759576141834259033203125,
"balance": 249774
},
{
"month": 2,
"payment": 1580.170000000000072759576141834259033203125,
"principal": 227.229999999999989768184605054557323455810546875,
"interest": 1352.94000000000005456968210637569427490234375,
"balance": 249546.76999999998952262103557586669921875
},
{
"month": 3,
"payment": 1580.170000000000072759576141834259033203125,
"principal": 228.460000000000007958078640513122081756591796875,
"interest": 1351.7100000000000363797880709171295166015625,
"balance": 249318.3099999999976716935634613037109375
},
{
"month": 4,
"payment": 1580.170000000000072759576141834259033203125,
"principal": 229.69999999999998863131622783839702606201171875,
"interest": 1350.470000000000027284841053187847137451171875,
"balance": 249088.609999999986030161380767822265625
}
]
},
"display": {
"display": "1580.17"
},
"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.