World Ports Data: 3,800 Ports and Depths
Pricing
$4.00 / 1,000 record returneds
World Ports Data: 3,800 Ports and Depths
Search 3,804 world ports from the NGA World Port Index: coordinates, harbor size and type, channel/anchorage/cargo depths, tidal range, pilotage, tugs, repair and drydock capability. Embedded data, no scraping, pay per record.
Pricing
$4.00 / 1,000 record returneds
Rating
0.0
(0)
Developer
Henri bousquet
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
12 days ago
Last modified
Categories
Features
Share
World Ports Data: 3,800 ports, depths and facilities
Search 3,804 world ports from the NGA World Port Index: coordinates, harbor size and type, channel/anchorage/cargo depths, tidal range, pilotage, tugs, repair and drydock capability. Embedded data, no scraping, pay per record.
No scraping, no live dependency, no login: the data is embedded in the Actor and searched locally. You pay per record returned (pay-per-event port-result), never for empty runs.
What you get
- 3,804 records, snapshot 2026-11.
- Source licence: Public domain (US Government work, NGA World Port Index).
- 17 input filters, all optional and combinable; results export as JSON, CSV, Excel, XML or HTML from the console or the API.
Quick start
Press Try for free with the pre-filled input, or paste it into the Input tab:
{"harborSizes": ["Very Small"],"maxResults": 10}
That run returns up to 10 records and costs about $0.04 (10 x $0.004). A run of 1,000 records costs $4.00. maxResults (up to 10,000) caps both the output and the bill.
Example output
One real record from the data, columns as returned:
{"port_id": "wpi-7000","name": "Friendship","country_name": "United States","lat": 43.966667,"lon": -69.333333,"harbor_size": "Very Small","harbor_type": "Coastal (Natural)","chan_depth_m": 6.4,"cargo_depth_m": 3.4,"tidal_range_m": 2.7,"locode": "US FSP"}
Input
Every filter is optional; combine them freely.
query(string): Port name (accent- and case-insensitive substring).country(string): Country name (accent- and case-insensitive substring).harborSizes(array): Harbor size (Very Small, Small, Medium, Large). Records with an empty value never match.harborTypes(array): Harbor type. Records with an empty value never match.waterBodies(array): Water body. Records with an empty value never match.minChannelDepthM(number): Min channel depth (m). Records with an empty value never match.maxChannelDepthM(number): Max channel depth (m). Records with an empty value never match.minCargoDepthM(number): Min cargo pier depth (m). Records with an empty value never match.maxCargoDepthM(number): Max cargo pier depth (m). Records with an empty value never match.nearLatitude(number): Center latitude. Latitude of the search center (-90..90). Use with nearLongitude and radiusKm.nearLongitude(number): Center longitude. Longitude of the search center (-180..180).radiusKm(number): Radius (km). Search radius in km (max 20000). Results get a distance_km field and are sorted by distance.minLatitude(number): Min latitude. South edge of a bounding box; give all four box values together.maxLatitude(number): Max latitude. North edge of the bounding box.minLongitude(number): Min longitude. West edge; if greater than max longitude the box crosses the antimeridian.maxLongitude(number): Max longitude. East edge of the bounding box.sortBy(string): Sort by. Sort order of results. Default: file order (or distance when a radius is given).maxResults(integer): Max results. Maximum records returned and billed (1..10000).
Output fields
port_id: Stable port identifier (wpi-name: Port name.country_name: Country.lat: Latitude, decimal degrees.lon: Longitude, decimal degrees.harbor_size: NGA harbor size class.harbor_type: NGA harbor type.chan_depth_m: Channel depth in metres, null if unknown.cargo_depth_m: Cargo pier depth in metres, null if unknown.tidal_range_m: Tidal range in metres, null if unknown.locode: UN/LOCODE when known.
Every record also carries license and attribution so you can republish with the required credit. Empty values are returned as null (never as 0).
Call it from code
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run = client.actor("phonic_lily/world-ports-data").call(run_input={"harborSizes": ["Very Small"], "maxResults": 10})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
curl -X POST "https://api.apify.com/v2/acts/phonic_lily~world-ports-data/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>" \-H "Content-Type: application/json" -d '{"harborSizes": ["Very Small"], "maxResults": 10}'
FAQ
Where does the data come from? National Geospatial-Intelligence Agency World Port Index, a US Government work in the public domain. Null means the source gives no value; it is never 0.
How fresh is it? Snapshot 2026-11. The data is embedded in the Actor and updated when the publisher rebuilds it, so a run never depends on a live source and never fails because a site is down.
What does a run cost? $0.004 per returned record, nothing for runs that return no record. Apify free plan credit ($5) covers about 1,250 records.
Do I need a proxy, an account on the source or a browser? No: the Actor reads its own embedded file.
Data and licence
National Geospatial-Intelligence Agency World Port Index, a US Government work in the public domain. Null means the source gives no value; it is never 0.
Snapshot date: 2026-11.