# Eurostat dataset query

Query any Eurostat dataset (GDP 'nama_10_gdp', inflation 'prc_hicp_minr', unemployment 'une_rt_m', population 'demo_pjan', e-commerce 'isoc_ec_ibuy'). Needs dataset and key.

Query any Eurostat dataset (GDP 'nama_10_gdp', inflation 'prc_hicp_minr', unemployment 'une_rt_m', population 'demo_pjan', e-commerce 'isoc_ec_ibuy') with an SDMX series key (dimension codes in dataset order joined by '.', '+' for several codes, empty for all; see eurostat/dataset-codes) and get JSON-stat 2.0. Commercial reuse excludes data on countries outside the EU, EFTA and candidate countries.

- Tool ID: `eurostat/dataset-data`
- Provider: [Eurostat](/providers/eurostat.md)
- Capability: [Knowledge & research](/tools/knowledge.md)
- Price: no charge per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

No charge per call. A workspace is still needed so your agent can call it.


```json
{
  "model": "per_call",
  "amountUsd": 0
}
```

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "dataset": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_]{3,40}$",
      "description": "Dataset code, e.g. 'nama_10_gdp'"
    },
    "key": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_+.-]{1,400}$",
      "description": "Series key in dimension order, e.g. 'A.CP_MEUR.B1GQ.FR+DE' (freq.unit.na_item.geo); leave a position empty for all codes"
    },
    "startPeriod": {
      "type": "string",
      "pattern": "^[0-9]{4}(-[0-9A-Z]{2,3}(-[0-9]{2})?)?$",
      "description": "First period to return, e.g. '2023', '2024-01' or '2024-Q1'"
    },
    "endPeriod": {
      "type": "string",
      "pattern": "^[0-9]{4}(-[0-9A-Z]{2,3}(-[0-9]{2})?)?$",
      "description": "Last period to return, e.g. '2024', '2024-06' or '2024-Q4'"
    },
    "lastNObservations": {
      "type": "integer",
      "minimum": 1,
      "maximum": 120,
      "description": "Only the N most recent observations per series, e.g. 12"
    },
    "lang": {
      "type": "string",
      "enum": [
        "EN",
        "FR",
        "DE"
      ],
      "default": "EN",
      "description": "Label language, e.g. 'EN'"
    }
  },
  "required": [
    "dataset",
    "key"
  ],
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "eurostat/dataset-data",
  "input": {
    "dataset": "nama_10_gdp",
    "key": "A.CP_MEUR.B1GQ.FR+DE",
    "startPeriod": "2022",
    "endPeriod": "2023"
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

Licence: Eurostat copyright notice (Commission Decision 2011/833/EU): commercial reuse authorised with source acknowledgement, except data on countries outside the EU, EFTA and candidate countries.

Attribution: Source: Eurostat (dataset code and access date).

[Provider documentation](https://ec.europa.eu/eurostat/web/user-guides/data-browser/api-data-access/api-getting-started/api)

[REST inspection](https://api.agentik.cc/v1/tools/eurostat/dataset-data) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/eurostat/dataset-data) · [Agent index](/llms.txt)
