# INE Spain API: CPI, HICP, Unemployment, GDP & House Prices

Spain's National Statistics Institute (INE) from its official Tempus3 API: CPI, HICP, EPA unemployment, quarterly GDP, house prices and industrial production presets, or any INE series or table.

$0.16 per 1,000 rows

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

Example request

```
POST /ine-spain-statistics/run
{
  "presets": [
    "cpi",
    "unemployment-rate",
    "gdp"
  ],
  "maxItems": 20
}
```

## What a response looks like

POST /ine-spain-statistics/run{"maxItems": 5, "presets": ["cpi", "unemployment-rate", "gdp"]}

```
{"count": 5, "items": [{ "date": "2025-11-01", "period": "2025-11", "recordType": "observation", "series": "National. Overall index. Annual change", "seriesCode": "IPC290750", "source": "https://www.ine.es/consul/serie.do?s=IPC290750", "table": null, "value": 3.0} ]}
```

| date | period | recordType | series | seriesCode | source |
| --- | --- | --- | --- | --- | --- |
| 2025-11-01 | 2025-11 | observation | National. Overall index. Annual change | IPC290750 | https://www.ine.es/consul/serie.do?s=IPC290750 |
| 2025-12-01 | 2025-12 | observation | National. Overall index. Annual change | IPC290750 | https://www.ine.es/consul/serie.do?s=IPC290750 |
| 2026-01-01 | 2026-01 | observation | National. Overall index. Annual change | IPC290750 | https://www.ine.es/consul/serie.do?s=IPC290750 |
| 2026-02-01 | 2026-02 | observation | National. Overall index. Annual change | IPC290750 | https://www.ine.es/consul/serie.do?s=IPC290750 |
| 2026-03-01 | 2026-03 | observation | National. Overall index. Annual change | IPC290750 | https://www.ine.es/consul/serie.do?s=IPC290750 |

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

## What it returns

Official statistics from Spain's National Statistics Institute (INE), read from its Tempus3 JSON API. Pull headline series for inflation, the labour market, GDP, house prices and industry, or any INE series or table, with monthly or quarterly periods and no key.

| Field | Meaning |
| --- | --- |
| recordType | `observation`, or `table` for table listings |
| seriesCode, series | INE series code and full name |
| period, date | 2026-09 or 2026-Q2, and the period start date |
| value | Observation |
| table | Table id when read from a table |
| source | INE series page |

## Common uses

- Spain inflation and labour-market dashboards
- Regional comparisons across autonomous communities
- Macro models and research needing official Spanish data

## Request

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

| Field | Type | Description |
| --- | --- | --- |
| `presets` | list of strings | Headline Spanish series. Default when nothing is chosen: CPI annual rate, unemployment rate, GDP quarterly growth and house price annual change. |
| `seriesCodes` | list of strings | Any INE series code, e.g. IPC290750 (CPI annual rate) or EPA452434 (unemployment rate). |
| `table` | string | Any INE table id, e.g. 14506 (unemployment rates by age, sex and region). Returns every series in it, narrowed by Filter. |
| `filter` | string | Keep table series whose name contains all these words, e.g. 'both genders total'. |
| `listTables` | string | Operation code such as IPC, EPA, CNTR2010, IPV or IPI; returns its tables with ids. |
| `lastN` | integer | Most recent observations per series when no dates are set. Default: `12`. |
| `startDate` | string | First date, e.g. 2020-01-01. |
| `endDate` | string | Last date, e.g. 2026-12-31. |
| `maxRows` | integer | Stop reading a large table after this many rows. Default: `5000`. |
| `maxItems` | integer | Maximum items to return (1-500). Default: `100`. |

### Example

```
curl -X POST https://api.pushbuild.com/ine-spain-statistics/run \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"presets": ["cpi", "unemployment-rate", "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/ine-spain-statistics`. 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

- [Ireland CSO API: CPI, Unemployment, GDP, House Prices & Tables API](https://pushbuild.com/apis/ireland-cso-statistics.html): Central Statistics Office Ireland data from its official PxStat API: CPI, HICP, monthly unemployment, GDP and GNP, residential property prices, retail sales and industrial production presets, or any CSO table with dimension filters..
- [Eurostat API: EU GDP, Inflation, Unemployment by Country API](https://pushbuild.com/apis/eurostat-indicators.html): Official Eurostat statistics for EU countries: GDP growth, HICP inflation, unemployment, government debt and deficit, industrial production, retail sales, house prices, sentiment and population, or any Eurostat dataset by code, with change vs previous period and year ago..
- [SingStat API: Singapore CPI, Core Inflation, GDP & NODX API](https://pushbuild.com/apis/singapore-singstat-data.html): Singapore Department of Statistics data from the official Table Builder API: CPI, MAS core inflation, GDP, unemployment, retail sales, industrial production and non-oil domestic exports presets, any Table Builder table, and table search..
- [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.
- [INSEE France Statistics API: CPI, GDP, Jobs & Any Series API](https://pushbuild.com/apis/insee-france-statistics.html): French national statistics from INSEE's official BDM database: CPI (base 2025), GDP, ILO unemployment, business and employment climate and consumer confidence presets, any series by 9-digit idbank, or any BDM dataflow by SDMX key..
- [IMF World Economic Outlook API: GDP, Inflation, Debt Forecasts API](https://pushbuild.com/apis/imf-economic-outlook.html): IMF World Economic Outlook and Fiscal Monitor data from the official DataMapper API: real GDP growth, inflation, unemployment, current account, government debt and balances, GDP and population, actuals and IMF projections for 190+ countries and regions..

## 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/ine-spain-statistics.html
