Go to file
2021-04-24 21:41:08 +01:00
.github Revert to using ruby image 2020-05-02 15:42:09 +01:00
bin Work around ecb rate limiting 2020-04-02 14:38:07 +01:00
config Remove obsolete file 2020-05-02 19:42:53 +01:00
db/migrate Denormalise database schema 2018-10-07 01:08:45 +01:00
lib add missing import of digest module 2021-04-07 10:59:54 +01:00
spec Switch to Roda 2020-05-08 14:50:09 +01:00
.dockerignore Remove docker-compose files 2021-04-24 21:37:09 +01:00
.env.example Rebrand, serve HTML 2018-06-08 15:32:52 +01:00
.gitignore Clean up ignores 2019-12-20 01:02:07 +00:00
.rubocop_todo.yml Switch to Roda 2020-05-08 14:50:09 +01:00
.rubocop.yml Enable new cops by default 2020-05-02 17:07:54 +01:00
.ruby-version Bump ruby to 2.7.1 2020-04-01 21:10:11 +01:00
CHANGELOG.md Root returns link to docs 2020-05-02 19:38:36 +01:00
config.ru Switch to Roda 2020-05-08 14:50:09 +01:00
Dockerfile Bump ruby to 2.7.1 2020-04-01 21:10:11 +01:00
Gemfile Switch to Roda 2020-05-08 14:50:09 +01:00
Gemfile.lock Bump rack from 2.2.2 to 2.2.3 2020-06-24 19:51:00 +01:00
LICENSE Remove dates from license 2017-01-03 12:44:13 +00:00
Rakefile Repack app 2018-03-08 23:51:36 +00:00
README.md Remove Heroku deploy button 2021-04-24 21:41:08 +01:00

Frankfurter

Build

Frankfurter is a free and open-source currency data API that tracks reference exchange rates published by the European Central Bank.

api.frankfurter.app hosts a public instance of the API.

Getting Started

Get the latest exchange rates.

https://api.frankfurter.app/latest

Get rates for a past date.

https://api.frankfurter.app/2000-01-03

Get rates for a period.

https://api.frankfurter.app/2010-01-01..2010-01-31

For more examples, read the docs.

Deployment

You can self-host Frankfurter with Docker.

docker run -d -p 8080:8080 \
  -e "DATABASE_URL=<postgres_url>" \
  --name frankfurter hakanensari/frankfurter

Miscellaneous

Frankfurter was known as Fixer between 2012 and 2018. After selling the original domain, I relaunched under this name.