# Statistics Estonia API: CPI, GDP & Any Official Table

Statistics Estonia data from its official PxWeb API: monthly CPI and quarterly GDP presets, a table search, or any table with variable filters, with year and month or quarter merged into one period.

$0.16 per 1,000 rows

[Get an API key](https://pushbuild.com/apis/app/signup?api=statistics-estonia-data)

Example request

```
POST /statistics-estonia-data/run
{
  "presets": [
    "cpi",
    "gdp"
  ],
  "maxItems": 20
}
```

## What a response looks like

POST /statistics-estonia-data/run{"maxItems": 5, "presets": ["cpi", "gdp"]}

```
{"count": 5, "items": [{ "codes": {}, "contentsCode": "2", "dimensions": {}, "indicator": "Consumer price index, change compared to previous mon… "period": "2025-01", "periodCode": "2025", "preset": "cpi", "series": "Consumer price index, change compared to previous month,… "source": "https://andmed.stat.ee/en/stat/majandus/hinnad/IA021.PX", "table": "majandus/hinnad/IA021.PX", … ]}
```

| contentsCode | indicator | period | periodCode | preset | series |
| --- | --- | --- | --- | --- | --- |
| 2 | Consumer price index, change compared to previ… | 2025-01 | 2025 | cpi | Consumer price index, change compared to previ… |
| 2 | Consumer price index, change compared to previ… | 2025-02 | 2025 | cpi | Consumer price index, change compared to previ… |
| 2 | Consumer price index, change compared to previ… | 2025-03 | 2025 | cpi | Consumer price index, change compared to previ… |
| 2 | Consumer price index, change compared to previ… | 2025-04 | 2025 | cpi | Consumer price index, change compared to previ… |
| 2 | Consumer price index, change compared to previ… | 2025-05 | 2025 | cpi | Consumer price index, change compared to previ… |

Real rows returned by this API on 2026-11-09 for the request shown.

## What it returns

Official statistics from Statistics Estonia, read from its PxWeb API. Pull monthly consumer price changes and quarterly GDP, search the table catalogue, or read any table with your own filters. Year and month or quarter come back as one period. No key needed.

| Field | Meaning |
| --- | --- |
| table, tableTitle | Table path and title |
| indicator, contentsCode | Measure and its code |
| period | 2026-03, 2026Q2 or 2026 |
| series | Indicator plus every other breakdown |
| dimensions, codes | Breakdown labels and their codes |
| value | Observation |
| source | Table page on andmed.stat.ee |

## Common uses

- Baltic and euro-area macro dashboards
- Estonian inflation and growth tracking
- Research needing any official Estonian table

## Request

`POST https://api.pushbuild.com/statistics-estonia-data/run` with a JSON body. Send your key in the `X-API-Key` header.

| Field | Type | Description |
| --- | --- | --- |
| `presets` | list of strings | Any of: cpi (monthly change), gdp (quarterly, seasonally adjusted level and growth). Default when no table is given: both. |
| `table` | string | Any table as path/ID, e.g. majandus/hinnad/IA021.PX. Find paths with Search tables. |
| `filters` | string | Variable code -> value codes, e.g. {"Näitaja": ["1"]}. ["*"] selects all values. Month and quarter are always all; other variables left out use the table total where it has one, else their first value. |
| `lastN` | integer | How many of the latest years to return (every month or quarter in them). Default: `2`. |
| `fromPeriod` | string | First year, e.g. 2020. Overrides Latest years. |
| `toPeriod` | string | Last period in ISO form, e.g. 2026-06 or 2026Q2. |
| `search` | string | Words to search Statistics Estonia tables. Returns matching tables with their paths instead of data. |
| `maxItems` | integer | Maximum items to return (1-500). Default: `100`. |

### Example

```
curl -X POST https://api.pushbuild.com/statistics-estonia-data/run \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"presets": ["cpi", "gdp"], "maxItems": 20}'
```

### Response

```
{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}
```

Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.

## Pricing

Pay only for results returned: $0.16 per 1,000 rows. No charge for errors or empty searches.

| Rows | Cost |
| --- | --- |
| 1,000 | $0.16 |
| 10,000 | $1.60 |
| 100,000 | $16.00 |
| 1,000,000 | $160.00 |
| 6,249 a month | Free ($1 monthly credit) |

## Use it from Claude, ChatGPT or Cursor

This API is also an MCP server: `https://api.pushbuild.com/mcp/statistics-estonia-data`. Add it to any assistant that supports remote MCP servers, with your key in the `X-API-Key` header. Same prices. [Setup for each app](https://pushbuild.com/apis/mcp.html).

## Related APIs

- [Statistics Slovenia API: CPI, GDP, Unemployment & Any Table API](https://pushbuild.com/apis/statistics-slovenia-data.html): Statistical Office of Slovenia (SURS) data from its official PxWeb API: monthly CPI, quarterly GDP and monthly unemployment presets, any table with variable filters, and table search.
- [Statistics Latvia API: CPI, GDP, Unemployment & Any Table API](https://pushbuild.com/apis/statistics-latvia-data.html): Central Statistical Bureau of Latvia data from its official PxWeb API: monthly CPI, quarterly GDP growth and unemployment presets, any table by path with variable filters, and table search.
- [Statistics Iceland API: CPI, Population & Tables API](https://pushbuild.com/apis/statistics-iceland-data.html): Official Statistics Iceland (Hagstofa) data: monthly CPI and inflation, quarterly population, GDP, a folder browser, table search and any official Icelandic table with filters, from the PxWeb API..
- [Statistics Finland API: StatFin CPI, Jobs, GDP & Any Table API](https://pushbuild.com/apis/statistics-finland.html): Statistics Finland (StatFin) data from the official PxWeb API: CPI (2025=100, annual and monthly change), LFS unemployment and employment rate, and GDP presets, any StatFin table by path with variable filters, and table search.
- [Statistics Denmark API: Statbank Tables, CPI, GDP & Rates API](https://pushbuild.com/apis/statistics-denmark.html): Any of Statistics Denmark's ~2,300 Statbank tables by id with dimension filters, plus presets for CPI, unemployment, GDP, population and Nationalbank policy rates, and a table search.
- [Statistics Canada API: CPI, Jobs, GDP, Retail & Housing API](https://pushbuild.com/apis/statistics-canada-data.html): Statistics Canada data from the official Web Data Service: CPI and core inflation, unemployment and employment, wages, monthly and quarterly GDP, retail and manufacturing sales, housing starts and prices, building permits, exports and population.

## Tell us what you need built.

Questions about this API, higher volumes, or a data source you need that we don't cover yet.

[hello@pushbuild.com](mailto:hello@pushbuild.com?subject=API%20question)

## New APIs and data, twice a month

New data APIs, coverage changes and analysis from Pushbuild. No spam; one click to leave.

---
As of 2026-12-03. Source: https://pushbuild.com/apis/statistics-estonia-data.html
