hesaplayıcı
Menu

Türkiye Inflation Calculator (CPI): API and MCP

Türkiye Inflation Calculator (CPI) over REST and MCP: input fields, limits, outputs, one example request and its real answer. Free, no sign-up.

GET /api/v1/tools/finance.inflation.tr/mcp/finance

Id
finance.inflation.tr
Version
1.0.0
Access
Free
Tool page
Türkiye Inflation Calculator (CPI)
Schema
GET /api/v1/tools/finance.inflation.tr

Input

FieldTypeConstraintsDefaultDescription
amount (required)number> 0, ≤ 10,000,000,000,000Amount (TRY)
from (required)stringStart month · Any day of the month; only the month and the year count. The data starts in January 2003.
tostringTarget month · Leave it empty for the last month TurkStat has published. Pick a month before the start to carry the amount back in time.

Output

FieldTypeDescription
valuenumberValue in the target month (TRY)
changenumberTotal inflation (%)
differencenumberDifference (TRY)
averageAnnualRatenumberAverage yearly inflation (%)
monthsnumberPeriod (months)
fromIndexnumberStart month CPI (2003=100)
toIndexnumberTarget month CPI (2003=100)

Example request

{
  "input": {
    "amount": 1000,
    "from": "2025-01-01",
    "to": "2026-08-01"
  },
  "locale": "en"
}
Example answer
{
  "output": {
    "value": 1521.25,
    "change": 52.13,
    "difference": 521.25,
    "averageAnnualRate": 30.34,
    "months": 19,
    "fromIndex": 2819.65,
    "toIndex": 4289.4
  },
  "steps": [
    {
      "id": "link-2026-08",
      "formula": "CPI on the 2003=100 base (2026-08) = CPI (2025=100) × 2025 average (2003=100) / 100",
      "substitution": "134.75 × 31.8322916667",
      "value": 4289.4
    },
    {
      "id": "value",
      "formula": "value at the target month = amount × CPI (2026-08) / CPI (2025-01)",
      "substitution": "value at the target month = 1,000 × 4,289.4 / 2,819.65",
      "value": 1521.25
    },
    {
      "id": "change",
      "formula": "total inflation = CPI (2026-08) / CPI (2025-01) − 1",
      "substitution": "total inflation = 4,289.4 / 2,819.65 − 1 = 52.13%",
      "value": 52.13,
      "unit": "%"
    },
    {
      "id": "averageAnnualRate",
      "formula": "average yearly inflation = (1 + total inflation)^(12 / months) − 1",
      "substitution": "average yearly inflation = (1 + 52.13%)^(12 / 19) − 1",
      "value": 30.34,
      "unit": "%"
    }
  ],
  "meta": {
    "toolVersion": "1.0.0",
    "dataVersion": "2026-08-01",
    "locale": "en"
  },
  "citation": {
    "url": "https://hesaplayici.com/en/finance/turkey-inflation-calculator",
    "title": "Türkiye Inflation Calculator (CPI)"
  }
}