[Integrations](https://spiral.ai/integrations) › [dots](https://spiral.ai/integrations/dots) › [Xe currency conversion](https://spiral.ai/integrations/dots/xe-currency-conversion)

# How to Use Xe currency conversion in dots

Get a converted amount and exchange-rate statistics for one currency pair. Use it to estimate a foreign-currency amount and put the current rate in context.

|  |  |
| --- | --- |
| Model | Xe currency conversion |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Xe currency conversion in dots

- Every Monday at 9am: use Xe currency conversion to look this up and give me the result as a table.
- Pull the latest numbers from Xe currency conversion and tell me what changed since last week.
- Check Xe currency conversion and summarize what you find in three bullet points.
- Pull the newest data from Xe currency conversion and give me the result as a table.
- Check Xe currency conversion every morning and tell me only when something changed.

## How to set up Xe currency conversion in dots

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

### Use the Spiral skill

1. **Send dots 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. **Create an API key**: In the console, open API keys and create a key for your dot. Copy it.

2. **Send your dot this message**: Your dot reads Spiral's skill and asks for your API key.

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

3. **Give your dot the key**: When your dot asks for the key, add it where your dot keeps secrets, never in the chat itself.

### 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 Xe currency conversion**: 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": "xe-com/exchange-rates/convert",
    "input": {
      "to": "<to>",
      "from": "<from>"
    }
  }'
```

Then paste one of the prompts above: dots finds Xe currency conversion on Spiral, shows the price and runs it.

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

## Xe currency conversion tools and prices

- [XE currency data · Convert](https://spiral.ai/tools/alexandria/xe-com/exchange-rates/convert) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| amount |  | — | Amount of `from` to convert. Default 1. |

## What can you do with Xe currency conversion in dots?

Keep a recurring currency research brief current with Xe reference information and rate context. Scheduled agents can refresh selected currencies, compare dated observations, and summarize movements for uses covered by the applicable data permissions.

### Compare a multicountry travel budget

Identify CAD, EUR, and JPY by name and symbol, then compare their current USD equivalents and convert sample travel expenses.

### Explain exchange-rate changes in an invoice estimate

Where licensed, compare a EUR invoice's current USD equivalent with its value on the invoice date. Add the pair's history to show how the reference rate moved between those dates.

### Prepare a currency market briefing

Where licensed, identify the currencies in a USD, EUR, GBP, and JPY watchlist, explain their reference details, compare current and past rates, and illustrate the effect on a sample amount.

### Study how currency pairs work

Build a personal study notebook that matches currency names to codes and symbols, converts example amounts, and charts how USD/EUR has changed.

### Plan a store's currency display

Where licensed, use currency names and symbols to label a store's supported markets, compare current reference rates, and check converted sample amounts before implementation.

### Build a currency research application

Where licensed, combine a currency directory and profiles with amount conversion, current comparison tables, dated snapshots, and historical charts.

## Overview

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

## Xe currency conversion in other agents

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

## More dots guides

- [World Bank topics and classifications](https://spiral.ai/integrations/dots/world-bank-topics-and-classifications)
- [Xe currency list](https://spiral.ai/integrations/dots/xe-currency-list)
- [World Bank statistical metadata](https://spiral.ai/integrations/dots/world-bank-statistical-metadata)
- [Xe currency profile](https://spiral.ai/integrations/dots/xe-currency-profile)
- [World Bank indicator observations](https://spiral.ai/integrations/dots/world-bank-indicator-observations)
- [Xe exchange rate history](https://spiral.ai/integrations/dots/xe-exchange-rate-history)

## Questions about Xe currency conversion in dots

**Can dots use Xe currency conversion?**

Yes. Add Spiral to dots as an MCP server, and dots can find and run Xe currency conversion like any built-in tool.

**How much does Xe currency conversion cost in dots?**

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

**Do I need an Alexandria account to use Xe currency conversion in dots?**

You need no Alexandria account. dots uses one Spiral API key for every tool, and Spiral runs Xe currency conversion on its own Alexandria account.

**How long does it take to set up Xe currency conversion in dots?**

About two minutes: create an API key, then send your dot this message, then give your dot the key.

**Does dots wait while Xe currency conversion runs?**

Xe currency conversion runs in the background. dots starts the run, checks on it and gives you the json when it's ready.

**How many currencies does Xe cover?**

Xe says its converter covers more than 170 currencies. That is source coverage, rather than a promise that every currency has the same historical depth.

**How fresh are Xe's current rates?**

Xe describes its converter rates as up to the minute. This describes the source display and does not establish a separate refresh guarantee for these endpoints.

**Will a transfer use the exchange rate shown by Xe?**

Xe's converter shows a mid-market reference rate. Its money-transfer send rate is different and includes a margin.

**How far back do Xe's currency charts go?**

Xe offers chart periods of up to 10 years using mid-market rates. Its historical tables provide a separate view organized around a base currency and a past date.

**What currency information is public on Xe?**

Xe publicly lists currency codes and names in its Currency Encyclopedia. Individual profiles include reference details such as the US dollar's symbol and its cent minor unit.

