API Detailed Documentation
API URL:
https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/efbn/efbn-tender-results-efb?segment=28dayRequest Parameters (Mandatory)
| Parameter Name | Description |
|---|---|
| segment | Used to indicate which sets of data are going to retrieve. Format: segment=data segment name (28day/91day/182day/364day) Example: segment=28day |
| Output Fields (JSON) | Swagger Format |
| Name | Type | Unit Of Measure | Description |
|---|---|---|---|
| issue_date | Date | Issue Date Date in ISO format yyyy-mm-dd, For example, 1997-01-01 | |
| average_yield_accepted | Number | percent per annum | Average yield accepted |
| amount_applied | Number | HK$ million | Amount applied |
| over_subscription | Number | Times | Over-subscription |
API Examples
Javascript Example
$.ajax({url: 'https://api.hkma.gov.hk/public/market-data-and-statistics/monthly-statistical-bulletin/efbn/efbn-tender-results-efb?segment=28day&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/efbn/efbn-tender-results-efb?segment=28day&offset=0'with urllib.request.urlopen (url) as req:print (req.read())