Hong Kong dollar forward exchange rates – End of period figures

API Detailed Documentation

API URL:

https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/er-ir/hkd-fer-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
hkd_fer_spotNumberHKD against USDSpot
hkd_fer_1wNumberHKD against USD1-week
hkd_fer_1mNumberHKD against USD1-month
hkd_fer_3mNumberHKD against USD3-month
hkd_fer_6mNumberHKD against USD6-month
hkd_fer_9mNumberHKD against USD9-month
hkd_fer_12mNumberHKD against USD12-month

Footnotes:

1. Hong Kong dollar forward exchange rates refer to the premium/discount on the closing middle telegraphic transfer spot rates of HKD against USD in the interbank market from Reuters. Since May 1997, the rates are those quoted by the Hang Seng Bank.

API Examples

Javascript Example

$.ajax({
url: 'https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/er-ir/hkd-fer-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/hkd-fer-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.