Skip to content
HALOWERK

Rechenwerk

cpi adjust

Looks up the official VPI values (Destatis, base 2020 = 100; months 1991-01 to 2026-09 and annual averages 1991-2025, as of 2026-10-13) for the start and end period and computes change in index points and percent, the factor new/old and the adjusted amount = amount × (1 + pass-through × (new/old − 1)). Optional thresholds in percent or index points (as in value-protection clauses) decide whether the adjustment applies. Periods without a published final value are rejected; no estimates or.

POST https://rechen.halowerk.com/v1/cpi-adjust

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
amountnumberYesAmount to adjust (e.g. rent, maintenance, price).
fromstringYesBase period: YYYY-MM (month) or YYYY (annual average).
tostringYesComparison period, same granularity as from.
threshold_percentnumberNoAdjust only if the index changed by at least this many percent.
threshold_pointsnumberNoAdjust only if the index changed by at least this many points.
pass_through_percentnumberNoShare of the index change passed on (100 = full).
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "amount",
    "from",
    "to"
  ],
  "properties": {
    "amount": {
      "type": "number",
      "exclusiveMinimum": 0,
      "maximum": 1000000000000,
      "description": "Amount to adjust (e.g. rent, maintenance, price)."
    },
    "from": {
      "type": "string",
      "pattern": "^\\d{4}(-\\d{2})?$",
      "description": "Base period: YYYY-MM (month) or YYYY (annual average)."
    },
    "to": {
      "type": "string",
      "pattern": "^\\d{4}(-\\d{2})?$",
      "description": "Comparison period, same granularity as from."
    },
    "threshold_percent": {
      "type": "number",
      "minimum": 0,
      "maximum": 100,
      "description": "Adjust only if the index changed by at least this many percent."
    },
    "threshold_points": {
      "type": "number",
      "minimum": 0,
      "maximum": 100,
      "description": "Adjust only if the index changed by at least this many points."
    },
    "pass_through_percent": {
      "type": "number",
      "minimum": 0,
      "maximum": 100,
      "default": 100,
      "description": "Share of the index change passed on (100 = full)."
    }
  }
}

Open original schema

Published input example

{
  "amount": 1000,
  "from": "2020-01",
  "to": "2025-01"
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub →