Customer deposits by currency

API Detailed Documentation

API URL:

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

Request 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_monthDateAs at end of
Year and Month in ISO format yyyy-mm, For example, 1997-01
fc_swap_depositsNumberHK$ millionForeign currency swap deposits
deposits_hkdNumberHK$ millionDeposits with authorized institutions (Adjusted for foreign currency swap deposits)
HK$2
deposits_usdNumberHK$ millionDeposits with authorized institutions (Adjusted for foreign currency swap deposits)
US$3
deposits_nonusd_fcNumberHK$ millionDeposits with authorized institutions (Adjusted for foreign currency swap deposits)
Non-US$ foreign currencies3
deposits_all_fcNumberHK$ millionDeposits with authorized institutions (Adjusted for foreign currency swap deposits)
All foreign currencies3
deposits_allNumberHK$ millionDeposits with authorized institutions (Adjusted for foreign currency swap deposits)
All currencies

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/banking/customer-deposits-by-currency?offset=0',
dataType:'json',
success:function(data){
alert('results found:'+ data.result.datasize)
}
});

Python Example

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())

How to use the APIs

To learn more, please visit API documentation.