PASAR API
Keyless REST API over DOSM's open statistics catalogue (GDP, household income, poverty, population, prices and more). GET /opendosm/?id=<dataset> returns JSON. Free and open, no auth. MY-first.
View docs ↗ More Government services APIs All Malaysia APIscurl --fail-with-body --location --max-time 30 'https://api.data.gov.my/opendosm?id=cpi_headline&limit=1'
I'm building an app using a public Malaysia API (no private credentials needed). API: OpenDOSM ~ official Malaysian statistics Provider: Department of Statistics Malaysia (DOSM) Endpoint: GET https://api.data.gov.my/opendosm?id=cpi_headline&limit=1 Response format: JSON Source: Department of Statistics Malaysia (DOSM) (https://developer.data.gov.my/static-api/opendosm) Source type: Curated source Endpoint type: Provider API base URL Integration difficulty: Copy-paste ready Last checked: 2026-06-30 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.