API Detailed Documentation
API URL:
https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/ef-fc-resv-assets/analysis-fc-reserve-assets|
| |
| 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_ra_exchange_fund | Number | US$ million | Foreign currency reserve assets Exchange Fund |
| fc_ra_land_fund | Number | US$ million | Foreign currency reserve assets Land Fund |
| fc_ra_total | Number | US$ million | Foreign currency reserve assets Total |
| fc_ra_per_capita | Number | US$ | Foreign currency reserve assets per capita1 |
| fc_ra_months_retained_imports_goods | Number | No. of months | Foreign currency reserve assets in terms of months of retained imports of goods2 |
| ratio_fc_ra_to_cic | Number | Ratio of foreign currency reserve assets to currency in circulation |
Footnotes:
| 1. Per capita figure is calculated based on provisional population figure as at end-2018 (figure is subject to revision when updated population figure is available). |
| 2. Figures are calculated based on past 12 months average of retained imports of goods (retained imports figures for 2018 are estimates and subject to revision). |
| * Figures for Dec 1993 shown above reflect accounting policies adopted in 1994. Figures for prior years have not been restated. |
| @ Figures for Dec 1994 shown above reflect accounting policies adopted in 1995. Figures for prior years have not been restated. |
| + As from October 1997, the foreign currency assets have been adjusted to exclude the loans extended to Thailand under the financing package organised by the International Monetary Fund. |
API Examples
Javascript Example
$.ajax({url: 'https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/ef-fc-resv-assets/analysis-fc-reserve-assets?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/analysis-fc-reserve-assets?offset=0'with urllib.request.urlopen (url) as req:print (req.read())