應用程式介面詳細規格
API URL:
https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/banking/mr-lending-borrowers-type名稱 | 類型 | 計量單位 | 描述 |
---|---|---|---|
end_of_month | 日期 | 期末數字 年份和月份採用ISO格式yyyy-mm,例如1997-01 | |
mainland_state_owned_entities | 數字 | 百萬港元 | 中國內地國有企業1 |
mainland_private_entities | 數字 | 百萬港元 | 中國內地民營企業 |
non-mainland_entities | 數字 | 百萬港元 | 非中國內地企業2 |
lending_total | 數字 | 百萬港元 | 總計 |
備註:
1. 包括中央或地方政府持有的企業、其子公司、及其持有多數股份的合資企業。 |
2. 包括(i) 於中國內地註冊但並非由中國內地實益持有的民營企業、其子公司、及其持有多數股份的合資企業,(ii) 非中國內地註冊企業但獲批貸款用於中國內地,及(iii) 其他企業而申報機構視獲批貸款為中國內地相關貸款。 |
應用程式介面例子
Javascript例子
$.ajax({url: 'https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/banking/mr-lending-borrowers-type?offset=0',dataType:'json',success:function(data){alert('results found:'+ data.result.datasize)}});
Python例子
import urllib.requesturl = 'https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/banking/mr-lending-borrowers-type?offset=0'with urllib.request.urlopen (url) as req:print (req.read())