API Detailed Documentation
API URL:
https://api.hkma.gov.hk/public/financial-market-infra/trade-repository/list-of-tr-member-with-lei
| |
Output Fields (JSON) | Swagger Format |
Name | Type | Description |
---|---|---|
tr_code | String | TR Member Code |
tr_name | String | Name |
subscribed_service | String | Subscribed Service1 |
global_lei | String | Global Legal Entity Identifier (LEI) / Pre-LEI |
Footnotes:
1. RPT – Reporting Service |
API Examples
Javascript Example
$.ajax({url: 'https://api.hkma.gov.hk/public/financial-market-infra/trade-repository/list-of-tr-member-with-lei?offset=0',dataType:'json',success:function(data){alert('results found:'+ data.result.datasize)}});
Python Example
import urllib.requesturl = 'https://api.hkma.gov.hk/public/financial-market-infra/trade-repository/list-of-tr-member-with-lei?offset=0'with urllib.request.urlopen (url) as req:print (req.read())