---
title: "Harmonised inflation history API Reference | Narwhal API"
description: "Retrieve the monthly harmonised inflation (HICP) history for one country, oldest first. Parameters, examples, errors, freshness, and coverage."
url: "https://narwhalapi.com/docs/api/economics/harmonised-inflation-history"
---

# Harmonised inflation history API

Retrieve the monthly harmonised inflation (HICP) history for one country, oldest first.

`economics_get_harmonised_inflation_history` is available through REST and the `economics_get_harmonised_inflation_history` MCP tool. Both return the same data shape and use the same credit.

## Endpoint and request

REST endpoint

```
GET /v1/economics/{country}/harmonised-inflation/observations
```

Example request

```
curl --request GET \
  --url "https://api.narwhalapi.com/v1/economics/FRA/harmonised-inflation/observations?start=2026-01&limit=2" \
  --header "Authorization: Bearer $NARWHAL_API_KEY"
```

MCP uses tool `economics_get_harmonised_inflation_history` with the corresponding arguments below.

## Parameters

The accepted period format for this operation is `YYYY-MM`.

| Name | Required | Type | Meaning |
| --- | --- | --- | --- |
| `country` | Yes | path · ISO alpha-3 | One supported uppercase country code; see this operation’s coverage list. |
| `start` | No | query · YYYY-MM | Inclusive first observation period. |
| `end` | No | query · YYYY-MM | Inclusive last observation period. |
| `limit` | No | query · integer, 1–1000 | Maximum number of periods returned. Defaults to 100. A page may contain fewer periods; follow next_cursor. |
| `cursor` | No | query · opaque string | The next_cursor from the previous page. |
| `series_id` | No | query · UUID | Optional. Omit it for the annual rate, the default series. Pass the `series_id` of the index level to read the index instead. Find it with `GET /v1/economics/{country}/series?family=harmonised-inflation`: it is the series whose `unit` is `index`. |

## Response

Example response

```
{
  "source": {
    "publisher": "Eurostat",
    "distributor": "Eurostat"
  },
  "measure": "year_over_year",
  "seasonal_adjustment": "not_seasonally_adjusted",
  "classification": "COICOP 2018, all items (HICP total)",
  "country": "FRA",
  "series_id": "1b1f2448-2ba6-4523-a6ce-55c488ca15d1",
  "unit": "percent",
  "observations": [
    {
      "period": "2026-01",
      "value": "0.4"
    },
    {
      "period": "2026-02",
      "value": "1.1"
    }
  ],
  "next_cursor": "eyJhZnRlciI6IjIwMjYtMDIi…"
}
```

The history example asks for `limit=2`, so it holds two rows. `next_cursor` is shortened here. A real one is a longer opaque string.

| Field | Type | Required | Meaning |
| --- | --- | --- | --- |
| `source` | object | Yes | Who published the figure. `publisher` is the statistics body whose figure it is, and `distributor` is the body Narwhal reads it from. One source per series, for its whole history. There is no `released_on`. |
| `measure` | string | Yes | `year_over_year` is the annual rate of change in percent. `level` is the index level. |
| `seasonal_adjustment` | string | Yes | Always `not_seasonally_adjusted`. |
| `classification` | string | Yes | The price aggregate the figure covers: all items, COICOP 2018. |
| `base_period` | string | No | The year the index is 100 in. Present for the index level only. |
| `base_value` | decimal string | No | The index value in the base year. Present for the index level only. |
| `country` | string | Yes | The requested uppercase ISO alpha-3 country code. |
| `series_id` | string | Yes | The series the figure comes from. Pass it as `series_id` to read the same series again. |
| `unit` | string | Yes | `percent` for the annual rate, `index` for the index level. |
| `observations` | array | Yes | Oldest-first observations, one per period. A page can hold fewer observations than `limit`. Follow `next_cursor` until it is null. |
| `observations[].period` | string | Yes | The official month, quarter or year represented by the observation. |
| `observations[].value` | decimal string | Yes | The figure in `unit`: the annual rate in percent, which can be negative, or the index level. |
| `observations[].status` | string | No | Present only for a figure the publisher flags: `estimated`, `break_in_series`, `definition_differs` or `break_in_series_and_definition_differs`. Left out otherwise. |
| `observations[].release_status` | string | No | `preliminary` when the publisher marks the figure provisional. Left out otherwise. |
| `next_cursor` | string or null | Yes | Pass this unchanged as cursor to read the next page. It is null on the last page. |

