Exchange rates
Official euro exchange rates from the European Central Bank, for today or a past day.
Your agent gets the reference rates the European Central Bank publishes every working day, for about 30 currencies. It can ask for today or any day back to 1999. You can also get the rates for one US dollar or another currency instead of the euro.
Paste this into your AI agent
Set up Chab for me: fetch https://www.chab.ai/agent-setup.md?v=497c0f and follow it. Then use Chab to tell me how many euros and pounds one US dollar buys today.
Your agent connects Chab and then runs it. Price: 1 credit per request. The free credits cover a first try. How it works in each app
- Returns
- JSON result
- REST endpoint
POST /v1/search/exchange-rates- Over MCP
- Call
chab_operation_startwith"search.exchange_rates"
What you get
Example request
{ "base": "USD", "currencies": [ "EUR", "GBP", "JPY" ]}Example result
{ "base": "USD", "date": "2026-11-13", "rates": { "EUR": 0.904814, "GBP": 0.756053, "JPY": 159.998 }, "notes": [ "The ECB sets these reference rates once a day, around 16:00 Frankfurt time, on working days. They are for information, not for trading.", "Rates against USD are worked out by Chab from the ECB's euro rates." ], "source": { "name": "European Central Bank (ECB), euro foreign exchange reference rates", "url": "https://data.ecb.europa.eu/data/datasets/EXR", "license": "Source: ECB. The ECB publishes these rates free of charge on its website, data.ecb.europa.eu." }, "fetched_at": "2026-11-16T11:41:41+00:00"}You can also run this tool on a schedule as a monitor. Chab then keeps every result and emails you when it changes. Monitors need bought credits or a monthly plan. How monitors work
Inputs
| Field | Type | Details |
|---|---|---|
base | string | The currency the rates are for, as a three-letter code. Default EUR; another base is worked out from the euro rates.Default "EUR". Up to 3 characters |
currencies | array of string | Currencies to return, as three-letter codes. Default: all the ECB publishes. |
date | string | A past day, as YYYY-MM-DD. Default: the latest rates. Weekends and holidays give the day before.Up to 10 characters |
How to call it
AI apps use it through hosted MCP. Coding agents can also use the CLI, and your own code can call the API. Each call starts a job, and your agent picks up the result when it is ready.
curl -X POST https://www.chab.ai/v1/search/exchange-rates \ -H "Authorization: Bearer CHAB_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: search-exchange-rates-001" \ -d '{"base":"USD","currencies":["EUR","GBP","JPY"]}'Exchange rates result
{ "base": "USD", "date": "2026-11-13", "rates": { "EUR": 0.904814, "GBP": 0.756053, "JPY": 159.998 }, "notes": [ "The ECB sets these reference rates once a day, around 16:00 Frankfurt time, on working days. They are for information, not for trading.", "Rates against USD are worked out by Chab from the ECB's euro rates." ], "source": { "name": "European Central Bank (ECB), euro foreign exchange reference rates", "url": "https://data.ecb.europa.eu/data/datasets/EXR", "license": "Source: ECB. The ECB publishes these rates free of charge on its website, data.ecb.europa.eu." }, "fetched_at": "2026-11-16T11:41:41+00:00"}Price: 1 credit per request. See all prices
More in Public data
Want to try Chab with your agent?
Copy the prompt and paste it into your AI. Your agent starts with free credits and doesn't need an account.