API Detailed Documentation
API URL:
https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/gov-bond/sec-mar-turnover-govbonds-ibip-original-maturity
| |
Output Fields (JSON) | Swagger Format |
Name | Type | Unit Of Measure | Description |
---|---|---|---|
end_of_month | Date | During Year and Month in ISO format yyyy-mm, For example, 1997-01 | |
ad_turnover_2y | Number | Period average daily turnover, HK$ million | 2-year |
ad_turnover_3y | Number | Period average daily turnover, HK$ million | 3-year |
ad_turnover_5y | Number | Period average daily turnover, HK$ million | 5-year |
ad_turnover_10y | Number | Period average daily turnover, HK$ million | 10-year |
ad_turnover_15y | Number | Period average daily turnover, HK$ million | 15-year |
ad_turnover_total | Number | Period average daily turnover, HK$ million | Total |
API Examples
Javascript Example
$.ajax({url: 'https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/gov-bond/sec-mar-turnover-govbonds-ibip-original-maturity?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/gov-bond/sec-mar-turnover-govbonds-ibip-original-maturity?offset=0'with urllib.request.urlopen (url) as req:print (req.read())