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 III.2 Foreign Exchange Market Turnover , Monthly
Monthly Statistical Bulletin
 
See the data published through this API 


How to use the APIs


The Resource ID for this resource is 4e55a570-31c8-40fd-a97c-f494d880b053. 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"  
2sgd_total_turnoverTotal TurnoverNumeric (General)S$ Million 
3sgd_daily_averageDaily Average Numeric (General)S$ Million 
4usd_total_turnoverTotal Turnover Numeric (General)US$ Million 
5usd_daily_averageDaily AverageNumeric (General)US$ Million 



API Examples


Javascript example

Making an ajax request with jQuery:
                                
                var data = {

                       resource_id:'4e55a570-31c8-40fd-a97c-f494d880b053',//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=4e55a570-31c8-40fd-a97c-f494d880b053&limit=5'
with urllib.request.url.open (url) as req:   print req.read()


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