Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Fer

Fer is a free API service that tracks current and historical foreign exchange rates published by the European Central Bank.

A public instance of the API lives at api.fer.ee.

Rates are updated every working day.

Getting Started

Get the latest foreign exchange rates.

GET https://api.fer.ee/latest

Rates are quoted against the Euro by default. You can quote against a different currency by setting the from or base parameter.

GET https://api.fer.ee/latest?from=USD
GET https://api.fer.ee/latest?base=USD

Request specific exchange rates by setting the to or symbols parameter in your request to limits returned rates to specified values.

GET https://api.fer.ee/latest?to=USD,JPY
GET https://api.fer.ee/latest?symbols=USD,JPY

Get historical rates for any day since 1999.

GET https://api.fer.ee/2000-01-01

Get rates for a period.

GET https://api.fer.ee/2010-01-01..2010-01-31

Limit results to specific foreign exchange rates with the to or symbols parameter.

GET https://api.fer.ee/2000-01-01?to=USD,JPY
GET https://api.fer.ee/2000-01-01?symbols=USD,JPY

Quote the historical rates against a different currency with the from or base parameter.

GET https://api.fer.ee/2000-01-01..2010-01-01?from=USD
GET https://api.fer.ee/2000-01-01..2010-01-01?base=USD

Fer returns all data points for up to 90 days. Beyond this period, it starts sampling by week or month based on the breadth of the date range.

You can convert any value between currencies using the above endpoints in combination with the amount parameter.

GET https://api.fer.ee/latest?amount=100&from=USD&to=CNY

Get a list of available currency symbols and their full names.

GET https://api.fer.ee/currencies
The Fer API is almost entirely borrowed from Frankfurter's simple and straightforward API design. If you prefer to self-host, you should go to Frankfurter's documentation for details.

About

Fer is a free API service that tracks current and historical foreign exchange rates.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages