Frankfurter
Open source exchange rate API, 219 currencies, no key required
Replaces Open Exchange Rates, Fixer, Currencyapi, Currencylayer, Exchange Rates Api

Who it's for
Frankfurter provides accurate daily mid-market reference rates for invoice generation, revenue reporting, and financial analytics. The historical feed goes back to 1948, covering any period a finance team is likely to query.
Skip if your billing system needs real-time rates updated faster than once per day, or if your pricing requires bid/ask spreads rather than mid-market references.
Fetch rates once daily and cache them locally to show prices in a visitor's currency without per-request API fees. Frankfurter explicitly encourages storing daily observations locally for caching and analytics, keeping API traffic light.
Skip if you are in a jurisdiction where import pricing requires the central bank's official declared rate on the transaction date, and that rate is not among Frankfurter's 111 sources.
The daily history back to 1948 and the time-series endpoint with grouping by week or month make it straightforward to analyze decades of monetary history. NDJSON streaming keeps memory usage low for large date range requests.
Skip if you need intraday data, since Frankfurter returns daily observations only from most providers.
The public API requires no authentication, no SDK, and no monthly registration. A plain `curl` or `fetch` call returns JSON. For teams that want zero external dependencies, the Docker image is a one-command deploy on any server.
Skip if your production environment requires a commercially backed SLA with uptime guarantees, since the public API is a community-hosted instance with no SLA.
The problem
Most applications that handle money need reliable exchange rates: invoicing in multiple currencies, displaying prices by region, calculating taxes, or reporting financials. The options have historically meant either building against a paid API subscription or scraping central bank sites that weren't designed for programmatic access. Paid exchange rate APIs charge monthly fees even for modest call volumes, often with tiered pricing that restricts history depth, rate-of-change data, or the number of currencies available at lower price points. Developer teams with tight budgets or privacy requirements end up either over-paying for capabilities they only partially use or accepting data gaps when they hit rate limits.
How it works
Rates for 219 fiat currencies and 39 other assets, blended from 111 central banks and official providers. Each blended rate names which providers contributed, so you can filter to a specific source for compliance or audit purposes.
The default EUR-based blended feed goes back to January 1948, covering decades of currency regime changes and monetary history. Use the /v2/coverage endpoint to find the exact date range a given currency pair supports before building a query.
The public instance at api.frankfurter.dev is free for all uses including commercial. There are no monthly or daily caps; requests are rate-limited to prevent abuse but not metered. For high-volume needs, the Docker image lets you run your own instance.
Run your own instance with a single `docker run` command. Mount a volume for SQLite persistence and add optional free API keys for providers that require registration (Bank of Morocco, Federal Reserve, Bank of Thailand, and others). The deploy guide covers production configuration.
By default the API returns JSON. Append `.csv` or set the Accept header to `text/csv` for spreadsheet-friendly output. For large time series, request NDJSON (application/x-ndjson) to stream results line by line without buffering the full dataset in memory.
The project ships an MCP (Model Context Protocol) server, so AI agents can query exchange rates and time series without custom glue code. Point the agent at the project's llms.txt file for LLM-readable documentation of the API.
Features
- 219-currency coverage from central banks
- Daily history back to 1948
- No API key and no call quotas
- Self-hosting with Docker
- Multiple output formats
- MCP server for AI agents
How to install
Deploy the API server with Docker for self-hosted exchange rate data.
docker run -d --init -p 8080:8080 lineofflight/frankfurterRecommended for this setup
Strengths
- MIT license with no usage restrictions: The MIT license lets you fork, modify, and use Frankfurter commercially without restrictions. The hosted API at api.frankfurter.dev is also free for commercial use. Most paid alternatives restrict commercial use to higher-tier subscriptions that cost $50 or more per month.
- Official reference rates from central banks: Rates come directly from 111 central banks and official sources through each provider's authorized API or publication feed. The blended feed labels which providers contributed to each rate, letting compliance-sensitive applications filter to a specific official source.
- Deep historical coverage since 1948: With daily history back to 1948, Frankfurter covers monetary union transitions, currency reforms, and legacy codes that most paid APIs don't include. The /v2/coverage endpoint reports the exact date range any given currency pair supports.
- No personal data collected or logged: The public instance does not log IP addresses, request URLs, or personal data. It runs behind Cloudflare for caching and DDoS protection, which provides only aggregate traffic statistics. This means queries qualify as Data Not Collected under Apple and Google Play privacy label guidelines.
Trade-offs
- Reference rates, not live market quotes: Frankfurter publishes mid-market reference rates that update once or a few times per day. It is not suited for live forex trading, real-time arbitrage, or applications that need sub-minute rate freshness. The project FAQ explicitly states it isn't built for exotic currencies with high intraday volatility.
- Provider API keys needed for some data sources: For the self-hosted instance to include data from the Federal Reserve, Bank of Morocco, Bank of Thailand, and a few others, you must register for a free API key with each provider. A bare Docker instance without keys will return empty results from those providers until their initial backfill completes.
- No built-in currency conversion endpoint: Frankfurter has no built-in convert endpoint. You fetch the exchange rate and do the arithmetic client-side. The website provides a short JavaScript snippet for this, and the calculation is trivial, but integrations expecting a single-call conversion API will need a small wrapper function.
Tech stack
FAQ
Yes. The hosted API at api.frankfurter.dev is free for all commercial applications with no usage caps. Blended rates (the default) are Frankfurter's own calculations and carry no provider licensing restrictions. If you query a specific provider's endpoint directly, that provider's terms apply.
Yes. The Docker image at lineofflight/frankfurter runs the full API stack. A single `docker run -d --init -p 8080:8080 lineofflight/frankfurter` command starts an instance. For production, mount a volume to persist the SQLite database across restarts and add optional API keys for providers that require registration (FRED, Bank of Thailand, Bank of Morocco, and others).
No. Frankfurter publishes reference rates from central banks and official sources, which update once or a few times per day. The project FAQ states it is not built for live trading or exotic currencies with high intraday swings. Applications that need tick-level or minute-level rate data should use a dedicated forex data provider.
The API covers 219 fiat currencies and 39 other assets, including precious metals (gold, silver, platinum, palladium) and some mainstream cryptocurrencies (BTC, ETH, SOL, XRP, and stablecoins). The project notes that crypto coverage is thin. Use the /v2/currencies endpoint to see the full list with provider coverage details.
No. The public instance does not log IP addresses, request URLs, or personal data. The project documentation states this explicitly and notes that queries qualify as Data Not Collected under Apple and Google Play guidelines. The public instance runs behind Cloudflare, which provides only aggregate traffic statistics.