Frankfurter
π± Currency data API
[Frankfurter](https://frankfurter.dev) is an open-source currency data API that tracks daily exchange rates from institutional sources. The project is written primarily in Ruby, distributed under the MIT License license, first published in 2018. It has gained significant community traction with 1,638 stars and 161 forks on GitHub. Key topics include: api, currency, currency-api, currency-converter, currency-exchange.
Frankfurter
Frankfurter is an open-source currency data API that tracks daily exchange rates from institutional sources.
Deployment
The public API runs at https://api.frankfurter.dev. If you prefer to host your own instance, you can run Frankfurter with Docker.
Using Docker
The quickest way to get started:
bashdocker run -d -p 8080:8080 lineofflight/frankfurter
For production, mount a volume to persist the SQLite database across container restarts and set any optional API keys:
bashdocker run -d -p 8080:8080 \ -e DATABASE_URL=sqlite:///app/data/frankfurter.sqlite3 \ -e BAM_API_KEY=your_key \ -e BANXICO_API_KEY=your_key \ -e BCCH_USER=your_email \ -e BCCH_PASS=your_password \ -e BOT_API_KEY=your_key \ -e FRED_API_KEY=your_key \ -e TCMB_API_KEY=your_key \ -v ./data:/app/data \ --pull always \ lineofflight/frankfurter
Without a mounted volume, the database is ephemeral and some endpoints may return empty data until their initial backfill completes.
Some data providers require API keys. All are free and optional:
BAM_API_KEYβ Bank Al-Maghrib (Morocco). Register at apihelpdesk.centralbankofmorocco.ma.BANXICO_API_KEYβ Banco de MΓ©xico. Register at banxico.org.mx.BCCH_USER/BCCH_PASSβ Banco Central de Chile. Register at si3.bcentral.cl.BOT_API_KEYβ Bank of Thailand. Register at portal.api.bot.or.th.FRED_API_KEYβ Federal Reserve. Register at fred.stlouisfed.org.TCMB_API_KEYβ Turkish Central Bank. Register at evds3.tcmb.gov.tr.
Contributing
See AGENTS.md for development setup and guidelines.
Built a library or tool with Frankfurter? Share it in Show and Tell
Contributors
Showing top 12 contributors by commit count.
