Ports
Ports in an area
GET/v1/ports1 credit per port
Ports inside a box with live counts of vessels alongside, at anchor, stopped and moving, busiest first.
Parameters
| Name | Description |
|---|---|
bboxrequiredmin_lat,min_lon,max_lat,max_lon | Up to 400 square degrees. |
limitinteger | Up to 80. Default 30. |
curl "https://gangwayais.com/v1/ports?bbox=50,0,54,6" \ -H "Authorization: Bearer $GANGWAY_KEY"
{
"ports": [
{
"code": "NLRTM",
"name": "Rotterdam",
"country": "NL",
"lat": 51.95,
"lon": 4.14,
"counts": {
"total": 3,
"alongside": 1,
"anchored": 1,
"stopped": 0,
"moving": 1
}
}
],
"attribution": {
"barentswatch": "Gangway AIS (https://gangway.app). Data delivered by BarentsWatch. Contains data under the Norwegian licence for Open Government data (NLOD) distributed by the Norwegian Coastal Administration."
},
"notice": "Not for navigation. AIS data can be missing, delayed or wrong. Never use it for navigation, collision avoidance, search and rescue or any safety-of-life decision."
}
