Silver Dollar Exchange Rate

API Detailed Documentation

API URL:

API Data Enquiry

Output Fields (JSON) Swagger Format
 
Name Type Unit Of Measure Description
Exrt_yr Date Year
Exrt_hksild_a Number UK Pound  Silver Dollar 
Exrt_silhigh_a Number UK Pound  Silver Price: Highest 
Exrt_sillow_a Number UK Pound  Silver Price: Lowest 
Footnotes
Silver Dollar Exchange Rate: Silver Dollar in Hong Kong,
Annual Highest Silver Price, Annual Lowest Silver Price.
Period: 1843-1940 for Silver Dollar,
1841-1940 for Silver.
Unit: UK Pound per Silver Dollar,
UK Pound per Ounce of 0.925 fine Silver.
Yearly-Average Data for Silver Dollar
Source: C.F. Joseph Tom (1964), The Entrepot Trade and the Monetary Standards of Hong Kong, 1842-1941: Appendices 13-15.
Note: Price of silver is the price quoted in London.
Javascript Example
$.ajax({
url: 'https://api.hkma.gov.hk/public/hkimr/silver-dollar-ex-rate?offset=0',
dataType:'json',
success:function(data){
alert('results found:'+ data.result.datasize)
}
});
 
Python Example
import urllib.request
url = 'https://api.hkma.gov.hk/public/hkimr/silver-dollar-ex-rate?offset=0'
with urllib.request.urlopen (url) as req:
print (req.read())