[Integrations](https://spiral.ai/integrations) › [OpenClaw](https://spiral.ai/integrations/openclaw) › [ECB exchange rates](https://spiral.ai/integrations/openclaw/ecb-exchange-rates)

# How to Use ECB exchange rates in OpenClaw

Get dated ECB currency reference rates quoted against the euro. Use them for currency comparisons and financial reporting research when you need daily reference observations.

|  |  |
| --- | --- |
| Model | ECB exchange rates |
| 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 exchange rates in OpenClaw

- Each weekday after 17:00 CET, use ECB exchange rates to check the latest US dollar, pound sterling, and Japanese yen observations against the euro and summarize any newly published date.
- Every Friday, use ECB exchange rates to summarize the available pound sterling observations against the euro from the preceding seven days.
- Every Monday at 9am: use ECB exchange rates to look this up and give me the result as a table.
- Pull the latest numbers from ECB exchange rates and tell me what changed since last week.
- Check ECB exchange rates and summarize what you find in three bullet points.

## How to set up ECB exchange rates in OpenClaw

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

### Use the Spiral skill

1. **Send OpenClaw 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 Spiral's MCP server

1. **Add the server**: On the machine that runs OpenClaw's Gateway:

```bash
openclaw mcp add spiral \
  --url https://api.spiral.ai/mcp \
  --transport streamable-http \
  --auth oauth
```

2. **Sign in**: In Settings › MCP, select Sign in on the Spiral server, sign in to Spiral and click Authorize. No API key.

```bash
openclaw mcp login spiral
```

3. **Reload and check**: A running Gateway may keep its old tool list: restart it, or Save & Publish in the Control UI.

```bash
openclaw mcp reload
openclaw mcp doctor spiral --probe
```

### 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 exchange rates**: 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/fx_rates",
    "input": {
      "base": "<base>"
    }
  }'
```

Then paste one of the prompts above: OpenClaw finds ECB exchange rates on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/openclaw

## ECB exchange rates tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| base |  | — | With quote: also derive the cross rate quote-per-base (e.g. base USD, quote JPY gives JPY per 1 USD) from the two EUR legs on each common date. Non-EUR. Pattern: ^[A-Za-z]{3}$. |
| date |  | — | One day, YYYY-MM-DD. Weekends and TARGET holidays have no rates (not_found). Mutually exclusive with start_date/end_date. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| quote |  | — | With base: the currency the cross rate is expressed in. Non-EUR, different from base. Pattern: ^[A-Za-z]{3}$. |
| end_date |  | — | Last day of a range, YYYY-MM-DD (inclusive). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| currencies |  | — | ISO 4217 codes of the currencies to quote against the euro, e.g. ["USD", "JPY", "GBP"]. Case-insensitive. EUR itself is not a series (every rate is per 1 EUR). Optional when base/quote is given. |
| start_date |  | — | First day of a range, YYYY-MM-DD (inclusive). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |

## What can you do with ECB exchange rates in OpenClaw?

Keep a recurring currency brief tied to published ECB reference observations. A scheduled agent can check for new dates, compare recent movements, and review the definitions used by the brief.

### 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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All OpenClaw guides](https://spiral.ai/integrations/openclaw)

## ECB exchange rates in other agents

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

## More OpenClaw guides

- [ECB economic time series](https://spiral.ai/integrations/openclaw/ecb-economic-time-series)
- [EIA dataset directory](https://spiral.ai/integrations/openclaw/eia-dataset-directory)
- [ECB dataset search](https://spiral.ai/integrations/openclaw/ecb-dataset-search)
- [EIA dataset filter codes](https://spiral.ai/integrations/openclaw/eia-dataset-filter-codes)
- [DeFiLlama yield pools](https://spiral.ai/integrations/openclaw/defillama-yield-pools)
- [EIA energy observations](https://spiral.ai/integrations/openclaw/eia-energy-observations)

## Questions about ECB exchange rates in OpenClaw

**Can OpenClaw use ECB exchange rates?**

Yes. Add Spiral to OpenClaw as an MCP server, and OpenClaw can find and run ECB exchange rates like any built-in tool.

**How much does ECB exchange rates cost in OpenClaw?**

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

**Do I need an Alexandria account to use ECB exchange rates in OpenClaw?**

No. Spiral runs ECB exchange rates 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 exchange rates in OpenClaw?**

About two minutes: add the server, then sign in, then reload and check.

**Does OpenClaw wait while ECB exchange rates runs?**

ECB exchange rates runs in the background. OpenClaw 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.

