PASAR API

🇮🇩 API Wilayah Indonesia (emsifa) ~ provinces to villages

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

Keyless static-JSON dataset of Indonesia's full administrative hierarchy from BPS codes: GET /provinces.json, /regencies/{prov}.json, /districts/{reg}.json, /villages/{dist}.json return JSON. Static data, not live geocoding. ID-first.

View docs ↗ More Maps & location APIs

Call it

curl 'https://www.emsifa.com/api-wilayah-indonesia/api/provinces.json'

AI prompt

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

API: API Wilayah Indonesia (emsifa) ~ provinces to villages
Provider: Emsifa (community)
Endpoint: GET https://www.emsifa.com/api-wilayah-indonesia/api/provinces.json
It returns JSON.

Source: Emsifa (community) (https://github.com/emsifa/api-wilayah-indonesia)
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.

Related Maps & location APIs

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