API Detailed Documentation
API URL:
https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/money/supply-components-fcRequest Parameters (Mandatory)
Parameter Name | Description |
---|---|
segment | Used to indicate which sets of data are going to retrieve. Format: segment=data segment name (new/old) Example: segment=new |
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 | |
demand_deposits_with_lb | Number | HK$ million | Demand deposits with licensed banks |
m1_supply | Number | HK$ million | M1 |
savings_deposits_with_lb | Number | HK$ million | Savings deposits with licensed banks |
time_deposits_with_lb | Number | HK$ million | Time deposits with licensed banks |
ncds_issuedby_lb_heldby_pub | Number | HK$ million | NCDs issued by licensed banks and held by public |
m2_supply | Number | HK$ million | M2 |
deposits_with_rlbsdtcs | Number | HK$ million | Deposits with RLBs & DTCs |
ncds_issuedby_rlbsdtcs_heldby_pub | Number | HK$ million | NCDs issued by RLBs & DTCs and held by public |
m3_supply | Number | HK$ million | M3 |
Footnotes:
1. There is a break in data series due to the inclusion of short-term Exchange Fund placements of less than one month since April 1997. |
* Adjusted figures are not available prior to December 1984. |
API Examples
Javascript Example
$.ajax({url: 'https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/money/supply-components-fc?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/money/supply-components-fc?offset=0'with urllib.request.urlopen (url) as req:print (req.read())