API Reference

Location Profile: region, postal code, minimum wage and surroundings from one coordinate

One request turns a coordinate into a full profile: the village from a point-in-polygon test on 83,404 village boundaries, postal code, time zone, UMK/UMP, nearby facilities and POIs, and the six nearest transport points. 10 credits per successful request.

Main endpoint
GET https://use.apiindonesia.id/api/v1/lokasi/profil
Endpoints
1
Authentication
x-api-key header (create one free in the dashboard)
Price
10 credits per successful request (1 credit = Rp1); failed requests are free
Format
JSON (REST), with cURL, JavaScript and Python examples
Data source
Region boundaries: open-admin-data/indonesia-administrative-divisions (CC BY 4.0); UMK from governor decrees, UMP from Satudata Kemnaker; Facilities: OpenStreetMap (ODbL 1.0), Wikidata, the KMK register; POI: Overture Maps Places (CDLA-Permissive-2.0); Transport: API Indonesia's airport, port, station, terminal and toll datasets, validated against official lists; When no polygon contains the point, the region is the nearest village centroid within 2.5 km, flagged metode centroid_terdekat; anything further answers 404; Every response carries meta.attribution for all sources
Product Brief

What this API gives you

Send one coordinate and get a full answer about that point in a single request: which village it falls in, postal code, time zone, minimum wage, facilities and POIs nearby, plus the nearest airport, port, station, bus terminal and toll gate.

  • The region comes from a point-in-polygon test against village boundaries (83,404 polygons), not a nearest-distance guess
  • Kemendagri region codes from province down to village, ready for the wilayah and kodepos endpoints
  • The latest regency/city UMK plus the provincial UMP, with the legal basis
  • Public facility counts per category and POI counts per category around the point
  • Six nearest transport points with distances in metres
  • One request replaces six to eight separate calls
  • Region boundaries: open-admin-data/indonesia-administrative-divisions (CC BY 4.0)
  • UMK from governor decrees, UMP from Satudata Kemnaker
  • Facilities: OpenStreetMap (ODbL 1.0), Wikidata, the KMK register; POI: Overture Maps Places (CDLA-Permissive-2.0)
  • Transport: API Indonesia's airport, port, station, terminal and toll datasets, validated against official lists
  • When no polygon contains the point, the region is the nearest village centroid within 2.5 km, flagged metode centroid_terdekat; anything further answers 404
  • Every response carries meta.attribution for all sources
Coverage
1

ready-to-use endpoints in this product, with JSON responses and consistent error handling.

Access
API key

Can be tried with the 3,000 credit signup bonus, then used in production through one API Indonesia key.

Sample resource
https://use.apiindonesia.id/api/v1/lokasi/profil

Returns the administrative region (with how it was resolved), postal code, time zone, UMK/UMP, a facility and POI summary within the radius, and the nearest transport. 10 credits per successful request; a coordinate at sea or outside Indonesia answers 404 and is not charged.

Example product scenarios

This section separates the product page from the docs. The docs explain how to call endpoints; this page explains why the endpoints make sense for your feature.

  • Fintech & lending: check which village a customer address coordinate falls in, and pull its postal code and minimum wage as verification context.
  • Logistics & e-commerce: auto-fill region and postal code from a map pin, and see the nearest port, airport and toll gate.
  • Property & retail expansion: compare candidate sites by the POIs, facilities and transport access around them.
  • HR & payroll: map a branch office coordinate to the applicable minimum wage without matching city names by hand.

Example Usage

Request
curl "https://use.apiindonesia.id/api/v1/lokasi/profil?lat=-6.1754&lng=106.8272" \
  -H "x-api-key: YOUR_API_KEY"
