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
| Field | Type | Constraints | Default | Description |
|---|---|---|---|---|
amount (required) | number | > 0, ≤ 10,000,000,000,000 | Amount (TRY) | |
from (required) | string | Start month · Any day of the month; only the month and the year count. The data starts in January 2003. | ||
to | string | Target 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
| Field | Type | Description |
|---|---|---|
value | number | Value in the target month (TRY) |
change | number | Total inflation (%) |
difference | number | Difference (TRY) |
averageAnnualRate | number | Average yearly inflation (%) |
months | number | Period (months) |
fromIndex | number | Start month CPI (2003=100) |
toIndex | number | Target 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)"
}
}