Exchange rate history
Exchange rates over time from the European Central Bank, by day or by month.
Your agent gets the European Central Bank's rate for every working day in a date range, for up to ten currencies. For longer periods it can get the monthly average instead, back to 1999. That is enough to make a chart or to convert old invoices.
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 make a chart of the euro to US dollar rate over the last 12 months.
Your agent connects Chab and then runs it. Price: 2 credits per request. The free credits cover a first try. How it works in each app
- Returns
- JSON result
- REST endpoint
POST /v1/search/exchange-rate-history- Over MCP
- Call
chab_operation_startwith"search.exchange_rate_history"
What you get
Example request
{ "currencies": [ "USD", "GBP" ], "start_date": "2026-11-02", "end_date": "2026-11-06"}Example result
{ "base": "EUR", "frequency": "daily", "start_date": "2026-11-02", "end_date": "2026-11-06", "series": [ { "date": "2026-11-02", "rates": { "GBP": 0.8358, "USD": 1.1216 } }, { "date": "2026-11-03", "rates": { "GBP": 0.83358, "USD": 1.1179 } }, { "date": "2026-11-04", "rates": { "GBP": 0.8346, "USD": 1.1267 } }, { "date": "2026-11-05", "rates": { "GBP": 0.83393, "USD": 1.1224 } }, { "date": "2026-11-06", "rates": { "GBP": 0.83415, "USD": 1.1165 } } ], "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." ], "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:53+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 |
currenciesrequired | array of string | Currencies to return, as three-letter codes. |
start_daterequired | string | The first day, as YYYY-MM-DD.Up to 10 characters |
end_date | string | The last day, as YYYY-MM-DD. Default: today.Up to 10 characters |
frequency | string | Daily rates, or monthly averages.One of daily, monthly. Default "daily" |
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-rate-history \ -H "Authorization: Bearer CHAB_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: search-exchange-rate-history-001" \ -d '{"currencies":["USD","GBP"],"start_date":"2026-11-02","end_date":"2026-11-06"}'Exchange rate history result
{ "base": "EUR", "frequency": "daily", "start_date": "2026-11-02", "end_date": "2026-11-06", "series": [ { "date": "2026-11-02", "rates": { "GBP": 0.8358, "USD": 1.1216 } }, { "date": "2026-11-03", "rates": { "GBP": 0.83358, "USD": 1.1179 } }, { "date": "2026-11-04", "rates": { "GBP": 0.8346, "USD": 1.1267 } }, { "date": "2026-11-05", "rates": { "GBP": 0.83393, "USD": 1.1224 } }, { "date": "2026-11-06", "rates": { "GBP": 0.83415, "USD": 1.1165 } } ], "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." ], "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:53+00:00"}Price: 2 credits 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.