API Detailed Documentation
API URL:
https://api.hkma.gov.hk/public/bank-svf-info/banks-ssm-locator?lang=enRequest Parameters (Mandatory)
Parameter Name | Description |
---|---|
lang | To input the language selected to output. Format: lang=(en|tc|sc) Example: lang=tc |
Output Fields (JSON) | Swagger Format |
Name | Type | Description |
---|---|---|
district | Text | District |
bank_name | Text | Name of Bank |
type_of_machine | Text | Type of machine |
address | Text | Address |
service_hours | Text | Service hours |
latitude | Number | Latitude information |
longitude | Number | Longitude information |
API Examples
Javascript Example
$.ajax({url: 'https://api.hkma.gov.hk/public/bank-svf-info/banks-ssm-locator?lang=en',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/banks-ssm-locator?lang=en'with urllib.request.urlopen (url) as req:print (req.read())