API Detailed Documentation
API URL:
https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/financial/economic-statistics
| |
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 | |
nominal_gdp | Number | HK$ million | Nominal GDP1 |
real_gdp | Number | HK$ million | Real GDP1 (at chained 2016 dollars) |
gov_consol_bal | Number | HK$ million | Government consolidated balance2 |
composite_cpi | Number | HK$ million | Composite CPI (10/2014-09/2015=100) |
unemploy_rate | Number | HK$ million | Unemployment rate3 |
curr_acc_bal | Number | HK$ million | Current account balance1 |
fc_reserve | Number | US$ billion | Foreign currency reserves4 |
Footnotes:
1. Figures for March, June, September and December refer to quarter total. |
2. Fiscal year begins on 1 April. |
3. Percent of labour force (seasonally adjusted). Monthly figures refer to average during the three-month period. |
4. End of period figure. |
API Examples
Javascript Example
$.ajax({url: 'https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/financial/economic-statistics?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/financial/economic-statistics?offset=0'with urllib.request.urlopen (url) as req:print (req.read())