PASAR API
Source: SINGAPORE DEPARTMENT OF STATISTICS Data Last Updated: 23/07/2026 Update Frequency: Monthly Footnotes: The weighting pattern of the Consumer Price Index (CPI) was derived from the expenditure values collected from. Keyless JSON via data.gov.sg datastore. SG-first.
View docs ↗ More Economy & business APIs All Singapore APIscurl --fail-with-body --location --max-time 30 'https://data.gov.sg/api/action/datastore_search?resource_id=d_bdaff844e3ef89d39fceb962ff8f0791&limit=10'
I'm building an app using a public Singapore API (no private credentials needed). API: Consumer Price Index (CPI), 2024 As Base Year, Monthly Provider: Singapore Department of Statistics Endpoint: GET https://data.gov.sg/api/action/datastore_search?resource_id=d_bdaff844e3ef89d39fceb962ff8f0791&limit=10 Response format: JSON Source: Singapore Department of Statistics via data.gov.sg (https://data.gov.sg/datasets/d_bdaff844e3ef89d39fceb962ff8f0791/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.