Abstract’s Exchange Rates API is a fast, lightweight, modern, and RESTful JSON API for looking up the latest exchange rates for 80+ currencies, getting historical exchange rates, and converting an arbitrary amount from one currency to another.
live
endpoint returns the most recent exchange rates for a given set of currencies. The base currency is the currency you’re converting from, while the target currency or currencies are what you’re converting to.convert
endpoint is similar to the live
endpoint but allows you to convert an arbitrary amount from one currency to another.historical
endpoint functions almost exactly like the live
endpoint, except it requires a date parameter and returns the exchange rates for that specific date for a given set of currencies.Code | Type | Details |
---|---|---|
200 | OK | Everything worked as expected. |
204 | OK | Their is no location data for the submitted IP. |
400 | Bad request | Bad request. |
401 | Unauthorized | The request was unacceptable. Typically due to the API key missing or incorrect. |
422 | Quota reached | The request was aborted due to insufficient API credits. (Free plans) |
429 | Too many requests | The request was aborted due to the number of allowed requests per second being reached. This happens on free plans as requests are limited to 1 per second. |
500 | Internal server error | The request could not be completed due to an error on the server side. |
503 | Service unavailable | The server was unavailable. |
Currency code | Currency name |
---|---|
ARS | Argentine Peso |
AUD | Australian Dollar |
BCH | Bitcoin Cash |
BGN | Bulgarian Lev |
BNB | Binance Coin |
BRL | Brazilian Real |
BTC | Bitcoin |
CAD | Canadian Dollar |
CHF | Swiss Franc |
CNY | Chinese Yuan |
CYP | Cypriot Pound |
CZK | Czech Republic Koruna |
DKK | Danish Krone |
DOGE | Dogecoin |
DZD | Algerian Dinar |
EEK | Estonian Kroon |
ETH | Ethereum |
EUR | Euro |
GBP | British Pound Sterling |
GRD | Greek Drachma |
HKD | Hong Kong Dollar |
HRK | Croatian Kuna |
HUF | Hungarian Forint |
IDR | Indonesian Rupiah |
ILS | Israeli New Sheqel |
INR | Indian Rupee |
ISK | Icelandic Króna |
JPY | Japanese Yen |
KRW | South Korean Won |
LTC | Litecoin |
LTL | Lithuanian Litas |
LVL | Latvian Lats |
MAD | Moroccan Dirham |
MTL | Maltese Lira |
MXN | Mexican Peso |
MYR | Malaysian Ringgit |
NOK | Norwegian Krone |
NZD | New Zealand Dollar |
PHP | Philippine Peso |
PLN | Polish Zloty |
RON | Romanian Leu |
RUB | Russian Ruble |
SEK | Swedish Krona |
SGD | Singapore Dollar |
SIT | Slovenian Tolar |
SKK | Slovak Koruna |
THB | Thai Baht |
TRY | Turkish Lira |
TWD | New Taiwan Dollar |
USD | United States Dollar |
XRP | Ripple |
ZAR | South African Rand |