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 APIs All Thailand APIscurl --fail-with-body --location --max-time 30 'https://cdn.jsdelivr.net/gh/thailand-geography-data/thailand-geography-json@1/src/geography.json'
I'm building an app using a public Thailand API (no private credentials 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 Response format: 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: The complete 2.9 MB JSON download parsed successfully on follow-up. The earlier partial-response warning came from the audit download limit; data completeness and administrative currency remain separate checks. Help me fetch and display this data. Follow the documented format and handle errors, empty responses, stale coverage, caching and rate limits.