API for Table I.2C Monetary Authority: Assets and Liabilities, Monthly
Monthly Statistical Bulletin
 
See the data published through this API 


How to use the APIs


The Resource ID for this resource is 15194366-fbda-424f-84c2-603308d6e231. 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"  
2preliminaryPreliminary indicatorNumeric (General) '1' if preliminary, '0' otherwise.
3assets_foreignAssets - Foreign AssetsNumeric (General)S$ Million 
4assets_dom_credit_totalAssets - Total Domestic CreditNumeric (General)S$ Million 
5assets_dom_credit_govtAssets - Domestic Credit to GovernmentNumeric (General)S$ Million 
6assets_dom_credit_pteAssets - Domestic Credit to Private SectorNumeric (General)S$ Million 
7liab_reserve_moneyLiabilities - Reserve MoneyNumeric (General)S$ Million 
8liab_foreignLiabilities - Foreign LiabilitiesNumeric (General)S$ Million 
9liab_govt_depositsLiabilities - Government DepositsNumeric (General)S$ Million 
10other_items_netOther Items (Net)Numeric (General)S$ Million 



API Examples


Javascript example

Making an ajax request with jQuery:
                                
                var data = {

                       resource_id:'15194366-fbda-424f-84c2-603308d6e231',//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=15194366-fbda-424f-84c2-603308d6e231&limit=5'
with urllib.request.urlopen (url) as req:   print (req.read())


Last Modified on 10/11/2016