API Detailed Documentation
API URL:
https://api.hkma.gov.hk/public/bank-svf-info/banks-atm-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 |
function | Text | Function |
currencies_supported | Text | Currencies supported |
barrier-free_access | Text | Barrier-free access |
network | Text | Network |
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-atm-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-atm-locator?lang=en'with urllib.request.urlopen (url) as req:print (req.read())