Exchange rates and the effective exchange rate indices – Daily figures

API Detailed Documentation

API URL:

https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/er-ir/er-eeri-daily

API Data Enquiry

Output Fields (JSON) Swagger Format
Name Type Unit Of Measure Description
end_of_dayDateAs at end of
Date in ISO format yyyy-mm-dd, For example, 1997-01-01
usdNumberHKD per unit of foreign currencyU.S. dollar
gbpNumberHKD per unit of foreign currencySterling
jpyNumberHKD per unit of foreign currencyJapanese yen
cadNumberHKD per unit of foreign currencyCanadian dollar
audNumberHKD per unit of foreign currencyAustralian dollar
sgdNumberHKD per unit of foreign currencySingapore dollar
twdNumberHKD per unit of foreign currencyNew Taiwan dollar
chfNumberHKD per unit of foreign currencySwiss franc
cnyNumberHKD per unit of foreign currencyChinese renminbi
krwNumberHKD per unit of foreign currencyKorean won
thbNumberHKD per unit of foreign currencyThai baht
myrNumberHKD per unit of foreign currencyMalaysian ringgit
demNumberHKD per unit of foreign currencyDeutsche-mark
nlgNumberHKD per unit of foreign currencyDutch guilder
befNumberHKD per unit of foreign currencyBelgian franc
frfNumberHKD per unit of foreign currencyFrench franc
itlNumberHKD per unit of foreign currencyItalian lira
eurNumberHKD per unit of foreign currencyEuro
phpNumberHKD per unit of foreign currencyPhilippine peso
inrNumberHKD per unit of foreign currencyIndian Rupee
idrNumberHKD per unit of foreign currencyIndonesian rupiah
zarNumberHKD per unit of foreign currencySouth African Rand
special_drawing_rightsNumberHKD per unit of foreign currencySDR
neeri_1983_trade_wgtNumberHKD per unit of foreign currencyNominal effective exchange rate indices (11.1983 = 100)
Trade-weighted
neeri_1983_import_wgtNumberHKD per unit of foreign currencyNominal effective exchange rate indices (11.1983 = 100)
Import-weighted
neeri_1983_export_wgtNumberHKD per unit of foreign currencyNominal effective exchange rate indices (11.1983 = 100)
Export-weighted
neeri_2000_trade_wgtNumberHKD per unit of foreign currencyNominal effective exchange rate indices (01.2000 = 100)
Trade-weighted
neeri_2000_import_wgtNumberHKD per unit of foreign currencyNominal effective exchange rate indices (01.2000 = 100)
Import-weighted
neeri_2000_export_wgtNumberHKD per unit of foreign currencyNominal effective exchange rate indices (01.2000 = 100)
Export-weighted
neeri_2010_trade_wgtNumberHKD per unit of foreign currencyNominal effective exchange rate indices (01.2010 = 100)
Trade-weighted
neeri_2010_import_wgtNumberHKD per unit of foreign currencyNominal effective exchange rate indices (01.2010 = 100)
Import-weighted
neeri_2010_export_wgtNumberHKD per unit of foreign currencyNominal effective exchange rate indices (01.2010 = 100)
Export-weighted
neeri_2020_trade_wgtNumberHKD per unit of foreign currencyNominal effective exchange rate indices (01.2020 = 100)
Trade-weighted
neeri_2020_import_wgtNumberHKD per unit of foreign currencyNominal effective exchange rate indices (01.2020 = 100)
Import-weighted
neeri_2020_export_wgtNumberHKD per unit of foreign currencyNominal effective exchange rate indices (01.2020 = 100)
Export-weighted

Footnotes:

1. The nominal effective exchange rate indices are compiled by the Census and Statistics Department using Hong Kong dollar exchange rates against foreign currencies based on the average closing middle market telegraphic transfer rates or notes rates supplied by the Hang Seng Bank Limited, except that the exchange rate of Macao Pataca is set to be 1. The SDR figures are provided by the International Monetary Fund.

API Examples

Javascript Example

$.ajax({
url: 'https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/er-ir/er-eeri-daily?offset=0',
dataType:'json',
success:function(data){
alert('results found:'+ data.result.datasize)
}
});

Python Example

import urllib.request
url = 'https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/er-ir/er-eeri-daily?offset=0'
with urllib.request.urlopen (url) as req:
print (req.read())

How to use the APIs

To learn more, please visit API documentation.