## Errors and credits

- `400 invalid_query`: A query parameter is unknown or repeated, `country` is not three uppercase letters, `series_id` is not a UUID, `start` or `end` is not a month in `YYYY-MM` format, `start` and `end` differ in format or `start` is after `end`, or `limit` is outside 1 to 1000. `version_id`, `version` and `as_of` are not accepted on this route.
- `400 invalid_cursor`: The cursor is malformed, or was issued for other filters.
- `409 snapshot_unavailable`: The cursor is more than 24 hours old and has expired. Start again without `cursor`.
- `401 invalid_api_key`: The Bearer key is missing or rejected.
- `402 insufficient_credits`: Your balance does not cover the call.
- `404 series_not_found`: The country is not in the coverage list on this page, `series_id` is not a series of that country, or the range holds no observation. A country outside the list gets a detail that says the family is not available for it. A 404 is not charged.
- `429 rate_limit_exceeded`: The network or account short-window limit was reached. Retry after `Retry-After`.
- `503 economics_unavailable`: Narwhal cannot safely serve the stored series.

Only a successful data response costs credit. See [all errors, headers, and retry rules](https://narwhalapi.com/docs/errors.md).

## Freshness

This route returns Narwhal's current stored series, oldest first. Without `start` it begins at the oldest stored period, so pass `start` to read recent periods. It does not take `as_of` or `version`, so an earlier vintage cannot be read. Narwhal omits missing observations rather than filling them.

Read [how source checks, validation, stored releases, and failed checks work](https://narwhalapi.com/docs/freshness.md).

## Current public-beta coverage

10 Countries

`DNK, ESP, FIN, FRA, IRL, LVA, NLD, PRT, SVN, SWE`

Monthly harmonised index of consumer prices (HICP), all items, from Eurostat, not seasonally adjusted. It is not the national `inflation` route, and the two figures for one country differ. The default series is the annual rate of change in percent, which can be negative. The index level has base `2025=100`. A period is a month in `YYYY-MM` format. Any other country returns `404 series_not_found` and is not charged. To read the index level, list the country's series first: `GET /v1/economics/{country}/series?family=harmonised-inflation` returns each series with its `series_id`, `name`, `unit` (`percent` or `index`) and `is_default`, and a request with `limit` and `cursor` pages through them. Pass the `series_id` whose `unit` is `index` to the latest or history route.

### List the series

Example request

```
curl --request GET \
  --url "https://api.narwhalapi.com/v1/economics/FRA/series?family=harmonised-inflation" \
  --header "Authorization: Bearer $NARWHAL_API_KEY"
```

Example response

```
{
  "series": [
    {
      "country": "FRA",
      "series_id": "11bc022a-cd6e-4847-8ff8-11dae4e93451",
      "unit": "index",
      "name": "Harmonised index of consumer prices",
      "frequency": "monthly",
      "first_period": "2000-01",
      "last_period": "2026-10",
      "family": "harmonised-inflation",
      "definition": {
        "base_period": "2025",
        "base_value": "100",
        "seasonal_adjustment": "not_seasonally_adjusted",
        "measure": "level",
        "classification": "COICOP 2018, all items (HICP total)"
      }
    },
    {
      "country": "FRA",
      "series_id": "1b1f2448-2ba6-4523-a6ce-55c488ca15d1",
      "unit": "percent",
      "name": "Harmonised inflation, annual rate",
      "is_default": true,
      "frequency": "monthly",
      "first_period": "2000-01",
      "last_period": "2026-10",
      "family": "harmonised-inflation",
      "definition": {
        "measure": "year_over_year",
        "seasonal_adjustment": "not_seasonally_adjusted",
        "annualization": "not_annualized",
        "classification": "COICOP 2018, all items (HICP total)"
      }
    }
  ],
  "next_cursor": null
}
```

Daily FX is available through the [FX API](https://narwhalapi.com/api/fx.md).

Return to [all Economics operations](https://narwhalapi.com/docs/api/economics.md).

## Start with a free key

Free $10 credits every month, no card.Free $10 credits a month, no card.

[Get a free API key](https://narwhalapi.com/signup)

Was this page helpful?
