Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fawazahmed0/currency-api
Free Currency Exchange Rates API with 150+ Currencies & No Rate Limits
https://github.com/fawazahmed0/currency-api
Last synced: about 2 months ago
JSON representation
Free Currency Exchange Rates API with 150+ Currencies & No Rate Limits
- Host: GitHub
- URL: https://github.com/fawazahmed0/currency-api
- Owner: fawazahmed0
- Created: 2024-03-03T22:49:18.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-03-07T21:03:26.000Z (6 months ago)
- Last Synced: 2024-07-22T20:06:38.321Z (about 2 months ago)
- Homepage:
- Size: 5.86 KB
- Stars: 21
- Watchers: 3
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- public-apis - Currency-api
- public-apis - Currency-api
- public-apis - Currency-api
- fucking-public-apis - Currency-api
- Awesome-API-Provider - Currency-api
README
THIS REPOSITORY IS MIGRATED TO https://github.com/fawazahmed0/exchange-api
OLD USERS OF CURRENCY-API CAN READ THE MIGRATION GUIDE HERE:
https://github.com/fawazahmed0/exchange-api/blob/main/MIGRATION.mdFree Currency Rates API
**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 3 months and some dates may [be missing](https://github.com/fawazahmed0/currency-api/issues/32)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](https://github.com/fawazahmed0/currency-api/issues/45)
**Endpoints:**
- `/currencies`
> Lists all the available currencies in prettified json format:
[https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies.json](https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies.json "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](https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies.min.json "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](https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies/eur.json "https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies/eur.json")> Get the currency list with EUR as base currency on date 2024-02-26:
[https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/2024-02-26/currencies/eur.json](https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/2024-02-26/currencies/eur.json "https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/2024-02-26/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](https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies/btc.json "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](https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies/btc.min.json "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](https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies/eur/jpy.json "https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies/eur/jpy.json")