PASAR API
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 APIscurl 'https://cdn.jsdelivr.net/gh/thailand-geography-data/thailand-geography-json@1/src/geography.json'
I'm building an app using a free Thailand 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. Source: thailand-geography-data (open source) (https://github.com/thailand-geography-data/thailand-geography-json) Source type: Curated source Endpoint type: Provider API base URL Integration difficulty: Copy-paste ready Last checked: 2026-06-29 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.