# ECB statistical series

Series from the ECB Data Portal by dataflow and SDMX key: euro exchange rates ('EXR', 'M.USD.EUR.SP00.A'), key policy rates. Needs dataflow and key. Served by European Central Bank.

Series from the ECB Data Portal by dataflow and SDMX key: euro exchange rates ('EXR', 'M.USD.EUR.SP00.A'), key policy rates ('FM', 'B.U2.EUR.4F.KR.MRR_FR.LEV'), HICP ('ICP'), money and credit ('BSI', 'MIR'), government finance ('GFS'). '+' joins codes, an empty position means all. Returns SDMX-JSON with observations and dimension labels.

- Tool ID: `ecb/series-data`
- Provider: [European Central Bank](/providers/ecb.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": {
    "dataflow": {
      "type": "string",
      "pattern": "^[A-Z0-9_]{2,20}$",
      "description": "Dataflow ID, e.g. 'EXR' (exchange rates), 'FM' (financial markets), 'ICP' (HICP), 'BSI', 'MIR'"
    },
    "key": {
      "type": "string",
      "pattern": "^(all|[A-Za-z0-9_+.-]{1,400})$",
      "description": "Series key, e.g. 'M.USD+GBP.EUR.SP00.A' (monthly USD and GBP against EUR)"
    },
    "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"
    },
    "detail": {
      "type": "string",
      "enum": [
        "dataonly",
        "full"
      ],
      "default": "dataonly",
      "description": "'dataonly' observations only, 'full' also attributes (titles, units, decimals)"
    }
  },
  "required": [
    "dataflow",
    "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": "ecb/series-data",
  "input": {
    "dataflow": "EXR",
    "key": "M.USD+GBP.EUR.SP00.A",
    "startPeriod": "2024-01",
    "endPeriod": "2024-03"
  }
}
```

## 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: ESCB statistics reuse policy: free reuse, commercial included, with source quoted and statistics unmodified.

Attribution: Source: ECB statistics..

[Provider documentation](https://data.ecb.europa.eu/help/api/data)

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

---

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