PASAR API

🇲🇾 Malaysia Postcodes

← directory
AsyrafHussin (community)Maps & locationtier: openauth: no authpricing: freeverified 2026-06-30

MY-specific. Open-source MIT dataset of Malaysian postcodes with city and state, as JSON files plus an npm package (malaysia-postcodes). Static data, not a live geocoding service.

View docs ↗ More Maps & location APIs

Call it

curl 'https://raw.githubusercontent.com/AsyrafHussin/malaysia-postcodes/master/all.json'

AI prompt

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

API: Malaysia Postcodes
Provider: AsyrafHussin (community)
Endpoint: GET https://raw.githubusercontent.com/AsyrafHussin/malaysia-postcodes/master/all.json
It returns JSON.

Source: AsyrafHussin (community) (https://github.com/AsyrafHussin/malaysia-postcodes)
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.

Related Maps & location APIs

OneMap ~ Singapore's official map: geocoding, routing & themesMapbox Geocoding API ~ forward/reverse geocodingGoogle Maps PlatformHERE Location ServicesRadar Maps PlatformNominatim (OpenStreetMap)TomTom Maps & RoutingAzure MapsFoursquare Places APIOpenRouteService Routing & Geospatial