Download the Data
The complete The Port Index datasets, free to download as CSV or JSON — 3,804 seaports and 9,640 airports. Built from public-domain sources, free for any use including commercial. A link back to theportindex.online is appreciated but not required.
Seaports dataset
3,804 ports across 195 countries, from the U.S. NGA World Port Index (Pub 150) — a public-domain U.S. Government work — with UN/LOCODEs from UNECE.
Columns / schema
slug— Stable URL identifiername— Port namelocode— UN/LOCODE (5-char)country / country_code— Country and ISO coderegion, water_body— Coast / region and body of waterlatitude, longitude— Decimal coordinatesharbor_type, harbor_size, shelter— Harbor classificationchannel_depth_m, anchorage_depth_m, cargo_pier_depth_m— Depths in metrestidal_range_m— Tidal range in metresmax_vessel_length_m, _beam_m, _draft_m— Max vessel dimensionspilotage_compulsory, tug_assistance— Navigation servicesurl— Canonical page URL
Airports dataset
9,640 airports across 237 countries, from the public-domain OurAirports database — IATA/ICAO codes, runways, elevation and coordinates.
Columns / schema
slug— Stable URL identifiername— Airport nameiata, icao, ident— Airport codestype— large / medium / small_airportcountry / country_code— Country and ISO codemunicipality— Served citylatitude, longitude— Decimal coordinateselevation_ft— Elevation in feetscheduled_service— Has scheduled flightsrunway_count, longest_runway_ft/_m— Runway dataurl— Canonical page URL
Licence & attribution
Both datasets are built from public-domain sources and are free to use, share and adapt, including commercially. Port data derives from the NGA World Port Index (Pub 150, U.S. Government public-domain work) and UNECE UN/LOCODE; airport data from OurAirports (released to the public domain).
Figures are provided for reference and route-planning context only — always verify with official port and aviation authorities before operational use. See About & methodology.