fx.modfin.se/latest
The newest published rates, base EUR.
Free exchange-rate API
Current and historical European Central Bank reference rates, served as a small, dependable JSON API — and as an MCP server for AI clients.
{
"base": "EUR",
"date": "2026-08-06",
"rates": {
"USD": 1.1542,
"GBP": 0.8617,
"SEK": 10.924
}
}
Every path is a plain GET that returns JSON. Dates use ISO 8601
(YYYY-MM-DD); when a date is not an ECB business day, the nearest
earlier rate is returned.
fx.modfin.se/latest
The newest published rates, base EUR.
fx.modfin.se/{date}
Rates for one day, or the nearest earlier business day.
Example: fx.modfin.se/2024-01-15
fx.modfin.se/{from}/{to}
Every published rate in an inclusive date range, oldest first.
Example: fx.modfin.se/2024-01-01/2024-01-05?symbols=usd,sek
fx.modfin.se/{from}/{to}/agg
Average, minimum, or maximum rate per currency over a range.
Example: fx.modfin.se/2024-01-01/2024-12-31/agg?func=max&symbols=usd,sek
Press “Run” on any endpoint to send a live request from this page.
Query parameters work across all data endpoints and can be combined. Parameter names and currency codes are case-insensitive.
| Parameter | Values | Effect |
|---|---|---|
| base | usd, sek, … |
Rebase every rate to the given currency instead of EUR. |
| symbols | usd,gbp,sek |
Return only the listed currencies. |
| func | avg, min, max |
Aggregate function for /agg. Defaults to avg. |
| callback | myFn |
Wrap the response in a legacy JSONP callback. |
fx.modfin.se/latest?base=usd&symbols=eur,sek
USD-based rates for EUR and SEK.
fx.modfin.se/2024-01-01/2024-12-31/agg?func=avg&base=sek&symbols=usd
Average USD rate in SEK over 2024.
FX it ships a stateless Model Context Protocol server over Streamable HTTP. No API key, no local command, nothing to install.
Add this as a remote HTTP MCP server in any compatible client.
fx.modfin.se/mcp
{
"mcpServers": {
"fxit": {
"type": "http",
"url": "fx.modfin.se/mcp"
}
}
}
claude mcp add --transport http fxit fx.modfin.se/mcp
All four tools are read-only and accept the same base and symbols filtering as the REST API.
get_latest_ratesThe newest published rates.get_rates_for_dateOne date, falling back to the nearest earlier business day.get_rates_in_rangeEvery rate in an inclusive date range.get_aggregate_ratesAverage, minimum, or maximum over a range.Once connected, plain questions are enough.
“What was the USD to SEK rate on 2024-01-15?”
“Show the maximum GBP and USD rates during June 2025.”
“Chart the EUR/NOK average per month last year.”