PASAR API

🇲🇾 Population Table: Administrative Districts

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

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

More Demography APIs All Malaysia APIs

Call it

curl --fail-with-body --location --max-time 30 'https://storage.dosm.gov.my/population/population_district.csv'

AI prompt

I'm building an app using a public Malaysia API (no private credentials needed).

API: Population Table: Administrative Districts
Provider: DOSM
Endpoint: GET https://storage.dosm.gov.my/population/population_district.csv
Response format: CSV

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: The JSON catalogue sample returned an empty array. This verified 24.6 MB official CSV is a bulk download; parse as CSV and cache locally. Its availability does not establish complete or current coverage.

Help me fetch and display this data. Follow the documented format and handle errors, empty responses, stale coverage, caching and rate limits.

Related Demography APIs

Monthly Arrivals by Nationality & SexAnnual Live BirthsAnnual Live Births by Sex & EthnicityAnnual Live Births by State, Sex, & EthnicityAnnual Live Births by StateAnnual Live Births by District & SexAnnual DeathsAnnual Deaths by District & SexAnnual Early Childhood DeathsAnnual Early Childhood Deaths by Sex