[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [ECB economic time series](https://spiral.ai/integrations/muse-code/ecb-economic-time-series)

# How to Use ECB economic time series in Muse Code

Retrieve dated observations from an identified ECB statistical series. Use it for historical analysis, including monthly exchange rates, when you need a defined series rather than dataset descriptions.

|  |  |
| --- | --- |
| Model | ECB economic time series |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with ECB economic time series in Muse Code

- Use ECB economic time series to retrieve EXR.M.USD.EUR.SP00.A for January through December 2025 and compare the observations with this project's monthly currency chart.
- Use ECB economic time series to retrieve EXR.M.GBP.EUR.SP00.A for 2024 and 2025, then build a chart with clearly labeled units in this project.
- Use ECB economic time series to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from ECB economic time series and tell me what changed since last week.
- Check ECB economic time series and summarize what you find in three bullet points.

## How to set up ECB economic time series in Muse Code

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run ECB economic time series**: One request; the result comes back by polling or a webhook.

```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>"
    }
  }'
```

Then paste one of the prompts above: Muse Code finds ECB economic time series on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## ECB economic time series tools and prices

- [European Central Bank (ECB Data Portal) · Series](https://spiral.ai/tools/alexandria/ecb-europa-eu/economic-data/series) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| last_n | 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 |  | — | End of the period range, inclusive. SDMX period: 2025, 2025-03, 2025-03-31, 2025-Q1, 2025-S1 or 2025-W09. |
| max_series | 1 to 200 | 25 | Maximum series returned for a wildcard key; more is reported as partial with total_series. |
| start_period |  | — | Start of the period range, inclusive. SDMX period: 2025, 2025-03, 2025-03-31, 2025-Q1, 2025-S1 or 2025-W09. |

## What can you do with ECB economic time series in Muse Code?

Build a currency report that connects each plotted value to an identified ECB series. A coding agent can inspect the project's existing calculations, retrieve reference observations, and check currency direction and frequency.

### Prepare a corporate currency reference table

Identify the euro reference series for USD, GBP, and JPY, retrieve the daily observations for a reporting month, and prepare a dated table for a corporate reporting review.

### Build a currency research notebook

Find the relevant exchange rate definitions, collect daily euro reference observations, and compare them with monthly series in a reproducible analysis.

### Write a monthly exchange rate brief

Locate the USD and GBP reference series, summarize their daily movements against the euro, and compare the findings with the corresponding monthly observations.

### Check an existing exchange rate chart

Confirm the chart's currency direction and frequency against ECB series definitions, then compare its plotted values with daily reference rates and the identified statistical series.

### Investigate revisions in a research dataset

Identify an ECB series precisely and retrieve observations for periods already used in an analysis. Compare them with the saved research values to identify changes.

### Compare exchange rate reporting frequencies

Find daily, monthly, quarterly, and annual exchange rate series and inspect their definitions. Retrieve matching periods to explain how the selected frequency affects a report.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## ECB economic time series in other agents

- [Amp](https://spiral.ai/integrations/amp/ecb-economic-time-series)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/ecb-economic-time-series)
- [Claude](https://spiral.ai/integrations/claude-desktop/ecb-economic-time-series)
- [Claude Code](https://spiral.ai/integrations/claude-code/ecb-economic-time-series)
- [Cline](https://spiral.ai/integrations/cline/ecb-economic-time-series)
- [Codex](https://spiral.ai/integrations/codex/ecb-economic-time-series)
- [Cursor](https://spiral.ai/integrations/cursor/ecb-economic-time-series)
- [Devin](https://spiral.ai/integrations/devin/ecb-economic-time-series)
- [dots](https://spiral.ai/integrations/dots/ecb-economic-time-series)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/ecb-economic-time-series)
- [Gemini](https://spiral.ai/integrations/gemini/ecb-economic-time-series)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/ecb-economic-time-series)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/ecb-economic-time-series)
- [goose](https://spiral.ai/integrations/goose/ecb-economic-time-series)
- [Grok](https://spiral.ai/integrations/grok/ecb-economic-time-series)
- [Grok Build](https://spiral.ai/integrations/grok-build/ecb-economic-time-series)
- [Hermes](https://spiral.ai/integrations/hermes/ecb-economic-time-series)
- [Instinct](https://spiral.ai/integrations/instinct/ecb-economic-time-series)
- [Manus](https://spiral.ai/integrations/manus/ecb-economic-time-series)
- [Muse](https://spiral.ai/integrations/muse/ecb-economic-time-series)
- [n8n](https://spiral.ai/integrations/n8n/ecb-economic-time-series)
- [Notion](https://spiral.ai/integrations/notion/ecb-economic-time-series)
- [OpenClaw](https://spiral.ai/integrations/openclaw/ecb-economic-time-series)
- [opencode](https://spiral.ai/integrations/opencode/ecb-economic-time-series)
- [Perplexity](https://spiral.ai/integrations/perplexity/ecb-economic-time-series)
- [Raycast](https://spiral.ai/integrations/raycast/ecb-economic-time-series)
- [VS Code](https://spiral.ai/integrations/vscode/ecb-economic-time-series)
- [Windsurf](https://spiral.ai/integrations/windsurf/ecb-economic-time-series)
- [Zapier](https://spiral.ai/integrations/zapier/ecb-economic-time-series)

## More Muse Code guides

- [ECB dataset search](https://spiral.ai/integrations/muse-code/ecb-dataset-search)
- [ECB exchange rates](https://spiral.ai/integrations/muse-code/ecb-exchange-rates)
- [DeFiLlama yield pools](https://spiral.ai/integrations/muse-code/defillama-yield-pools)
- [EIA dataset directory](https://spiral.ai/integrations/muse-code/eia-dataset-directory)
- [DeFiLlama yield pool history](https://spiral.ai/integrations/muse-code/defillama-yield-pool-history)
- [EIA dataset filter codes](https://spiral.ai/integrations/muse-code/eia-dataset-filter-codes)

## Questions about ECB economic time series in Muse Code

**Can Muse Code use ECB economic time series?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run ECB economic time series like any built-in tool.

**How much does ECB economic time series cost in Muse Code?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse Code plan is separate.

**Do I need an Alexandria account to use ECB economic time series in Muse Code?**

No. Spiral runs ECB economic time series on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up ECB economic time series in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while ECB economic time series runs?**

ECB economic time series runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.

**When does the ECB publish currency reference rates?**

The usual publication time is around 16:00 CET on working days. TARGET closing days are excluded.

**How far back does euro exchange rate history go?**

Daily euro exchange rate history begins on January 4, 1999. Check the selected currency's observations before assuming it covers the full period.

**Are ECB exchange rates available only as daily observations?**

The EXR dataset includes daily, monthly, quarterly, and annual frequencies. Choose the frequency in the series definition before comparing observations.

**Can previously published ECB values change?**

Yes. The ECB data service explicitly supports revised observations, so an earlier period's value can differ between retrievals.

**What identifies an exact ECB statistical series?**

An ECB series key starts with the dataset identifier, followed by dimensions in a defined order separated by periods. Those dimensions distinguish the requested statistic from other series in the dataset.

