API Detailed Documentation
API URL:
https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/ef-fc-resv-assets/fc-resv-assests
| |
Output Fields (JSON) | Swagger Format |
Name | Type | Unit Of Measure | Description |
---|---|---|---|
end_of_month | Date | As at end of Year and Month in ISO format yyyy-mm, For example, 1997-01 | |
fc_resv_assets_ef | Number | US$ million | Foreign Currency Reserve Assets Exchange Fund |
fc_resv_assets_lf | Number | US$ million | Foreign Currency Reserve Assets Land Fund |
fc_resv_assets_total | Number | US$ million | Foreign Currency Reserve Assets Total |
unsettle_fx_contracts_ef | Number | US$ million | Unsettled Foreign Exchange Contracts Exchange Fund |
unsettle_fx_contracts_lf | Number | US$ million | Unsettled Foreign Exchange Contracts Land Fund |
unsettle_fx_contracts_total | Number | US$ million | Unsettled Foreign Exchange Contracts Total |
fc_assets_fx_contracts_ef | Number | US$ million | Foreign Currency Reserve Assets Including Unsettled Foreign Exchange Contracts Exchange Fund |
fc_assets_fx_contracts_lf | Number | US$ million | Foreign Currency Reserve Assets Including Unsettled Foreign Exchange Contracts Land Fund |
fc_assets_fx_contracts_total | Number | US$ million | Foreign Currency Reserve Assets Including Unsettled Foreign Exchange Contracts Total |
API Examples
Javascript Example
$.ajax({url: 'https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/ef-fc-resv-assets/fc-resv-assests?offset=0',dataType:'json',success:function(data){alert('results found:'+ data.result.datasize)}});
Python Example
import urllib.requesturl = 'https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/ef-fc-resv-assets/fc-resv-assests?offset=0'with urllib.request.urlopen (url) as req:print (req.read())