← All tool references

Finance · not_available

Retirement Income Calculator

Estimate level retirement income supported by a balance and return assumption.

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/retirement-income-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/retirement-income-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.

retirement_savings · number · required
Enter retirement savings for this calculation.
annual_return · number · required
Enter annual return during retirement for this calculation.
years · number · required
Enter retirement years for this calculation.
other_monthly_income · number · required
Enter other monthly income for this calculation.
{
    "type": "object",
    "properties": {
        "retirement_savings": {
            "type": "number",
            "description": "Enter retirement savings for this calculation.",
            "minimum": 0
        },
        "annual_return": {
            "type": "number",
            "description": "Enter annual return during retirement for this calculation."
        },
        "years": {
            "type": "number",
            "description": "Enter retirement years for this calculation.",
            "minimum": 1
        },
        "other_monthly_income": {
            "type": "number",
            "description": "Enter other monthly income for this calculation.",
            "minimum": 0
        }
    },
    "required": [
        "retirement_savings",
        "annual_return",
        "years",
        "other_monthly_income"
    ],
    "additionalProperties": false
}

Output schema

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

portfolio_monthly_income · number
Monthly portfolio withdrawal calculated by the tool.
total_monthly_income · number
Total monthly income calculated by the tool.
annual_income · number
Total annual income calculated by the tool.
{
    "type": "object",
    "properties": {
        "portfolio_monthly_income": {
            "type": "number",
            "description": "Monthly portfolio withdrawal calculated by the tool."
        },
        "total_monthly_income": {
            "type": "number",
            "description": "Total monthly income calculated by the tool."
        },
        "annual_income": {
            "type": "number",
            "description": "Total annual income calculated by the tool."
        }
    },
    "additionalProperties": false
}

Retirement Income 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/retirement-income-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "retirement_savings": 750000,
    "annual_return": 4,
    "years": 25,
    "other_monthly_income": 1500
}'
{
    "ok": true,
    "data": {
        "slug": "retirement-income-calculator",
        "result": {
            "values": {
                "portfolio_monthly_income": 3958.78000000000020008883439004421234130859375,
                "total_monthly_income": 5458.7799999999997453414835035800933837890625,
                "annual_income": 65505.3199999999997089616954326629638671875
            },
            "display": {
                "display": "3958.78"
            },
            "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.