Solutions / Logistics & E-Commerce

Is this address inside your service area, and what transport hub is closest?

From the checkout address form to route planning: Kemendagri regions and postal codes, validated port, airport, station, terminal and toll road data, all in the same JSON format.

Used for

  • Clean address forms

    Province, regency, district and village dropdowns with the postal code filled in, so addresses reach your warehouse system already structured.

  • Service-area checks

    Send the customer map pin to Location Profile to get its district and regency, then decide whether the address is inside your delivery zone.

  • First mile and line haul

    Find the nearest port, scheduled-service airport, station, bus terminal and toll gate from a warehouse or pickup point, with the distance in metres.

  • Toll cost estimates

    Pull official BPJT tariffs per origin and destination for vehicle classes I, II-III and IV-V when costing fleet trips.

Endpoints used

  • Regions38 provinces down to 83,762 villages, Kemendagri codes.
  • Postal Codes83,000+ postal codes, one per village.
  • Location ProfileOne coordinate becomes village up to province, postal code, time zone, UMK/UMP, nearby facilities and POI, and the nearest transport. Rp10 per successful call.
  • Ports1,082 sea and ferry ports per the national port master plan.
  • Airports440 airports with ICAO/IATA codes and scheduled service.
  • Stations1,129 stations, 660 active.
  • Bus Terminals614 terminals, including 127 type A.
  • Toll Roads558 toll gates and 1,485 BPJT tariff rows.

Example request

Profile of one pickup point

curl "https://use.apiindonesia.id/api/v1/lokasi/profil?lat=-6.1754&lng=106.8272" \
  -H "x-api-key: YOUR_API_KEY"

Coverage and limits

  • Location Profile resolves the region with a point-in-polygon test on open village boundary data (CC BY 4.0), not the official BIG map. If no polygon contains the point, it uses the nearest village centre within 2.5 km and labels it centroid_terdekat; beyond that (sea or another country) it returns 404 and no credits are charged.
  • Only 468 of the 1,082 ports have validated coordinates, so the nearest-port search only uses those.
  • Toll gates not yet mapped in OpenStreetMap are missing, and roads still under construction are not in the public BPJT list.
  • We do not provide courier shipping rates or parcel tracking.