PASAR API

🇹🇭 Thailand Geography JSON ~ provinces, districts & postcodes

← directory
thailand-geography-data (open source)Maps & locationtier: openauth: no authpricing: freeverified 2026-06-29

Maintained open dataset of all 77 provinces, 928 districts, 7,436 subdistricts and postal codes as bilingual (Thai/English) JSON served over the jsDelivr CDN, no key. TH-first.

View docs ↗ More Maps & location APIs

Call it

curl 'https://cdn.jsdelivr.net/gh/thailand-geography-data/thailand-geography-json@1/src/geography.json'

AI prompt

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

API: Thailand Geography JSON ~ provinces, districts & postcodes
Provider: thailand-geography-data (open source)
Endpoint: GET https://cdn.jsdelivr.net/gh/thailand-geography-data/thailand-geography-json@1/src/geography.json
It returns JSON.

Help me fetch this and build a simple page that displays it nicely.

Related Maps & location APIs

OneMap ~ Singapore's official map: geocoding, routing & themesMapbox Geocoding API ~ forward/reverse geocodingGoogle Maps PlatformHERE Location ServicesRadar Maps PlatformTomTom Maps & RoutingAzure MapsFoursquare Places APIGeoapify Location Platformwhat3words Address API