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.
Get the latest exchange rates.
Get rates for a past date.
Get rates for a period.
For more examples, read the docs.
You can self-host Frankfurter with Docker.
docker run -d -p 8080:8080 \ -e "DATABASE_URL=<postgres_url>" \ --name frankfurter hakanensari/frankfurter
Frankfurter was known as Fixer between 2012 and 2018. After selling the original domain, I relaunched under this name.