About this API
data.gov.my is the official open-data portal of the Malaysian Government, run by the Department of Statistics Malaysia (DOSM, the OpenDOSM project). Its modern, keyless REST API exposes datasets by identifier — economic statistics, prices, demographics — in JSON, with limit and filtering.
Frequently asked questions
Do I need an API key?
No, the API is public and free — no registration, no key required.
What data does this API return?
Malaysian Government datasets by identifier — statistics, prices, demographics — in JSON.
Can this API be called directly from a browser?
Yes — the API returns a CORS header allowing calls from any domain, so it works directly from frontend code (hence the live "Try it" button above).
Who runs this API?
The Government of Malaysia (Department of Statistics, OpenDOSM). Documentation: developer.data.gov.my.