API for Exchange Rates - End of Period, Weekly
Other Financial Statistics
 
See the data published through this API 


How to use the APIs


The Resource ID for this resource is 3a5b732e-9490-4629-a398-d0c414204ee0. For more details on how to use the API, see the API documentation.


Return the first five results




Fields


NoNameTitleTypeUnit Of MeasureDescription
1end_of_weekEnd of weekDatetime (Day) "YYYY-MM-DD"  
2eur_sgdEuroNumeric (General)S$ Per Unit of Currency 
3gbp_sgdPound SterlingNumeric (General)S$ Per Unit of Currency 
4usd_sgdUS DollarNumeric (General)S$ Per Unit of Currency 
5aud_sgdAustralian DollarNumeric (General)S$ Per Unit of Currency 
6cad_sgdCanadian DollarNumeric (General)S$ Per Unit of Currency 
7cny_sgd_100Chinese RenminbiNumeric (General)S$ Per 100 Units of Currency 
8hkd_sgd_100Hong Kong DollarNumeric (General)S$ Per 100 Units of Currency 
9inr_sgd_100Indian RupeeNumeric (General)S$ Per 100 Units of Currency 
10idr_sgd_100Indonesian RupiahNumeric (General)S$ Per 100 Units of Currency 
11jpy_sgd_100Japanese YenNumeric (General)S$ Per 100 Units of Currency 
12krw_sgd_100Korean WonNumeric (General)S$ Per 100 Units of Currency 
13myr_sgd_100Malaysian RinggitNumeric (General)S$ Per 100 Units of Currency 
14twd_sgd_100New Taiwan DollarNumeric (General)S$ Per 100 Units of Currency 
15nzd_sgdNew Zealand DollarNumeric (General)S$ Per Unit of Currency 
16php_sgd_100Philippine PesoNumeric (General)S$ Per 100 Units of Currency 
17qar_sgd_100Qatar RiyalNumeric (General)S$ Per 100 Units of Currency 
18sar_sgd_100Saudi Arabia RiyalNumeric (General)S$ Per 100 Units of Currency 
19chf_sgdSwiss FrancNumeric (General)S$ Per Unit of Currency 
20thb_sgd_100Thai BahtNumeric (General)S$ Per 100 Units of Currency 
21aed_sgd_100UAE DirhamNumeric (General)S$ Per 100 Units of Currency 
22vnd_sgd_100Vietnamese DongNumeric (General)S$ Per 100 Units of Currency 



Additional Notes


Users may wish to utilise the IMF's exchange rate database for a wider range of currencies.

Disclaimer:
(1) These rates are the average of buying and selling interbank rates quoted around midday in Singapore. All rates are obtained, with permission, from Thomson Reuters and disseminated to the public for information and could differ from those quoted by foreign exchange dealers. The rates are not attributable to MAS and MAS does not warrant and hereby disclaims any warranty as to the accuracy, correctness, reliability, currentness, timeliness or fitness for any particular purpose of the rates.

(2) This website contains a link to the IMF exchange rate website with related information and services which are not maintained by MAS. The link to the IMF exchange rate website is provided as a convenience to the user of this website. MAS shall not be responsible for the contents of the IMF exchange rate website and is not in a position to verify the information or endorse the accuracy or reliability of any of the information or contents contained on, distributed through, or linked, downloaded or accessed from such website. MAS shall also not be responsible for any damages, including direct, indirect, incidental, punitive or consequential damages or loss of any kind whatsoever arising from access to that website. Use of the link to the IMF exchange rate website and access to such linked website is entirely at your own risk.

API Examples


Javascript example

Making an ajax request with jQuery:
                                
                var data = {

                       resource_id:'3a5b732e-9490-4629-a398-d0c414204ee0',//the resource id
                   
                       limit:5 //get 5 results                                                                   

                };

                $.ajax({

                     url: 'https://eservices.mas.gov.sg/api/action/datastore/search.json',

                     data:data,

                     dataType:'json',
                        
                     success:function(data){

                      alert('Total results found:'+ data.result.total)

                     }

                 });  

            


Python Example


               import urllib.request

                url = 'https://eservices.mas.gov.sg/api/action/datastore/search.json?resource_id=3a5b732e-9490-4629-a398-d0c414204ee0&limit=5'
with urllib.request.urlopen (url) as req:   print (req.read())


Last Modified on 10/11/2016