← All tool references

Finance · not_available

Inflation Calculator

Estimate a future equivalent price and the purchasing power of today’s money.

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

amount · number · required
Enter the current amount used by this tool.
annual_inflation_rate · number · required
Enter the annual inflation rate used by this tool.
years · number · required
Enter the time period used by this tool.
{
    "type": "object",
    "properties": {
        "amount": {
            "type": "number",
            "description": "Enter the current amount used by this tool.",
            "minimum": 0
        },
        "annual_inflation_rate": {
            "type": "number",
            "description": "Enter the annual inflation rate used by this tool."
        },
        "years": {
            "type": "number",
            "description": "Enter the time period used by this tool.",
            "minimum": -100,
            "maximum": 100
        }
    },
    "required": [
        "amount",
        "annual_inflation_rate",
        "years"
    ],
    "additionalProperties": false
}

Output schema

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

future_equivalent · number
Future equivalent cost produced by the tool.
purchasing_power · number
Future purchasing power of current amount produced by the tool.
price_change · number
Estimated price change produced by the tool.
cumulative_inflation · number
Cumulative inflation produced by the tool.
{
    "type": "object",
    "properties": {
        "future_equivalent": {
            "type": "number",
            "description": "Future equivalent cost produced by the tool."
        },
        "purchasing_power": {
            "type": "number",
            "description": "Future purchasing power of current amount produced by the tool."
        },
        "price_change": {
            "type": "number",
            "description": "Estimated price change produced by the tool."
        },
        "cumulative_inflation": {
            "type": "number",
            "description": "Cumulative inflation produced by the tool."
        }
    },
    "additionalProperties": false
}

Inflation 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/inflation-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "amount": 1000,
    "annual_inflation_rate": 3,
    "years": 10
}'
{
    "ok": true,
    "data": {
        "slug": "inflation-calculator",
        "result": {
            "values": {
                "future_equivalent": 1343.920000000000072759576141834259033203125,
                "purchasing_power": 744.0900000000000318323145620524883270263671875,
                "price_change": 343.92000000000001591615728102624416351318359375,
                "cumulative_inflation": 34.39163800000000037471181713044643402099609375
            },
            "display": {
                "display": "1343.92"
            },
            "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.