World Ports
Search about 3,800 seaports worldwide by name, country or distance from a point, with harbor size and type, UN/LOCODE, and channel and pier depths.
GET
/api/v1/maritime/portsAlso included in Maritime Security 360 , which joins it with 4 other APIs in one call.
Query parameters
| Parameter | Description | Try value |
|---|---|---|
qstring | Port name (or UN/LOCODE) | |
countrystring | 2-letter ISO country code | |
latnumber | Latitude: sort by distance from this point (with lon) | |
lonnumber | Longitude (with lat) | |
harborSizestring | very small, small, medium or large | |
minDepthMnumber | Minimum channel depth in metres | |
limitnumber | Ports to return, 1–200 (default 25) | |
apikeystring required | Your API key. Can also be sent as the X-API-Key header. | demo key used here |
Response envelope
Success: { data, meta: { fetchedAt, cached } }. Errors: { error: { code, message } } with HTTP 400, 401, 404, 502, 503 or 504. Add format= for JSON Lines, CSV, TSV, Excel, XML or YAML (how it works).