Vietnam CPI & Inflation Adjustment API

Vietnam’s monthly CPI from the National Statistics Office: month-on-month, year-on-year, core inflation, gold and USD indices, CPI adjustment.

GEThttps://apibox.io.vn/v1/vn-cpi

Monthly consumer price index of Viet Nam published by the National Statistics Office (Cục Thống kê, Ministry of Finance) since 12/2020: change on the previous month, the same month last year and December last year, the year-to-date average, core inflation, the gold and US dollar price indices and the 11 CPI groups (food, housing, transport, education…), plus a chained index (2024 = 100) linking the 2019 and 2024 base years. The data is rebuilt every week from the official monthly workbooks with consistency checks (the chained year-on-year rates match the published ones within 0.15 point).

action=adjust: amount + from month + to month (default the latest) → the amount adjusted by the CPI, for rent-indexation clauses, long-term contracts or real-wage comparisons; when the months are whole years apart the product of the published year-on-year rates is also given. action=latest (default), month=YYYY-MM and action=series&from=&to= return the figures. Source: Cục Thống kê – Bộ Tài chính (nso.gov.vn); cite it when reusing.

Markdown · OpenAPI · Postman · llms.txt

Parameters

NameInTypeRequiredDefault
actionquerystringnolatestlatest, month, series or adjust (alias mode); guessed from the other parameters.
monthquerystringnoMonth (YYYY-MM).
from / toquerystringnoSeries or adjustment months (YYYY-MM); to defaults to the latest month.
amountquerynumbernoAdjust: amount to adjust.
groupsquerybooleannoSeries: include the 11 groups.

Example

curl "https://apibox.io.vn/v1/vn-cpi?amount=10000000&from=2025-10&to=2026-10" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

{
  "action": "adjust",
  "amount": 10000000,
  "from": "2025-10",
  "to": "2026-10",
  "index_from": 103.601,
  "index_to": 108.878,
  "factor": 1.0509,
  "change_percent": 5.09,
  "adjusted_amount": 10509358,
  "yoy_method": {
    "factor": 1.0509,
    "steps": [
      {
        "month": "2026-10",
        "yoy_percent": 5.09
      }
    ],
    "adjusted_amount": 10509000,
    "note": "Product of the published year-on-year CPI of each anniversary month"
  },
  "note": "adjusted_amount = amount × CPI(to) / CPI(from) using the chained national CPI (2024 = 100). Contracts may define a different index (e.g. the average CPI of a year or a province) – follow the contract.",
  "source": "Cục Thống kê (National Statistics Office of Viet Nam), monthly CPI workbooks, https://www.nso.gov.vn",
  "licence": "Published state statistics; cite \"Cục Thống kê – Bộ Tài chính\" when reusing (Luật Thống kê 2015, Điều 5).",
  "coverage": {
    "from": "2020-12",
    "to": "2026-10"
  }
}

Use cases

  • Index rents and long-term service contracts to the CPI
  • Compare salaries in real terms across years
  • Show the latest inflation in a finance app or newsletter
  • Feed CPI series to Google Sheets or a data-journalism chart

FAQ

When is a new month available?

The NSO publishes around the 6th of the following month; the dataset is refreshed weekly.

Why two adjustment results?

adjusted_amount uses the chained index ratio; yoy_method multiplies the published year-on-year rates, which some contracts specify. They differ only by rounding.

Is there provincial CPI?

Not yet; the API covers the national CPI, its 11 groups, core inflation and the gold and USD indices.

Related APIs

Start with 1,000 free requests every month. Get free API key →