---
title: "Convert between real and nominal dollars (COLA helper)"
method: POST
path: "/v1/inflation-adjust"
tags: ["Utilities"]
---

# Convert between real and nominal dollars (COLA helper)

`POST /v1/inflation-adjust`

## Request

- Base URL: `https://api.numeratica.com`
- URL: `https://api.numeratica.com/v1/inflation-adjust`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Inflates a present amount to a future nominal value (to_nominal) or deflates a future amount to today's purchasing power (to_real) at a constant annual rate, and returns the year-by-year stream. The rate is an input (no CPI table is embedded). Deterministic.

## Request body

- InflationAdjustRequest
  - `amount` number, required
  - `annual_rate` number, required: Inflation / COLA rate.
  - `years` integer, required
  - `direction` 'to_nominal' | 'to_real', required

## Response `200`

Adjusted amount + schedule

- InflationAdjustResponse
  - `result_id` string
  - `engine_version` string
  - `inputs` InflationAdjustRequest
    - `amount` number, required
    - `annual_rate` number, required: Inflation / COLA rate.
    - `years` integer, required
    - `direction` 'to_nominal' | 'to_real', required
  - `result` object
    - `adjusted_amount` number: The amount at the requested year.
    - `cumulative_factor` number
    - `schedule` object[]: Per-year stream, 0..years.
      - `year` integer
      - `factor` number
      - `amount` number
  - `disclaimer` string

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid API key.
- `405`: Method not allowed
- `429`: The key's per-minute request budget is exceeded. Retry after the delay in the Retry-After header.
- `503`: A dependency (e.g. the key store) is temporarily unavailable, or the request exceeded its compute deadline. Retryable.

---

[API](https://skmtc.dev/numeratica/apis/numeratica-financial-planning-calculations-api.md) · [All operations](https://skmtc.dev/numeratica/apis/numeratica-financial-planning-calculations-api/llms.txt) · [OpenAPI document](https://skmtc.dev/numeratica/apis/numeratica-financial-planning-calculations-api/revisions/075bcfbd1ebf?raw)
