
Seaports API
Every seaport on Earth, from the mariner's reference. The NGA World Port Index (Pub 150, public domain): 3,805 ports in 195 countries, each with UN/LOCODE, coordinates, harbor size and type, shelter quality, tidal range, channel/anchorage/pier depths, maximum vessel dimensions, first-port-of-entry and compulsory-pilotage flags, tug availability, repair and drydock capability, plus normalized facility lists (container, ro-ro, liquid bulk, cranes, medical, railway...) and ship-supply availability (fuel oil, provisions, potable water...). Look Rotterdam up as NLRTM (large river-basin harbor, 11 m channel, compulsory pilotage, major repairs), filter for container-capable ports with 15+ m channels (83 worldwide), find the nearest port to any coordinate (San Pedro β Port of Los Angeles, 2.2 km), or count ports per country (US: 666, 21 of them large). UN/LOCODEs are normalized whether or not the source spaced them. Shipping and logistics software, freight platforms, marine insurance, cruise tools and supply-chain risk β pairs with our Tides, Buoys and Tariff Codes APIs for the full maritime picture.
{
"ok": true,
"port": {
"id": 31140,
"name": "Rotterdam",
"alt_name": null,
"unlocode": "NLRTM",
"country": "Netherlands",
"region": "Netherlands -- 30980",
"water_body": "North Sea; North Atlantic Ocean",
"lat": 51.9,
"lng": 4.4833,
"harbor_size": "Large",
"harbor_type": "River (Basins)",
"shelter": "Fair",
"tidal_range_m": 1,
"channel_depth_m": 11,
"anchorage_depth_m": 11,
"cargo_pier_depth_m": 6.4,
"max_vessel_length_m": 0,
"max_vessel_beam_m": 0,
"max_vessel_draft_m": 0,
"first_port_of_entry": true,
"pilotage_compulsory": true,
"tugs_assistance": true,
"repairs": "Major",
"drydock": null,
"facilities": [
"wharves",
"cranes_fixed",
"cranes_mobile",
"cranes_floating",
"medical",
"garbage_disposal"
],
"supplies": [
"provisions",
"potable_water",
"fuel_oil",
"diesel_oil",
"deck",
"engine"
]
}
}Why developers pick this API
Production-ready
Production Ready
Battle-tested infrastructure with a 99.9% uptime SLA. Rate limits are generous, responses are consistent.
Simple Integration
Standard REST + JSON. Works with any HTTP client. Copy-ready code snippets in 4 languages.
One Key, 20+ APIs
Your DataAndAPIs subscription unlocks every API on the platform β anime, finance, sports, and more.
Code snippets
One install. Every endpoint.
No proprietary SDKs needed. Any HTTP client works. Pick your language and paste.
- Fully typed responses β auto-completion in your IDE
- Tracks the API in lockstep β new endpoints land same day
- One key works across 20+ APIs on the platform
import axios from 'axios';
const { data } = await axios.get(
'{API_URL}',
{ headers: { 'X-Api-Key': process.env.API_KEY } }
);π Subscribe to unlock the live API URL
Developer playground
Explore the endpoints
Browse request parameters and inspect live example responses.
Available Endpoints
Request Parameters
API URL
Please subscribe to see the API URL
Headers
Please subscribe to see the actual API URL
import axios from 'axios';
const url = '{API_URL}';
const { data } = await axios.get(url, {
headers: { 'X-Api-Key': 'YOUR_API_KEY' }
});Pricing
One subscription. Every API.
Tokens unlock this API and 20+ others on DataAndAPIs. Switch APIs any time β we promote.
STARTER
25,000 tokens / month
- Access to all APIs
- Tokens reset monthly
- Email support
PRO
100,000 tokens / month
- Access to all APIs
- Tokens reset monthly
- Priority email support
ULTRA
1,000,000 tokens / month
- Access to all APIs
- Tokens reset monthly
- Priority support
Need higher volume, dedicated infra, or a custom contract? Talk to sales β
Common questions
The things that actually block the upgrade.
Ship Seaports API this afternoon.
500 free tokens. No card. Plus 20+ other APIs on the same key.
