API Detailed Documentation
API URL:
https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/money/supply-components-hkdRequest 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 | |
legal_tender_notes_coins_in_pub | Number | HK$ million | Legal tender notes and coins in hands of public |
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_by_lb_in_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_by_rlbsdtcs_in_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. |
@ HK$ M1 was boosted by the increase in demand deposits due to the typhoon on 31.08.95. |
API Examples
Javascript Example
$.ajax({url: 'https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/money/supply-components-hkd?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-hkd?offset=0'with urllib.request.urlopen (url) as req:print (req.read())