API for Table III.2 Foreign Exchange Market Turnover , Yearly
Monthly Statistical Bulletin
 
See the data published through this API 


How to use the APIs


The Resource ID for this resource is 9e86bff3-1ba8-4d51-8403-d17794bc0696. 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"  
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:'9e86bff3-1ba8-4d51-8403-d17794bc0696',//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=9e86bff3-1ba8-4d51-8403-d17794bc0696&limit=5'
with urllib.request.urlopen (url) as req:   print (req.read())


Last Modified on 06/03/2017