All APIs

Consumer Price Index API

Monthly CPI data from official sources, with coverage listed by country.

Sign-ups paused
Read the docs

First request

Get the history

curl "https://api.dino.markets/v1/economics/DEU/cpi/observations?limit=2" \
  -H "Authorization: Bearer $DINO_API_KEY"
Example response
{
  "country": "DEU",
  "as_of": "2026-10-13T00:00:00Z",
  "index_base": "2020=100",
  "observations": [
    {
      "period": "1997-03",
      "value": "73.0"
    },
    {
      "period": "1997-04",
      "value": "72.9"
    }
  ],
  "next_cursor": "eyJ2IjoyLCJwZXJpb2QiOiIxOTk3LTA0IiwibWVhc3VyZSI6ImNwaSIsIm9wZXJhdGlvbiI6ImNwaSIsImNvdW50cnkiOiJERVUiLCJzdGFydCI6bnVsbCwiZW5kIjpudWxsfQ"
}

Endpoints

GETConsumer Price Index/v1/economics/{country}/cpi

Retrieve the headline consumer price index for one country and month.

Parameters

  • countryrequired

    One supported uppercase country code; see this operation's coverage list.

  • periodoptional

    Omit it for the latest accepted complete release, or pass one exact period.

  • version_idoptional

    Optional immutable publication version. Use resource_version from a dataset.published or dataset.revised event; omit to read the current admitted indicator.

Response fields

  • countrystring

    The requested uppercase ISO alpha-3 country code.

  • periodstring

    The official observation period returned.

  • valuepositive decimal string

    The headline index level.

  • index_basestring

    Base period and base value of the index, for example 1982-84=100.

  • released_ondate

    The official publication date, not dino.markets's retrieval time.

  • sourceobject

    The optional source object appears only when the statistic is received through a distributor. It contains publisher (the original publisher named by the distributor) and distributor (the distributing organisation). When source is present, released_on is the distributor's publication date, not the original publisher's release date. Publisher-direct series omit source.


Full reference
GETConsumer Price Index history/v1/economics/{country}/cpi/observations

Retrieve the current accepted consumer price index time series for one country.

Parameters

  • countryrequired

    One supported uppercase country code; see this operation's coverage list.

  • startoptional

    Inclusive first observation period.

  • endoptional

    Inclusive last observation period.

  • limitoptional

    Maximum number of periods returned. Defaults to 100. A page may contain fewer periods; follow next_cursor.

  • cursoroptional

    The next_cursor from the previous page.

  • versionoptional

    Accepts first_reported only: returns the first stored value per period with first_reported_at. Cannot be combined with as_of.

  • as_ofoptional

    Returns the series as published through the end of the specified UTC day. Cannot be combined with version.

Response fields

  • countrystring

    The requested uppercase ISO alpha-3 country code. Returned once per page, not for each observation.

  • startstring

    Present only when dino.markets moves the requested start to a later period. Earlier periods are not returned.

  • as_ofRFC 3339 timestamp

    When the source last updated the newest observation on this page, in whole seconds, UTC.

  • sourceobject

    Provenance for a statistic received through a distributor; see the latest-value operation.

  • index_basestring

    Base period and base value of the index, for example 1982-84=100. A page never spans two bases.

  • observationsarray

    Oldest-first accepted observations, one per period. Missing source values are omitted, never filled. A page can hold fewer observations than limit; follow next_cursor until it is null.

  • observations[].periodstring

    The official month or quarter represented by the observation.

  • observations[].first_reported_atRFC 3339 timestamp

    Present only with version=first_reported, this UTC timestamp records when dino.markets first stored the period (the latest time if its measures were stored separately); periods released before capture began show dino.markets's first capture.

  • observations[].valuedecimal string

    The accepted index level without binary floating-point conversion.

  • next_cursorstring or null

    Pass this unchanged as cursor to read the next page; null on the last page.


Full reference

Use cases

Adjust a price for inflation

Use CPI index levels to see what an old price is worth now.

Read the use case →

Compare inflation across countries

Rank the latest inflation rates and keep each release date.

Read the use case →

Coverage

Sources

  • AustraliaAustralian Bureau of Statistics (ABS)
  • AustriaStatistics Austria, Eurostat
  • BelgiumStatbel, National Bank of Belgium, Eurostat
  • CanadaStatistics Canada
  • ChileCentral Bank of Chile (BCCh), National Statistics Institute of Chile (INE)
  • ColombiaNational Administrative Department of Statistics (DANE)
  • CroatiaCroatian Bureau of Statistics (CBS)
  • CzechiaCzech Statistical Office (ČSÚ)
  • DenmarkStatistics Denmark, Eurostat
  • EstoniaStatistics Estonia
  • FinlandStatistics Finland, Finnish Customs (Tulli)
  • FranceNational Institute of Statistics and Economic Studies (INSEE), French Customs
Show all 35 sources
  • GermanyFederal Statistical Office of Germany (Destatis)
  • IrelandCentral Statistics Office (CSO)
  • ItalyItalian National Institute of Statistics (Istat), Eurostat
  • JapanStatistics Bureau of Japan, Cabinet Office of Japan, Japan Customs
  • LatviaCentral Statistical Bureau of Latvia (CSB)
  • LithuaniaState Data Agency of Lithuania
  • LuxembourgSTATEC, Eurostat
  • MalaysiaDepartment of Statistics Malaysia (DOSM)
  • MexicoINEGI
  • NetherlandsStatistics Netherlands (CBS)
  • NorwayStatistics Norway (SSB)
  • PhilippinesPhilippine Statistics Authority (PSA)
  • PolandStatistics Poland, Eurostat
  • PortugalStatistics Portugal (INE)
  • QatarNational Planning Council (NPC), via the Qatar Open Data portal
  • Saudi ArabiaGeneral Authority for Statistics (GASTAT)
  • SingaporeSingapore Department of Statistics (SingStat), Singapore government open-data publications
  • SloveniaStatistical Office of the Republic of Slovenia (SURS)
  • SpainNational Statistics Institute of Spain (INE), Spanish Tax Agency (AEAT)
  • SwedenStatistics Sweden (SCB)
  • SwitzerlandSwiss Federal Statistical Office (FSO), Eurostat
  • United KingdomOffice for National Statistics (ONS)
  • United StatesBureau of Labor Statistics (BLS), Bureau of Economic Analysis (BEA), US Census Bureau

Related APIs

Economic data API

Official indicators for prices, labour, output, trade and yields.

Explore the API →

Pricing

Four monthly plans, from Free to $199 a month. A plan sets how far back you can read.

See pricing →

FAQ

Is CPI the same as inflation?

CPI is an index level, while inflation measures a percentage change in prices; use the inflation API when you need an inflation rate.

Can I compare CPI values across countries?

Check index_base before comparing index levels: countries can use different reference bases.

How far back can I read?

It depends on your plan. Free reads the last 12 months, Starter 5 years, Basic 5 years and Pro the full history. The records themselves start earlier; each response reports its own start.

How do I request the latest CPI?

Omit period for the latest accepted complete release, or specify a month using YYYY-MM.