currency-api icon indicating copy to clipboard operation
currency-api copied to clipboard

Free Currency Exchange Rates API with 150+ Currencies & No Rate Limits

Free Currency Rates API

Fetch-Currencies


SendLetter Brand Image

Note: I would like to tell you about SendLetter.org, you can use it to Snail Mail 🐌 Forms, Documents, Letters 📄, Invoices, Statements, Invitations, Posters, Flyers, to anywhere in the world. Have Documents Printed 🖨, Folded and Mailed by them 📮, starting at $1

Visit SendLetter.org to know more


In the name of God, who have guided me to do this work

Features:

  • Free & Blazing Fast response
  • No Rate limits
  • 150+ Currencies, Including Common Cryptocurrencies
  • Daily Updated

URL Structure:

https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@{apiVersion}/{date}/{endpoint}

Formats:

date

The date should either be latest or in YYYY-MM-DD format
Note: Historical rates are only available for last 1 year and some dates may be missing

The Endpoints Supports HTTP GET Method and returns the data in two formats:

/{endpoint}.json

/{endpoint}.min.json

The above formats also work for fallback i.e if .min.json link fails, you can use .json link and vice versa

Warning: You should include fallback mechanism in your code, to avoid issues

Endpoints:

  • /currencies

Lists all the available currencies in prettified json format:
https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies.json

Get a minified version of it:
https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies.min.json

  • /currencies/{currencyCode}

Get the currency list with EUR as base currency:
https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies/eur.json

Get the currency list with EUR as base currency on date 2020-11-24:
https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/2020-11-24/currencies/eur.json

Get the currency list with BTC as base currency:
https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies/btc.json

Get the currency list with BTC as base currency in minified format:
https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies/btc.min.json

  • /currencies/{currencyCode}/{currencyCode}

Get the currency value for EUR to JPY:
https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies/eur/jpy.json

To Add New Crypto Currency: See This

Any Issues: Raise here

Supporters 🎉:

I would like to thank all the Supporters who have donated:

Donate ❤️:

Please Star this repo by clicking on :star: button above :arrow_upper_right:




:pencil2:Improve this page