[Integrations](https://spiral.ai/integrations) › [Gemini](https://spiral.ai/integrations/gemini) › [ECB dataset search](https://spiral.ai/integrations/gemini/ecb-dataset-search)

# How to Use ECB dataset search in Gemini

Find ECB datasets and inspect the dimensions and codes that identify their series. Use it to locate a statistic and check its definition before requesting observations.

|  |  |
| --- | --- |
| Model | ECB dataset search |
| 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 dataset search in Gemini

- Use ECB dataset search to find exchange rate datasets and explain which definitions identify monthly US dollar observations against the euro.
- Use ECB dataset search to look this up and give me the result as a table.
- Pull the latest numbers from ECB dataset search and tell me what changed since last week.
- Check ECB dataset search and summarize what you find in three bullet points.
- Pull the newest data from ECB dataset search and give me the result as a table.

## How to set up ECB dataset search in Gemini

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

### Use the Gemini connector

1. **Open Connected Apps**: On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

2. **Add Spiral as a custom app**: Under Custom apps, click Add a custom app and paste this MCP server URL:

```text
https://api.spiral.ai/mcp
```

3. **Sign in to Spiral and approve**: Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

### Use the Spiral skill

1. **Send Gemini 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 dataset search**: 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/search_dataflows",
    "input": {
      "key": "<key>"
    }
  }'
```

Then paste one of the prompts above: Gemini finds ECB dataset search on Spiral, shows the price and runs it.

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

## ECB dataset search tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| key |  | — | With flow: a partial key that narrows the description, e.g. D..EUR.SP00.A for daily euro reference rates. |
| flow |  | — | Describe this dataflow instead of listing: its dimensions in key order with the codes that currently carry data, so a series key can be built. |
| query |  | — | Case-insensitive words that must all appear in the dataflow id, name or description, e.g. "exchange", "interest rate", "HICP". Empty lists all ECB dataflows. |
| max_codes | 1 to 500 | 50 | With flow: maximum codes listed per dimension. |
| code_query |  | — | With flow: keep only codes whose id or name contains this text, e.g. "dollar". |

## What can you do with ECB dataset search in Gemini?

Turn ECB exchange rate observations into a dated currency comparison for a report or research question. A chat app can explain the series definitions and show how daily observations compare with monthly data.

### 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 Gemini guides](https://spiral.ai/integrations/gemini)

## ECB dataset search in other agents

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

## More Gemini guides

- [DeFiLlama yield pools](https://spiral.ai/integrations/gemini/defillama-yield-pools)
- [ECB economic time series](https://spiral.ai/integrations/gemini/ecb-economic-time-series)
- [DeFiLlama yield pool history](https://spiral.ai/integrations/gemini/defillama-yield-pool-history)
- [ECB exchange rates](https://spiral.ai/integrations/gemini/ecb-exchange-rates)
- [DeFiLlama token prices](https://spiral.ai/integrations/gemini/defillama-token-prices)
- [EIA dataset directory](https://spiral.ai/integrations/gemini/eia-dataset-directory)

## Questions about ECB dataset search in Gemini

**Can Gemini use ECB dataset search?**

Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run ECB dataset search like any built-in tool.

**How much does ECB dataset search cost in Gemini?**

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

**Do I need an Alexandria account to use ECB dataset search in Gemini?**

No. Spiral runs ECB dataset search 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 dataset search in Gemini?**

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

**Does Gemini wait while ECB dataset search runs?**

ECB dataset search runs in the background. Gemini 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.

