API for Table IV.7 Official Foreign Reserves , Yearly
Monthly Statistical Bulletin
 
See the data published through this API 


How to use the APIs


The Resource ID for this resource is ce3cc478-8bff-4b8a-a009-05ef77d5c8c0. 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"  
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:'ce3cc478-8bff-4b8a-a009-05ef77d5c8c0',//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=ce3cc478-8bff-4b8a-a009-05ef77d5c8c0&limit=5'
with urllib.request.urlopen (url) as req:   print (req.read())


Last Modified on 08/06/2017