API Detailed Documentation
API URL:
https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/banking/credit-card-lending-survey
| |
Output Fields (JSON) | Swagger Format |
Name | Type | Unit Of Measure | Description |
---|---|---|---|
end_of_quarter | Date | Year and Quater in ISO format yyyy-qq, For example, 1997-Q1 | |
endperiod_noofaccts | Number | (‘000) | As at end of period Total number of accounts |
endperiod_delinquent_amt | Number | HK$ million | As at end of period Delinquent amount (>90 days) |
during_chargeoff_amt | Number | HK$ million | During the period Charge-off amount |
during_rollover_amt | Number | HK$ million | During the period Rollover amount |
during_avg_total_receivables | Number | HK$ million | During the period Average total receivables1 |
Footnotes:
1. Average during period (calculated as [opening stock + closing stock]/2) |
2. There is a break in data series at Q4 2001 due to an increase in the number of surveyed institutions. |
API Examples
Javascript Example
$.ajax({url: 'https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/banking/credit-card-lending-survey?offset=0',dataType:'json',success:function(data){alert('results found:'+ data.result.datasize)}});
Python Example
import urllib.requesturl = 'https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/banking/credit-card-lending-survey?offset=0'with urllib.request.urlopen (url) as req:print (req.read())