๐Ÿ‡ฎ๐Ÿ‡ฉ wilayah-id

API v1
API Documentation

API Reference

Base URL: /api/v1
20 endpoints ยท Semua response dalam format JSON terstruktur

Response Format:
{ "status": "success", "data": [...], "meta": { "total": N } }

Regions

9 endpoints
GET/regions/provinces
GET/regions/provinces/:kode
GET/regions/regencies
GET/regions/regencies/:kode
GET/regions/districts
GET/regions/districts/:kode
GET/regions/villages
GET/regions/villages/:kode
GET/regions/search

Boundaries (GeoJSON)

9 endpoints
GET/boundaries/provinces
GET/boundaries/provinces/:kode
GET/boundaries/regencies
GET/boundaries/regencies/:kode
GET/boundaries/districts
GET/boundaries/districts/:kode
GET/boundaries/villages
GET/boundaries/villages/:kode
GET/boundaries/reverse

Postal Codes

2 endpoints
GET/postal-codes
GET/postal-codes/lookup

๐Ÿ—บ๏ธ Vector Tiles

Mapbox Vector Tiles (MVT) di /tiles/{layer}/{z}/{x}/{y}.pbf

provinsi
z3โ€“9
kabupaten
z7โ€“11
kecamatan
z10โ€“12
desa
z12โ€“14