PASAR API

🇲🇾 Population Table: Administrative Districts

← directory
DOSMDemographytier: openauth: no authpricing: freefreq: YEARLYcovers 2020~2025geography: DISTRICT

Population Table: Administrative Districts by DOSM, Demography API, for Malaysia, free.

More Demography APIs

Call it

curl 'https://api.data.gov.my/data-catalogue/?id=population_district&limit=10&sort=-date'

AI prompt

I'm building an app using a free Malaysia API (no auth needed).

API: Population Table: Administrative Districts
Provider: DOSM
Endpoint: GET https://api.data.gov.my/data-catalogue/?id=population_district&limit=10&sort=-date
It returns JSON.

Source: DOSM (https://data.gov.my/data-catalogue/population_district)
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 this and build a simple page that displays it nicely. Include basic production safeguards for errors, empty responses, schema changes, caching, and rate limits.

Related Demography APIs

Population Table: MalaysiaPopulation Table: States