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 APIscurl 'https://api.data.gov.my/opendosm?id=cpi_headline&limit=1'
I'm building an app using a free Malaysia API (no auth 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 It returns 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 this and build a simple page that displays it nicely. Include basic production safeguards for errors, empty responses, schema changes, caching, and rate limits.