Go to file
2019-05-15 13:27:01 +01:00
bin Move migration to top of unicorn config file 2019-04-27 14:57:27 +01:00
config Move migration to top of unicorn config file 2019-04-27 14:57:27 +01:00
db/migrate Denormalise database schema 2018-10-07 01:08:45 +01:00
lib Allow domain root in robots.txt 2019-05-12 11:59:51 +01:00
spec Handle interval where base is missing on older dates 2019-05-02 20:36:35 +01:00
.dockerignore Minor tweaks 2018-10-18 13:34:21 +01:00
.env.example Rebrand, serve HTML 2018-06-08 15:32:52 +01:00
.eslintrc Rebrand, serve HTML 2018-06-08 15:32:52 +01:00
.gitignore Update homepage 2018-09-11 17:59:42 +01:00
.rubocop.yml Handle interval where base is missing on older dates 2019-05-02 20:36:35 +01:00
.ruby-version Update runtime and gems 2019-04-25 16:37:56 +01:00
.travis.yml Update runtime and gems 2019-04-25 16:37:56 +01:00
app.json Add Deploy to Heroku button 2018-10-07 01:08:45 +01:00
config.ru Rebrand, serve HTML 2018-06-08 15:32:52 +01:00
docker-compose.override.yml Implement fork-based daemon for scheduling jobs 2018-10-07 01:08:45 +01:00
docker-compose.prod.yml Implement fork-based daemon for scheduling jobs 2018-10-07 01:08:45 +01:00
docker-compose.yml Implement fork-based daemon for scheduling jobs 2018-10-07 01:08:45 +01:00
Dockerfile Install new Bundler in Dockerfile 2019-04-25 16:49:27 +01:00
Gemfile Add Rubocop Performance gem 2019-05-02 20:35:03 +01:00
Gemfile.lock Update gems 2019-05-15 13:21:59 +01:00
LICENSE Remove dates from license 2017-01-03 12:44:13 +00:00
limit_req.conf Repack app 2018-03-08 23:51:36 +00:00
Procfile Add Deploy to Heroku button 2018-10-07 01:08:45 +01:00
Rakefile Repack app 2018-03-08 23:51:36 +00:00
README.md Update README 2019-05-15 13:27:01 +01:00

Frankfurter

Build

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

Frankfurter was known as Fixer until March 2018, when I sold the domain. After the buyer abandoned the underlying open-source project, I relaunched under this name.

Getting Started

Get the latest exchange rates.

GET /latest HTTP/1.1

Get rates for a past date.

GET /2000-01-03 HTTP/1.1

Get rates for a period.

GET /2010-01-01..2010-01-31 HTTP/1.1

For further examples, read the docs.

Deployment

You can self-host Frankfurter easily with Docker.

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

Check out the website for a more detailed walkthrough.