ready-to-use endpoints in this product, with JSON responses and consistent error handling.
Transport category: 1,082 ports from the National Port Master Plan (RIPN).
Data as of · Source: RIPN KP 432/2017, OpenStreetMap (ODbL) & World Port Index
Transport category: 1,082 ports from the National Port Master Plan (RIPN).
ready-to-use endpoints in this product, with JSON responses and consistent error handling.
Can be tried with the 3,000 credit signup bonus, then used in production through one API Indonesia key.
https://use.apiindonesia.id/api/v1/pelabuhanReturns the 1,082 sea and ferry ports with hierarchy or class, region, UN/LOCODE, coordinates when validated and validation status. Filters can be combined.
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.
curl "https://use.apiindonesia.id/api/v1/pelabuhan?hierarki=utama&provinsi=31&per_page=2" \
-H "x-api-key: YOUR_API_KEY"{
"success": true,
"data": [
{
"id": "tg-priok-jakarta-utara",
"nama": "Tg. Priok",
"jenis": "laut",
"hierarki": "utama",
"kelas": null,
"status_operasi": null,
"provinsi": "Daerah Khusus Ibukota Jakarta",
"provinsi_kode": "31",
"kabupaten": "Kota Administrasi Jakarta Utara",
"kabupaten_kode": "31.72",
"unlocode": "IDJKT",
"lat": -6.104507,
"lng": 106.882862,
"validasi": "terverifikasi"
}
],
"meta": {
"total": 1,
"page": 1,
"per_page": 2,
"total_pages": 1,
"attribution": {
"source": "Rencana Induk Pelabuhan Nasional (KP 432 Tahun 2017); © OpenStreetMap contributors; NGA World Port Index; UN/LOCODE; Wikidata",
"license": "ODbL 1.0 (koordinat dari OpenStreetMap); WPI public domain; Wikidata CC0",
"license_url": "https://opendatacommons.org/licenses/odbl/1-0/",
"source_url": "https://msi.nga.mil/Publications/WPI",
"attribution_page": "https://www.openstreetmap.org/copyright",
"notice": "Data diubah: daftar RIPN dicocokkan dengan sumber koordinat terbuka; koordinat hanya diisi bila lolos validasi, oleh API Indonesia",
"sources": [
{
"name": "KP 432 Tahun 2017 tentang Rencana Induk Pelabuhan Nasional (dan perubahannya)",
"url": "https://jdih.kemenhub.go.id",
"used_for": "daftar pelabuhan, hierarki, kelas penyeberangan"
},
{
"name": "OpenStreetMap",
"url": "https://www.openstreetmap.org/copyright",
"used_for": "koordinat"
},
{
"name": "NGA World Port Index (Pub. 150)",
"url": "https://msi.nga.mil/Publications/WPI",
"used_for": "koordinat, atribut pelabuhan"
},
{
"name": "UN/LOCODE (UNECE)",
"url": "https://unece.org/trade/cefact/unlocode-code-list-country-and-territory",
"used_for": "kode UN/LOCODE, koordinat"
},
{
"name": "Wikidata",
"url": "https://www.wikidata.org",
"used_for": "validasi koordinat"
}
]
}
}
}1.082 pelabuhan laut dan penyeberangan dengan hierarki resmi RIPN, kelas, UN/LOCODE, dan koordinat tervalidasi untuk 468 pelabuhan.
Data BMKG (prakiraan cuaca, peringatan dini, gempa terkini) dalam format JSON konsisten lewat satu REST API dan satu API key. Tanpa parsing XML atau scraping.
Kumpulan API publik Indonesia yang bisa dipakai developer tanpa biaya di awal: wilayah, cuaca, hari libur, kode pos, kurs, dan lainnya. Satu API key untuk semua.
From the National Port Master Plan: KP 432 Tahun 2017 as amended by KM 30 Tahun 2020. Amendments KM 172 Tahun 2021 and most of KM 217 Tahun 2022 are not applied yet.
Coordinates are filled only when they pass validation (468 ports). Other ports are still listed with lat/lng null and validasi tanpa_koordinat instead of an estimate.
terverifikasi (178) means at least two independent sources (OpenStreetMap, World Port Index, UN/LOCODE) agree within 5 km and the province matches RIPN. sebagian (290) means one source with matching province and regency/city.