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 Table IV.7 Official Foreign Reserves , Monthly
Monthly Statistical Bulletin
 
See the data published through this API 


How to use the APIs


The Resource ID for this resource is a8fab653-feeb-4c7a-a036-b544dca9bf1a. For more details on how to use the API, see the API documentation.


Return the first five results




Fields


NoNameTitleTypeUnit Of MeasureDescription
1end_of_monthEnd of monthDatetime (Month) "YYYY-MM"  
2total_foreign_reserves_sgdTotal Foreign ReservesNumeric (General)S$ Million 
3special_drawing_rightsSpecial Drawing RightsNumeric (General)S$ Million 
4reserve_position_imfReserve Position in the IMFNumeric (General)S$ Million 
5gold_foreign_exchangeGold and Foreign ExchangeNumeric (General)S$ Million 
6total_foreign_reserves_usdTotal Foreign ReservesNumeric (General)US$ Million 



Additional Notes


Prior to May 1999, Singapore's official foreign reserves were valued at book cost. With effect from May 1999, the book value of foreign reserve assets are translated at market exchange rates prevailing at the end of each reporting month.

API Examples


Javascript example

Making an ajax request with jQuery:
                                
                var data = {

                       resource_id:'a8fab653-feeb-4c7a-a036-b544dca9bf1a',//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=a8fab653-feeb-4c7a-a036-b544dca9bf1a&limit=5'
with urllib.request.url.open (url) as req:   print req.read()


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