客戶存款(按貨幣劃分)

應用程式介面詳細規格

API URL:

https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/banking/customer-deposits-by-currency

API數據查詢

輸出字段(JSON) Swagger格式
名稱 類型 計量單位 描述
end_of_month日期期末數字
年份和月份採用ISO格式yyyy-mm,例如1997-01
fc_swap_deposits數字百萬港元外幣掉期存款
deposits_hkd數字百萬港元認可機構存款(已就外幣掉期存款作出調整)
港元2
deposits_usd數字百萬港元認可機構存款(已就外幣掉期存款作出調整)
美元3
deposits_nonusd_fc數字百萬港元認可機構存款(已就外幣掉期存款作出調整)
非美元外幣3
deposits_all_fc數字百萬港元認可機構存款(已就外幣掉期存款作出調整)
所有外幣3
deposits_all數字百萬港元認可機構存款(已就外幣掉期存款作出調整)
所有貨幣

備註:

1. 由於數字自1997年4月起包括不足一個月的外匯基金短期存款,因此有關序列出現中斷情況。
2. 已包括外幣掉期存款
3. 已扣除外幣掉期存款

應用程式介面例子

Javascript例子

$.ajax({
url: 'https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/banking/customer-deposits-by-currency?offset=0',
dataType:'json',
success:function(data){
alert('results found:'+ data.result.datasize)
}
});

Python例子

import urllib.request
url = 'https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/banking/customer-deposits-by-currency?offset=0'
with urllib.request.urlopen (url) as req:
print (req.read())

如何使用應用程式介面

有關詳情,請瀏覧「應用程式介面規格」。