# Statistics Slovenia API: CPI, GDP, Unemployment & Any Table

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. Labelled rows with ISO periods.

$0.16 per 1,000 rows

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

Example request

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

## What a response looks like

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

```
{"count": 5, "items": [{ "codes": {  "MERITVE": "1",  "ŽIVLJENJSKA POTREBŠČINA": "TOT" }, "dimensions": {  "CONSUMER PRODUCT": "TOTAL",  "MEASURES": "Index (month / previous month)" }, "period": "2025-11", "periodCode": "2025M11", … ]}
```

| period | periodCode | preset | series | source | table |
| --- | --- | --- | --- | --- | --- |
| 2025-11 | 2025M11 | cpi | TOTAL, Index (month / previous month) | https://pxweb.stat.si/SiStatData/pxweb/en/Data… | 0400608S.px |
| 2025-12 | 2025M12 | cpi | TOTAL, Index (month / previous month) | https://pxweb.stat.si/SiStatData/pxweb/en/Data… | 0400608S.px |
| 2026-01 | 2026M01 | cpi | TOTAL, Index (month / previous month) | https://pxweb.stat.si/SiStatData/pxweb/en/Data… | 0400608S.px |
| 2026-02 | 2026M02 | cpi | TOTAL, Index (month / previous month) | https://pxweb.stat.si/SiStatData/pxweb/en/Data… | 0400608S.px |
| 2026-03 | 2026M03 | cpi | TOTAL, Index (month / previous month) | https://pxweb.stat.si/SiStatData/pxweb/en/Data… | 0400608S.px |

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

## What it returns

Official statistics from the Statistical Office of the Republic of Slovenia (SURS), read from its PxWeb API as labelled rows with ISO periods. Pull headline inflation, growth and labour-market series, search the table catalogue, or read any table with your own filters. No key needed.

| Field | Meaning |
| --- | --- |
| table, tableTitle | Table path and title |
| indicator, contentsCode | Measure and its code, where the table has one |
| period, periodCode | ISO period (2026-09, 2026Q2) and the source code |
| series, dimensions, codes | Measure plus breakdown labels, and codes to reuse in filters |
| value, updated, preset, source | Figure, table update time, preset used, and table page |

## Common uses

- Baltic, Central European and euro-area macro dashboards
- Tracking Slovenia's inflation, growth and jobs
- Research needing any official Slovenia table

## Request

`POST https://api.pushbuild.com/statistics-slovenia-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, gdp, unemployment. Default (when no table is given): all three. |
| `table` | string | Any table path, e.g. 0400608S.px. Find paths with Search tables. |
| `filters` | string | Variable code -> value codes. ["*"] selects all values. Variables left out use the table total where it has one, else their first value; all contents are returned unless ContentsCode is filtered. |
| `lastN` | integer | How many of the latest periods to return. Default: `12`. |
| `fromPeriod` | string | Period code in the table format, e.g. 2020M01, 2020Q1, 2020. Overrides Latest periods. |
| `toPeriod` | string | ISO form, e.g. 2026-06 or 2026Q2. |
| `search` | string | Words to search Statistics Slovenia tables. Returns matching table paths and titles instead of data. |
| `maxItems` | integer | Maximum items to return (1-500). Default: `100`. |

### Example

```
curl -X POST https://api.pushbuild.com/statistics-slovenia-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-slovenia-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 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 Estonia API: CPI, GDP & Any Official Table API](https://pushbuild.com/apis/statistics-estonia-data.html): 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..
- [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 Sweden API: SCB CPI, CPIF, Jobs, GDP & Any Table API](https://pushbuild.com/apis/statistics-sweden.html): Statistics Sweden (SCB) data from the official PxWebApi: CPI, CPIF and CPIF-XE, LFS unemployment, GDP and the monthly GDP indicator, and population presets, any table by id with dimension filters, and table search.
- [Statistics Poland API: Population, GDP, Wages & Regional Data API](https://pushbuild.com/apis/statistics-poland-data.html): Statistics Poland (GUS) Local Data Bank from its official BDL API: population, GDP, wages, unemployment and births presets, or any of ~40,000 variables for Poland, voivodships, counties and municipalities..

## 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-slovenia-data.html
