API Detailed Documentation
API URL:
https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/monetary-operation/market-operation-periodaverage
| |
Output Fields (JSON) | Swagger Format |
Name | Type | Unit Of Measure | Description |
---|---|---|---|
end_of_month | Date | Year and Month in ISO format yyyy-mm, For example, 1997-01 | |
specific_data | String | Specific day range in format D-D, For example, 1-15 | |
market_activities_injection | Number | HK$ million | Period total Changes in Aggregate Balance1 Market activities2 Injection |
market_activities_withdrawal | Number | HK$ million | Period total Changes in Aggregate Balance1 Market activities2 Withdrawal |
interest_payment | Number | HK$ million | Period total Changes in Aggregate Balance1 Interest Payment/Issuance of Exchange Fund Paper |
discount_window_reversal_injection | Number | HK$ million | Period total Changes in Aggregate Balance1 Discount Window reversal3 Injection |
discount_window_reversal_withdrawal | Number | HK$ million | Period total Changes in Aggregate Balance1 Discount Window reversal3 Withdrawal |
discount_window_activities_lending | Number | HK$ million | Period total Changes in Aggregate Balance1 Discount Window activities Lending |
discount_window_activities_borrowing | Number | HK$ million | Period total Changes in Aggregate Balance1 Discount Window activities Borrowing |
closing_balance | Number | HK$ million | End of period figure Changes in Aggregate Balance1 Closing balance |
Footnotes:
1. Prior to 9 December 1996, the closing balance referred to the account balance that the management bank of the Hong Kong Association of Banks' Clearing House maintained with the Exchange Fund. Since the inception of the Real Time Gross Settlement System (RTGS) on 9 December 1996, the closing balance refers to the aggregate balance of settlement accounts that licensed banks maintain with the Exchange Fund under the RTGS. |
2. Market activities refer to the net injection or withdrawal of funds by the HKMA in the interbank money market. |
3. Discount Window Reversal is the reversal of previous day's Discount Window activities. |
API Examples
Javascript Example
$.ajax({url: 'https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/monetary-operation/market-operation-periodaverage?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/monetary-operation/market-operation-periodaverage?offset=0'with urllib.request.urlopen (url) as req:print (req.read())