PASAR API
Total Expenditure comprises Operating and Development Expenditure. Keyless JSON via data.gov.sg datastore. SG-first.
View docs ↗ More Finance APIs All Singapore APIscurl --fail-with-body --location --max-time 30 'https://data.gov.sg/api/action/datastore_search?resource_id=d_6a804a6860b5c51af08df679a71bc190&limit=10'
I'm building an app using a public Singapore API (no private credentials needed). API: Government Expenditure by Type Provider: Ministry of Finance Endpoint: GET https://data.gov.sg/api/action/datastore_search?resource_id=d_6a804a6860b5c51af08df679a71bc190&limit=10 Response format: JSON Source: Ministry of Finance via data.gov.sg (https://data.gov.sg/datasets/d_6a804a6860b5c51af08df679a71bc190/view) Source type: Official open-data catalogue Endpoint type: Open-data catalogue JSON Integration difficulty: Copy-paste ready Production caveat: Still handle empty rows, schema changes, pagination, stale coverage, and temporary upstream failures. Help me fetch and display this data. Follow the documented format and handle errors, empty responses, stale coverage, caching and rate limits.