← All tool references

Finance · not_available

Budget Calculator

Organize monthly spending, savings, and remaining cash against take-home income.

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/budget-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/budget-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.

monthly_income · number · required
Enter the monthly take-home income used by this tool.
housing · number · required
Enter the housing used by this tool.
utilities · number · required
Enter the utilities used by this tool.
food · number · required
Enter the food used by this tool.
transportation · number · required
Enter the transportation used by this tool.
insurance · number · required
Enter the insurance used by this tool.
debt_payments · number · required
Enter the debt payments used by this tool.
other_expenses · number · required
Enter the other expenses used by this tool.
savings_goal · number · required
Enter the savings goal used by this tool.
{
    "type": "object",
    "properties": {
        "monthly_income": {
            "type": "number",
            "description": "Enter the monthly take-home income used by this tool.",
            "minimum": 0
        },
        "housing": {
            "type": "number",
            "description": "Enter the housing used by this tool.",
            "minimum": 0
        },
        "utilities": {
            "type": "number",
            "description": "Enter the utilities used by this tool.",
            "minimum": 0
        },
        "food": {
            "type": "number",
            "description": "Enter the food used by this tool.",
            "minimum": 0
        },
        "transportation": {
            "type": "number",
            "description": "Enter the transportation used by this tool.",
            "minimum": 0
        },
        "insurance": {
            "type": "number",
            "description": "Enter the insurance used by this tool.",
            "minimum": 0
        },
        "debt_payments": {
            "type": "number",
            "description": "Enter the debt payments used by this tool.",
            "minimum": 0
        },
        "other_expenses": {
            "type": "number",
            "description": "Enter the other expenses used by this tool.",
            "minimum": 0
        },
        "savings_goal": {
            "type": "number",
            "description": "Enter the savings goal used by this tool.",
            "minimum": 0
        }
    },
    "required": [
        "monthly_income",
        "housing",
        "utilities",
        "food",
        "transportation",
        "insurance",
        "debt_payments",
        "other_expenses",
        "savings_goal"
    ],
    "additionalProperties": false
}

Output schema

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

total_expenses · number
Total expenses produced by the tool.
cash_after_expenses · number
Cash after expenses produced by the tool.
cash_after_savings_goal · number
Cash after savings goal produced by the tool.
expense_ratio · number
Expense ratio produced by the tool.
budget_breakdown · array
Budget breakdown produced by the tool.
{
    "type": "object",
    "properties": {
        "total_expenses": {
            "type": "number",
            "description": "Total expenses produced by the tool."
        },
        "cash_after_expenses": {
            "type": "number",
            "description": "Cash after expenses produced by the tool."
        },
        "cash_after_savings_goal": {
            "type": "number",
            "description": "Cash after savings goal produced by the tool."
        },
        "expense_ratio": {
            "type": "number",
            "description": "Expense ratio produced by the tool."
        },
        "budget_breakdown": {
            "type": "array",
            "description": "Budget breakdown produced by the tool."
        }
    },
    "additionalProperties": false
}

Budget 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/budget-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "monthly_income": 6000,
    "housing": 1800,
    "utilities": 300,
    "food": 700,
    "transportation": 600,
    "insurance": 350,
    "debt_payments": 500,
    "other_expenses": 450,
    "savings_goal": 800
}'
{
    "ok": true,
    "data": {
        "slug": "budget-calculator",
        "result": {
            "values": {
                "total_expenses": 4700,
                "cash_after_expenses": 1300,
                "cash_after_savings_goal": 500,
                "expense_ratio": 78.3332999999999941564965411089360713958740234375,
                "budget_breakdown": [
                    {
                        "category": "Housing",
                        "amount": 1800
                    },
                    {
                        "category": "Utilities",
                        "amount": 300
                    },
                    {
                        "category": "Food",
                        "amount": 700
                    },
                    {
                        "category": "Transportation",
                        "amount": 600
                    },
                    {
                        "category": "Insurance",
                        "amount": 350
                    }
                ]
            },
            "display": {
                "display": "4700"
            },
            "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.