wilayah_search
Search official Indonesian administrative regions (province, regency/city, district, village) by name and get the official Kemendagri 2025 code plus full hierarchy. Handles 'Kab.', 'Kota', 'Kec.' prefixes. Costs $0.005 per call (x402, USDC on Base; see lokalapi_info).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Region name, e.g. 'Sleman', 'Kota Yogyakarta', 'Sinduharjo' | |
| level | No | ||
| limit | No | Max results (1-25, default 10) | |
| parent | No | Restrict to children of this code, e.g. '34.04' |