← All tool references

Finance · not_available

Interest Rate Calculator

Solve the compound annual rate from starting value, ending value, and time.

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/interest-rate-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/interest-rate-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.

starting_value · number · required
Enter starting value for this calculation.
ending_value · number · required
Enter ending value for this calculation.
years · number · required
Enter years for this calculation.
{
    "type": "object",
    "properties": {
        "starting_value": {
            "type": "number",
            "description": "Enter starting value for this calculation.",
            "minimum": 0
        },
        "ending_value": {
            "type": "number",
            "description": "Enter ending value for this calculation.",
            "minimum": 0
        },
        "years": {
            "type": "number",
            "description": "Enter years for this calculation.",
            "minimum": 0.01000000000000000020816681711721685132943093776702880859375
        }
    },
    "required": [
        "starting_value",
        "ending_value",
        "years"
    ],
    "additionalProperties": false
}

Output schema

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

annual_rate · number
Annual rate calculated by the tool.
growth_multiple · number
Growth multiple calculated by the tool.
total_growth · number
Total growth calculated by the tool.
{
    "type": "object",
    "properties": {
        "annual_rate": {
            "type": "number",
            "description": "Annual rate calculated by the tool."
        },
        "growth_multiple": {
            "type": "number",
            "description": "Growth multiple calculated by the tool."
        },
        "total_growth": {
            "type": "number",
            "description": "Total growth calculated by the tool."
        }
    },
    "additionalProperties": false
}

Interest Rate 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/interest-rate-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "starting_value": 10000,
    "ending_value": 15000,
    "years": 5
}'
{
    "ok": true,
    "data": {
        "slug": "interest-rate-calculator",
        "result": {
            "values": {
                "annual_rate": 8.447176999999999935653249849565327167510986328125,
                "growth_multiple": 1.5,
                "total_growth": 50
            },
            "display": {
                "display": "8.447177"
            },
            "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.