Exchangerate.host

Exchange rates API is a simple and lightweight free service for current and historical foreign exchange rates & crypto exchange rates.
Alternatives To Exchangerate.host
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Money2,5915,634294a month ago97May 09, 20211mitRuby
A Ruby Library for dealing with money and currency conversion.
Fixer2,548
129 months ago10December 31, 201718mitRuby
A foreign exchange rates and currency conversion API
Exchangeratesapi1,906
2 years ago50mitPython
Exchange Rates API
Money.js1,356246474 years ago4July 16, 201427mitCSS
money.js is a tiny (1kb) javascript currency conversion library, for web & nodeJS
Rate.sx918
5 months ago26mitPython
:moneybag: curl cryptocurrencies exchange rates
Money482137a month ago131August 26, 2022otherElixir
Elixir implementation of Money with Currency
Cashify393
3 months agon,ullmitTypeScript
💸 Lightweight currency conversion library, successor of money.js
Laravel Exchange Rates334
2 months ago19February 11, 2022mitPHP
A Laravel wrapper package for interacting with the exchangeratesapi.io API.
Exchangerate.host321
2 months ago39CSS
Exchange rates API is a simple and lightweight free service for current and historical foreign exchange rates & crypto exchange rates.
Eu_central_bank2045034 months ago35November 17, 2021mitRuby
A gem that calculates the exchange rate using published rates from European Central Bank. Compatible with the money gem
Alternatives To Exchangerate.host
Select To Compare


Alternative Project Comparisons
Readme

Exchangerate.host

ExchangeRate is a free API for current and historical foreign exchange rates published by the European Central Bank.

A public instance of the API lives at locations:

Rates are updated around midnight UTC every working day.

Community libraries

Usage

Get the all available currencies.

GET https://api.exchangerate.host/symbols

Get the latest foreign exchange rates.

GET https://api.exchangerate.host/latest

Get historical rates for any day since 1999.

GET https://api.exchangerate.host/2000-01-03

Rates are quoted against the Euro by default. Quote against a different currency by setting the base parameter in your request.

GET https://api.exchangerate.host/latest?base=USD

Request specific exchange rates by setting the symbols parameter.

GET https://api.exchangerate.host/latest?symbols=USD,GBP

Currency conversion endpoint, can be used to convert any amount from one currency to another.

GET https://api.exchangerate.host/convert?from=EUR&to=USD

Timeseries endpoint are for daily historical rates between two dates of your choice, with a maximum time frame of 365 days.

GET https://api.exchangerate.host/timeseries?start_date=2020-01-01&end_date=2020-04-04&symbols=EUR,USD,GBP

Using the fluctuation endpoint you will be able to retrieve information about how currencies fluctuate on a day-to-day basis.

GET https://api.exchangerate.host/fluctuation?start_date=2020-01-01&end_date=2020-04-04&symbols=EUR,USD,GBP

The primary use case is client side. For instance, with money.js in the browser

let demo = () => {
  let rate = fx(1).from("GBP").to("USD")
  alert("£1 = $" + rate.toFixed(4))
}

fetch('https://api.exchangerate.host/latest')
  .then((resp) => resp.json())
  .then((data) => fx.rates = data.rates)
  .then(demo)

Backers

Thank you to all our backers! 🙏 [Become a backer]

backers

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

sponsor81 sponsor0 sponsor1 sponsor2 sponsor3 sponsor4 sponsor5 sponsor6 sponsor7 sponsor8 sponsor9

Popular Rating Projects
Popular Exchange Rates Projects
Popular User Interface Components Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Css
Vue
Rate
Currency
Exchange Rates
Currency Converter