← All tool references

Finance · not_available

Debt Consolidation Calculator

Compare listed debts with a proposed fixed-rate consolidation loan.

Open public tool

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-consolidation-calculator

View this descriptor as JSON

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-consolidation-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.

debts · string · required
Enter one debt per line as name | balance | APR | monthly payment.
new_rate · number · required
Enter the consolidation interest rate used by this tool.
new_term_months · number · required
Enter the new loan term used by this tool.
origination_fee · number · required
Enter the new-loan fee used by this tool.
{
    "type": "object",
    "properties": {
        "debts": {
            "type": "string",
            "description": "Enter one debt per line as name | balance | APR | monthly payment."
        },
        "new_rate": {
            "type": "number",
            "description": "Enter the consolidation interest rate used by this tool."
        },
        "new_term_months": {
            "type": "number",
            "description": "Enter the new loan term used by this tool.",
            "minimum": 1,
            "maximum": 360
        },
        "origination_fee": {
            "type": "number",
            "description": "Enter the new-loan fee used by this tool.",
            "minimum": 0
        }
    },
    "required": [
        "debts",
        "new_rate",
        "new_term_months",
        "origination_fee"
    ],
    "additionalProperties": false
}

Output schema

On a successful execution, schema values appear in data.result.values.

total_debt · number
Total debt produced by the tool.
weighted_current_rate · number
Weighted current APR produced by the tool.
current_monthly_payments · number
Current monthly payments produced by the tool.
new_monthly_payment · number
New monthly payment produced by the tool.
monthly_payment_change · number
Monthly payment change produced by the tool.
new_total_interest · number
New-loan interest produced by the tool.
{
    "type": "object",
    "properties": {
        "total_debt": {
            "type": "number",
            "description": "Total debt produced by the tool."
        },
        "weighted_current_rate": {
            "type": "number",
            "description": "Weighted current APR produced by the tool."
        },
        "current_monthly_payments": {
            "type": "number",
            "description": "Current monthly payments produced by the tool."
        },
        "new_monthly_payment": {
            "type": "number",
            "description": "New monthly payment produced by the tool."
        },
        "monthly_payment_change": {
            "type": "number",
            "description": "Monthly payment change produced by the tool."
        },
        "new_total_interest": {
            "type": "number",
            "description": "New-loan interest produced by the tool."
        }
    },
    "additionalProperties": false
}

Debt Consolidation 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/debt-consolidation-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "debts": "Credit card | 8500 | 22.9 | 250\nPersonal loan | 12000 | 11.5 | 310",
    "new_rate": 9,
    "new_term_months": 48,
    "origination_fee": 350
}'
{
    "ok": true,
    "data": {
        "slug": "debt-consolidation-calculator",
        "result": {
            "values": {
                "total_debt": 20500,
                "weighted_current_rate": 16.226800000000000778754838393069803714752197265625,
                "current_monthly_payments": 560,
                "new_monthly_payment": 518.8500000000000227373675443232059478759765625,
                "monthly_payment_change": -41.14999999999999857891452847979962825775146484375,
                "new_total_interest": 4054.9499999999998181010596454143524169921875
            },
            "display": {
                "display": "20500"
            },
            "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.