Response · 200 OK
{
  "success": true,
  "data": {
    "koordinat": {
      "lat": -6.1754,
      "lng": 106.8272
    },
    "wilayah": {
      "metode": "poligon",
      "provinsi": {
        "kode": "31",
        "nama": "Daerah Khusus Ibukota Jakarta"
      },
      "kabupaten": {
        "kode": "31.71",
        "id": "3171",
        "nama": "Kota Administrasi Jakarta Pusat"
      },
      "kecamatan": {
        "kode": "31.71.01",
        "id": "317101",
        "nama": "Gambir"
      },
      "kelurahan": {
        "kode": "31.71.01.1001",
        "id": "3171011001",
        "nama": "Gambir",
        "jenis": "kelurahan"
      },
      "kode_pos": [
        "10110"
      ],
      "zona_waktu": {
        "kode": "WIB",
        "utc_offset": "+07:00",
        "iana": "Asia/Jakarta"
      }
    },
    "upah_minimum": {
      "umk": null,
      "ump": {
        "provinsi_kode": "31",
        "tahun": 2026,
        "ump": 5729876
      }
    },
    "sekitar": {
      "fasilitas": {
        "radius_m": 1000,
        "total": 15,
        "per_kategori": {
          "ibadah": 14,
          "polisi": 1
        }
      },
      "poi": {
        "radius_m": 1000,
        "total": 1319,
        "kategori_teratas": [
          {
            "kategori": "government_office",
            "jumlah": 237
          },
          {
            "kategori": "party_and_event_planning",
            "jumlah": 38
          },
          {
            "kategori": "hotel",
            "jumlah": 36
          }
        ]
      }
    },
    "transportasi_terdekat": {
      "bandara": {
        "id": "wihh",
        "nama": "Bandar Udara Internasional Halim Perdanakusuma",
        "iata": "HLP",
        "icao": "WIHH",
        "jenis": "besar",
        "layanan_terjadwal": 1,
        "lat": -6.266989,
        "lng": 106.890318,
        "distance_m": 12345
      },
      "bandara_berjadwal": {
        "id": "wihh",
        "nama": "Bandar Udara Internasional Halim Perdanakusuma",
        "iata": "HLP",
        "icao": "WIHH",
        "jenis": "besar",
        "lat": -6.266989,
        "lng": 106.890318,
        "distance_m": 12345
      },
      "pelabuhan": {
        "id": "sunda-kelapa-jakarta-utara",
        "nama": "Sunda Kelapa",
        "jenis": "laut",
        "hierarki": "pengumpul",
        "lat": -6.121837,
        "lng": 106.810444,
        "distance_m": 6237
      },
      "stasiun": {
        "id": "gmr",
        "kode": "GMR",
        "nama": "Gambir",
        "jenis": "kereta_api",
        "operator": "KAI",
        "lat": -6.1766553,
        "lng": 106.8306473,
        "distance_m": 406
      },
      "terminal": {
        "id": "terminal-senen-kota-jakarta-pusat",
        "nama": "Terminal Senen",
        "tipe": null,
        "lat": -6.173569,
        "lng": 106.841949,
        "distance_m": 1643
      },
      "gerbang_tol": {
        "id": "tomang-jakarta-tangerang",
        "nama": "Gerbang Tol Tomang",
        "ruas_nama": "Jakarta - Tangerang",
        "lat": -6.181638,
        "lng": 106.793521,
        "distance_m": 3787
      }
    }
  },
  "meta": {
    "catatan": null,
    "attribution": [
      {
        "source": "open-admin-data/indonesia-administrative-divisions",
        "license": "CC BY 4.0",
        "license_url": "https://creativecommons.org/licenses/by/4.0/",
        "source_url": "https://github.com/open-admin-data/indonesia-administrative-divisions",
        "attribution_page": "https://github.com/open-admin-data/indonesia-administrative-divisions",
        "notice": "Data boundary dari open-admin-data/indonesia-administrative-divisions oleh jakkrapongt, dilisensikan CC BY 4.0"
      }
    ]
  }
}

Related Articles

Pricing 10 credits per successful request (1 credit = Rp1); failed requests are free. One-time 3,000 credit signup bonus, no credit card, no monthly allowance.

Location Profile: region, postal code, minimum wage and surroundings from one coordinate API questions

How accurate is the village lookup?

The point is tested against village boundary polygons, so the answer is the village that actually contains it (metode poligon). If no village polygon matches, district polygons are tried (poligon_kecamatan). Failing that, the nearest village centroid is used only within 2.5 km and flagged centroid_terdekat. Precision follows the source boundary data (CC BY 4.0), which is not an official cadastral map.

Why does my coordinate answer 404?

The point is at sea, in another country, or more than 2.5 km from any village. A 404 answer is not charged.

Why is the Jakarta UMK empty?

DKI Jakarta sets only a provincial UMP, no UMK, so umk is null and the provincial figure is in ump. Some other regencies are not in the UMK dataset yet; see the umk product for current coverage.

How does the price compare with calling each endpoint?

10 credits (Rp10) per successful request. Collecting the same answer piece by piece takes six to eight regular data calls, plus the merging logic on your side.

Get Started

Start Integrating
Today

Sign up for free and get a 3,000 credit bonus (Rp3,000) once your email is verified, grab an API key, and call your first endpoint right away. No credit card, no tedious approval process.

Dot wave visualization