API Detailed Documentation
API URL:
https://api.hkma.gov.hk/public/bank-svf-info/fraudulent-bank-scams?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 |
---|---|---|
issue_date | Date | Issue Date Date in ISO format yyyy-mm-dd, For example, 1997-01-01 |
alleged_name | String | Alleged Name |
scam_type | String | Type of the Scam |
pr_url | String | Hyperlink to the Press Release |
fraud_website_address | String | Fraudulent Website Address |
API Examples
Javascript Example
$.ajax({url: 'https://api.hkma.gov.hk/public/bank-svf-info/fraudulent-bank-scams?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/fraudulent-bank-scams?lang=en&offset=0'with urllib.request.urlopen (url) as req:print (req.read())