API Detailed Documentation
API URL:
https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/money/supply-adjustedRequest 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 | |
m1_hkd | Number | HK$ million | M1 HK$ |
m1_fc | Number | HK$ million | M1 F.C. |
m1_total | Number | HK$ million | M1 Total |
m2_hkd | Number | HK$ million | M2 HK$2 |
m2_fc | Number | HK$ million | M2 F.C.3 |
m2_total | Number | HK$ million | M2 Total |
m3_hkd | Number | HK$ million | M3 HK$2 |
m3_fc | Number | HK$ million | M3 F.C.3 |
m3_total | Number | HK$ million | M3 Total |
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. |
2. Adjusted to include foreign currency swap deposits |
3. Adjusted to exclude foreign currency swap deposits |
API Examples
Javascript Example
$.ajax({url: 'https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/money/supply-adjusted?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-adjusted?offset=0'with urllib.request.urlopen (url) as req:print (req.read())