API Detailed Documentation
API URL:
https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/ef-fc-resv-assets/ef-analyt-acct|
| |
| 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 | |
| monetary_base | Number | HK$ million | Monetary Base |
| claims_hksar_gov | Number | HK$ million | Claims on the HKSAR Government |
| claims_private_sector | Number | HK$ million | Claims on the Private Sector in Hong Kong |
| foreign_assets | Number | HK$ million | Foreign Assets1 |
| foreign_liabilities | Number | HK$ million | Foreign Liabilities2 |
Footnotes:
| 1. Foreign Assets represent the external assets of the Exchange Fund which exclude foreign currency deposits placed with and certificates of deposit issued by banks in Hong Kong. |
| 2. Foreign Liabilities include obligations under repurchase agreements, securities lending with cash collateral arrangements and fees payable to the Exchange Fund's external managers. |
API Examples
Javascript Example
$.ajax({url: 'https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/ef-fc-resv-assets/ef-analyt-acct?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/ef-fc-resv-assets/ef-analyt-acct?offset=0'with urllib.request.urlopen (url) as req:print (req.read())