API Detailed Documentation
API URL:
https://api.hkma.gov.hk/public/market-data-and-statistics/daily-monetary-statistics/daily-figures-monetary-base
| |
Output Fields (JSON) | Swagger Format |
Name | Type | Unit Of Measure | Description |
---|---|---|---|
end_of_date | Date | Daily figure Date in ISO format yyyy-mm-dd, For example, 1997-01-01 |
|
cert_of_indebt | Number | HK$ million | Before/After Discount Window Certificates of Indebtedness |
gov_notes_coins_circulation | Number | HK$ million | Before/After Discount Window Government notes/coins in circulation |
aggr_balance_bf_disc_win | Number | HK$ million | Before Discount Window Aggregate Balance |
aggr_balance_af_disc_win | Number | HK$ million | After Discount Window Aggregate Balance |
outstanding_efbn | Number | HK$ million | Before/After Discount Window Outstanding Exchange Fund Bills and Notes |
ow_lb_bf_disc_win | Number | HK$ million | Before Discount Window Of which: held by licensed banks |
ow_lb_af_disc_win | Number | HK$ million | After Discount Window Of which: held by licensed banks |
mb_bf_disc_win_total | Number | HK$ million | Before Discount Window Total Monetary Base |
API Examples
Javascript Example
$.ajax({url: 'https://api.hkma.gov.hk/public/market-data-and-statistics/daily-monetary-statistics/daily-figures-monetary-base?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/daily-monetary-statistics/daily-figures-monetary-base?offset=0'with urllib.request.urlopen (url) as req:print (req.read())