Exchange rates and the effective exchange rate indices – End of period figures

API Detailed Documentation

API URL:

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

API Data Enquiry

Output Fields (JSON) Swagger Format
Name Type Unit Of Measure Description
end_of_monthDateAs at end of
Year and Month in ISO format yyyy-mm, For example, 1997-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
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

Footnotes:

1. Statistics of Hong Kong dollar exchange rates against foreign currencies are compiled based on the average closing middle

API Examples

Javascript Example

$.ajax({
url: 'https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/er-ir/er-eeri-endperiod?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-endperiod?offset=0'
with urllib.request.urlopen (url) as req:
print (req.read())

How to use the APIs

To learn more, please visit API documentation.