# European Central Bank (ECB Data Portal) · Series

Get market and financial data with European Central Bank (ECB Data Portal) · Series from Alexandria through one Spiral API key. Euro area statistics from the ECB: €STR (EST B.EU000A2X2A25.WT), key ECB interest rates (FM B.U2.EUR.4F.KR.MRR_FR.LEV, DFR, MLFR), HICP inflation (ICP M.U2.N.000000.4.ANR), M3 (BSI M.U2.Y.V.M30.X.1.U2.2300.Z01.E), bank lending rates (MIR), yield curves (YC), or any other ECB series key. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

- Provider: Alexandria
- Category: Finance
- Runs: In the background
- Returns: json
- Tool id: `alexandria` / `ecb-europa-eu/economic-data/series`
- Page: https://spiral.ai/tools/alexandria/ecb-europa-eu/economic-data/series

## Pricing

$0.00873 per call.

## Limits

- Longest queue wait: 1 hour
- Run deadline: 5 minutes
- Longest run, end to end: 225 minutes
- Largest inline input: 1 MB
- Largest input file: 2 GB
- Largest output: 5 GB

## Input

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `key` (required) | text |  | — | SDMX series key: one code per dimension in order, separated by '.'; join alternatives with '+'; leave a position empty for any code. Examples: EST B.EU000A2X2A25.WT (€STR), FM B.U2.EUR.4F.KR.MRR_FR.LEV (main refinancing rate), FM B.U2.EUR.4F.KR.DFR.LEV (deposit facility rate), ICP M.U2.N.000000.4.ANR (euro area HICP annual rate), BSI M.U2.Y.V.M30.X.1.U2.2300.Z01.E (M3). search_dataflows with `flow` lists each dimension's codes. |
| `flow` (required) | text |  | — | ECB dataflow id, e.g. EXR (exchange rates), EST (euro short-term rate), FM (financial markets incl. key policy rates), ICP (HICP inflation), BSI (monetary aggregates such as M3), MIR, YC. search_dataflows lists them. |
| `last_n` | number | 1 to 10000 | — | Only the last N observations of each series (within the range, when given). Without a range or last_n the full history is returned. |
| `end_period` | text |  | — | End of the period range, inclusive. SDMX period: 2025, 2025-03, 2025-03-31, 2025-Q1, 2025-S1 or 2025-W09. |
| `max_series` | number | 1 to 200 | 25 | Maximum series returned for a wildcard key; more is reported as partial with total_series. |
| `start_period` | text |  | — | Start of the period range, inclusive. SDMX period: 2025, 2025-03, 2025-03-31, 2025-Q1, 2025-S1 or 2025-W09. |

## Example

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "ecb-europa-eu/economic-data/series",
    "input": {
      "key": "<key>",
      "flow": "<flow>"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=alexandria&model=ecb-europa-eu%2Feconomic-data%2Fseries

## Common questions

### European Central Bank (ECB Data Portal) · Series

**How much does European Central Bank (ECB Data Portal) · Series cost?**

$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

**How do I use European Central Bank (ECB Data Portal) · Series through an API?**

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "ecb-europa-eu/economic-data/series"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

**Do I need an account with Alexandria to use European Central Bank (ECB Data Portal) · Series?**

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

**Can my AI agent use European Central Bank (ECB Data Portal) · Series?**

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.

