This API will be discontinued by 31 October 2023, please update your APIs and bookmark to "https://eservices.mas.gov.sg/apimg-portal/".

For more information, please subscribe to the new API resources and accelerate your app roadmap. "Browse the new API Catalogue"

[Deprecation]
API for Exchange Rates - Average for Period, Yearly
Other Financial Statistics
 
See the data published through this API 


How to use the APIs


The Resource ID for this resource is 2f0d9ccd-4190-41fd-a53d-2a319934ca6c. For more details on how to use the API, see the API documentation.


Return the first five results




Fields


NoNameTitleTypeUnit Of MeasureDescription
1end_of_yearEnd of yearDatetime (Year) "YYYY"  
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:'2f0d9ccd-4190-41fd-a53d-2a319934ca6c',//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?resource_id=2f0d9ccd-4190-41fd-a53d-2a319934ca6c&limit=5'
with urllib.request.url.open (url) as req:   print req.read()


© 2023, Government of Singapore. Last updated on 01 Aug 2023