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/debt-avalanche-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/debt-avalanche-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.
balance· number · required- Enter current balance.
apr· number · required- Enter annual percentage rate.
monthly_payment· number · required- Enter monthly payment.
extra_payment· number · required- Enter extra monthly payment.
{
"type": "object",
"properties": {
"balance": {
"type": "number",
"description": "Enter current balance."
},
"apr": {
"type": "number",
"description": "Enter annual percentage rate."
},
"monthly_payment": {
"type": "number",
"description": "Enter monthly payment."
},
"extra_payment": {
"type": "number",
"description": "Enter extra monthly payment."
}
},
"required": [
"balance",
"apr",
"monthly_payment",
"extra_payment"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
payoff_months· number- Payoff months produced by the tool.
total_interest· number- Total interest produced by the tool.
total_paid· number- Total paid produced by the tool.
schedule· array- Payoff schedule produced by the tool.
{
"type": "object",
"properties": {
"payoff_months": {
"type": "number",
"description": "Payoff months produced by the tool."
},
"total_interest": {
"type": "number",
"description": "Total interest produced by the tool."
},
"total_paid": {
"type": "number",
"description": "Total paid produced by the tool."
},
"schedule": {
"type": "array",
"description": "Payoff schedule produced by the tool."
}
},
"additionalProperties": false
}
Debt Avalanche Calculator worked 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/debt-avalanche-calculator/execute" \
-H "Content-Type: application/json" \
-d '{
"balance": 18000,
"apr": 19.89999999999999857891452847979962825775146484375,
"monthly_payment": 550,
"extra_payment": 100
}'
{
"ok": true,
"data": {
"slug": "debt-avalanche-calculator",
"result": {
"values": {
"payoff_months": 38,
"total_interest": 6296.72999999999956344254314899444580078125,
"total_paid": 24296.72999999999956344254314899444580078125,
"schedule": [
{
"year": 1,
"balance": 13375.20000000000072759576141834259033203125,
"interest_to_date": 3175.1999999999998181010596454143524169921875
},
{
"year": 2,
"balance": 7741.3100000000004001776687800884246826171875,
"interest_to_date": 5341.3100000000004001776687800884246826171875
},
{
"year": 3,
"balance": 878.1399999999999863575794734060764312744140625,
"interest_to_date": 6278.1400000000003274180926382541656494140625
},
{
"year": 4,
"balance": 0,
"interest_to_date": 6296.72999999999956344254314899444580078125
}
]
},
"display": {
"display": "38"
},
"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.