Introducing our Snowflake Data Cloud Native Application: AI-Driven Data Quality built into SQL statements! Learn More

currency rate conversion Convert Currency Rate API


Description:
This API converts an amount of one currency into that of another based on real-time currency rates. These currency rates are compiled from many global sources and are updated several times per day.

See also: Get Currency Rate API


Example of currency rate conversion responses from the API.
From To Amount Converted
EUR USD 100 117.65
GBP HKD 500 5148.88
AUD CNY 200 994.77
MXN USD 7000 370.80
ILS JMD 150 5699.24
Service API Endpoint:
https://api.interzoid.com/convertcurrency

Calling Structure:
https://api.interzoid.com/convertcurrency?license=[license key]&from=[from symbol]&to=[to symbol]&amount=[amount to convert]

Optional Specification Examples:
OpenAPI Specification 3.0 JSON
OpenAPI Specification 3.0 YAML file
OpenAPI Specification 3.0 YAML text
RAML 1.0

Input Parameters:
License Key: Your Interzoid-issued license key
From: International currency code, such as EUR,GBP,AUD,CAD,HKD...
To: International currency code, such as EUR,GBP,AUD,CAD,HKD...
Amount: Amount of currency to be converted

Output Parameters:
Converted: The amount of currency as a result of the conversion
Currency: The converted currency

Sample URL Query:
https://api.interzoid.com/convertcurrency?license=dh8dj2f*****&from=EUR&to=HKD&amount=10
Sample JSON Output:
{"Converted":"91.06","Currency":"HKD","Code":"Success","Credits":1850};
You can also set a header value for your API License Key (*recommended for production environments):
Curl Example:
curl --header "x-api-key: dh8dj2f*****" "https://api.interzoid.com/convertcurrency?from=eur&to=usd&amount=10"

Sample Code Showing Usage:
Github

Try the API interactively:
(API License Key will auto-populate if you have an account and are logged in. Otherwise, register for a free account.)


Login or register to obtain





Result Code:

Converted:

Currency:

Credits Remaining:


Do you have custom requirements or are interested in on-premise solutions? Contact us at support@interzoid.com

Use cases include localized pricing for e-commerce sites, currency conversion, global accounting, international price analysis, and more.

Supported currencies:

AED - UAE Dirham
AFN - Afghan Afghani
ALL - Albanian Lek
AMD - Armenian DRM
ANG - Netherlands Antilles Guilder
AOA - Angolan Kwanza
ARS - Argentine Peso
AUD - Australian Dollar
AWG - Aruban Florin
AZN - Azerbaijani Manat
BAM - Bosnia & Herzogovina Convertible Mark
BBD - Barbadian Dollar
BDT - Bangladeshi Taka
BGN - Bulgarian Lev
BHD - Bahraini Dinar
BIF - Burundian Franc
BMD - Bermudan Dollar
BND - Brunei Dollar
BOB - Bolivian Bolivano
BRL - Brazilian Real
BSD - Bahamian Dollar
BTN - Bhutanese Ngultrum
BWP - Botswanan Pula
BYN - Belarusian Ruble
BZD - Belize Dollar
CAD - Canadian Dollar
CDF - Congolese Franc
CHF - Swiss Franc
CLF - Chilean Unit of Account
CLP - Chilean Peso
CNYH - Chinese Yuan Renminbi (offshore)
CNY - Chinese Yuan Renminbi
COP - Colombia Peso
CRC - Costa Rican Colon
CUC - Cuban Convertible Peso
CVE - Cape Verdean Escudo
CZK - Czech Koruna
DJF - Djiboutian Franc
DKK - Danish Krone
DOP - Dominican Peso
DZD - Algerian Dinar
EGP - Egyptian Pound
ERN - Eritrean Nakfa
ETB - Ethiopian Birr
EUR - European Union Euro
FJD - Fijean Dollar
FKP - Falkland Islands Pound
GBP - Great Britain Pound Sterling
GBX - Great Britain Penny Sterling
GEL - Georgian Lari
GGP - Guernsey Pound
GHS - Ghanaian Cedi
GIP - Gibraltar Pound
GMD - Gambian Dalasi
GNF - Guinean Franc
GTQ - Guatemalan Quetzal
GYD - Guyanese Dollar
HKD - Hong Kong Dollar
HNL - Honduras Lempira
HRK - Croatian Kuna
HTG - Haitian Gourd
HUF - Hungarian Forint
IDR - Indonesian Rupiah
ILS - Israeli Shekel
INR - Indian Rupee
IQD - Iraqi Dinar
IRR - Iranian Real
ISK - Icelandic Krona
JEP - Jersey Pound
JMD - Jamaican Dollar
JOD - Jordanian Dinar
JPY - Japanese Yen
KES - Kenyan Shilling
KGS - Kyrgystani Som
KHR - Cambodian Riel
KRW - South Korean Won
KWD - Kuwaiti Dinar
KYD - Cayman Islands Dollar
KZT - Khazakstani Tenge
LAK - Laotian Kip
LBP - Lebanese Pound
LKR - Sri Lankan Rupee
LRD - Liberian Dollar
LSL - Lesotho Loti
LYD - Libyan Dinar
MAD - Moroccan Dirham
MDL - Moldovan Leu
MGA - Malagasy Ariary
MKD - Macedonian Dinar
MMK - Myanmar Kyat
MNT - Mongolian Tugrug
MOP - Macau Pataca
MRO - Mauritanian Ouguiya
MTL - Maltese Lira
MUR - Mauritian Rupee
MWK - Malawian Kwacha
MXN - Mexican Peso
MYR - Malaysian Ringgit
MZN - Mozambican Metical
NAD - Namibian Dollar
NGN - Nigerian Naira
NIO - Nicaraguan Cordoba
NOK - Norwegian Krone
NPR - Nepalese Rupee
NZD - New Zealand Dollar
OMR - Omani Real
PAB - Panamanian Balboa
PGK - Papua New Guinean Kina
PEN - Peruvian Sol
PHP - Philippine Piso
PKR - Pakistani Rupee
PLN - Polish Zloty
PGK - Papua New Guinean Kina
PYG - Paraguayan Guarani
QAR - Qatari Rial
RON - Romanian Leu
RSD - Serbian Dinar
RUB - Russian Ruble
RWF - Rwandan Franc
SAR - Saudi Riyal
SBD - Solomon Islands Dollar
SCR - Seychelles Rupee
SEK - Swedish Krona
SGD - Singapore Dollar
SHP - Saint Helena Pound
SLL - Sierra Leonean Leone
SOS - Somali Shilling
SRD - Surinamese Dollar
SSP - South Sudanese Pound
STD - Sao Tome and Príncipe dobra
SVC - Salvadoran Colon
SZL - Salvadoran colón
SYP - Syrian Pound
THB - Thai Baht
TJS - Tajikistan Somoni
TMT - Turkmenistan Minat
TND - Tunisian Dinar
TRY - Turkish Lira
TTD - Trinidad & Tobago Dollar
TWD - Taiwanese New Dollar
TZS - Tanzanian Shilling
UAH - Ukrainian Hryvnia
UGX - Ugandan Shilling
USD - United States Dollar
UYU - Uruguayan Peso
UZS - Uzbekistani Som
VEF - Venezuelan Bolivar
VES - Venezuelan Bolivar
VND - Vietnamese Dong
VUV - Vanuatu Vatu
XAF - Central African Franc
XCD - East Caribbean Dollar
XDR - IMF Special Drawing Rights
XOF - West African CFA Franc
XPF - CFP (Pacific) Franc
YER - Yemeni Rial
ZAR - South African Rand
ZMW - Zambian Kwacha