API Detailed Documentation
API URL:
https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/money/currency
| |
Output Fields (JSON) | Swagger Format |
Name | Type | Unit Of Measure | Description |
---|---|---|---|
end_of_month | Date | As at end of Year and Month in ISO format yyyy-mm, For example, 1997-01 | |
bank_issues | Number | HK$ million | Legal tender notes and coins in circulation Commercial bank issues legal tender notes and coins in circulation |
gov_issues | Number | HK$ million | Legal tender notes and coins in circulation Government issues legal tender notes and coins in circulation |
total_issues | Number | HK$ million | Legal tender notes and coins in circulation Total |
ais_hold_notes_coins | Number | HK$ million | Authorized institutions' holdings of legal tender notes and coins |
public_hold_notes_coins | Number | HK$ million | Legal tender notes and coins in hands of public |
API Examples
Javascript Example
$.ajax({url: 'https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/money/currency?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/money/currency?offset=0'with urllib.request.urlopen (url) as req:print (req.read())