# Eurostat API

> Returns Eurostat statistical dataset values, the dataset catalogue and the dimensions of each dataset.

Category: Government & Open Data. Region: EU. 4 endpoints at `https://api.hoshime.com/v1/eurostat/<endpoint>`, `GET` with query parameters, answering `{data, meta}` (see https://hoshime.com/docs/responses.md). Reference: https://hoshime.com/docs/platforms/eurostat
## GET /v1/eurostat/data

Values of a Eurostat dataset, filtered by its dimensions, such as geo=DE&coicop=CP00. Up to 2000 values per call.

Scope: `social:read` · Units: 1 · Cached: 60 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `dataset` | string | yes | Dataset code, such as prc_hicp_manr. (e.g. prc_hicp_manr) |
| `filter` | string | no | Dimension filters as dim=code pairs joined by &, such as geo=DE&unit=RCH_A. Omit it only for small datasets. (e.g. geo=DE&coicop=CP00&unit=RCH_A) |
| `since` | string | no | First period to return: a year, a month (2025-10) or a quarter (2025-Q3). (e.g. 2025-10) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `dataset` (string), `items` (Observation[]), `items[].dimensions` (map), `items[].time` (string), `items[].value` (number (double)), `label` (string), `updatedAt` (string)

```bash
curl "https://api.hoshime.com/v1/eurostat/data?dataset=prc_hicp_manr&filter=geo%3DDE%26coicop%3DCP00%26unit%3DRCH_A&since=2025-10" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/eurostat/datasets

Search the Eurostat dataset catalogue by title or code, with the data period of each dataset.

Scope: `social:read` · Units: 1 · Cached: 360 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | no | Words to find in the title or the code, such as unemployment or prc_hicp. Omit to list every dataset. (e.g. unemployment) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `code` (string), `dataEnd` (string), `dataStart` (string), `lastUpdateDate` (string), `title` (string), `values` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/eurostat/datasets?query=unemployment" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/eurostat/dimensions

The dimensions of a Eurostat dataset and the codes each one takes, as a filter guide.

Scope: `social:read` · Units: 1 · Cached: 1440 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `dataset` | string | yes | Dataset code such as une_rt_m or prc_hicp_manr. (e.g. une_rt_m) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `dataset` (string), `dimensions` (Dimension[]), `dimensions[].codes` (Code[]), `dimensions[].id` (string), `dimensions[].label` (string), `label` (string), `updatedAt` (string)

```bash
curl "https://api.hoshime.com/v1/eurostat/dimensions?dataset=une_rt_m" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/eurostat/recentlyUpdated

The Eurostat datasets updated most recently, newest update first, 100 per page.

Scope: `social:read` · Units: 1 · Cached: 60 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `code` (string), `dataEnd` (string), `dataStart` (string), `lastUpdateDate` (string), `title` (string), `values` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/eurostat/recentlyUpdated" -H "Authorization: Bearer $HOSHIME_TOKEN"
```
