API Detailed Documentation
API URL:
https://api.hkma.gov.hk/public/bank-svf-info/hotlines-auth-retailbanks-rep?lang=enRequest Parameters (Mandatory)
Parameter Name | Description |
---|---|
lang | To input the language selected to output. Format: lang=(en|tc) Example: lang=en |
Output Fields (JSON) | Swagger Format |
Name | Type | Description |
---|---|---|
retailbank_name | String | Retail Bank |
hotline_1 | String | Hotline (1) |
remark_1 | String | Remark of Hotline (1) |
hotline_2 | String | Hotline (2) |
remark_2 | String | Remark of Hotline (2) |
hotline_3 | String | Hotline (3) |
remark_3 | String | Remark of Hotline (3) |
API Examples
Javascript Example
$.ajax({url: 'https://api.hkma.gov.hk/public/bank-svf-info/hotlines-auth-retailbanks-rep?lang=en&offset=0',dataType:'json',success:function(data){alert('results found:'+ data.result.datasize)}});
Python Example
import urllib.requesturl = 'https://api.hkma.gov.hk/public/bank-svf-info/hotlines-auth-retailbanks-rep?lang=en&offset=0'with urllib.request.urlopen (url) as req:print (req.read())