Ports
Arrivals, departures, in port
GET/v1/ports/{locode}/vessels1 credit per vessel
A port's expected vessels, vessels in port, or arrivals and departures over the last 7 days, filtered by type, flag and length. JSON or CSV.
Parameters
| Name | Description |
|---|---|
locoderequiredstring | In the path. |
listexpected | inport | arrived | departed | Default expected. |
kindstring | passenger, cargo, tanker, hsc, fishing, service, pleasure or other. |
flagISO2 | Flag state. |
min_length, max_lengthmetres | Size filter. |
limitinteger | The first this many, 1 to 300. Only the rows sent are paid for and truncated says whether more were left out. |
formatjson | csv | Default json. CSV is on paid plans: on the free API allowance it answers 402. |
curl "https://gangwayais.com/v1/ports/BEANR/vessels?list=arrived" \ -H "Authorization: Bearer $GANGWAY_KEY"
{
"port": {
"code": "BEANR",
"name": "Antwerp",
"country": "BE"
},
"list": "arrived",
"rows": [
{
"when": "2026-11-01T04:20:00Z",
"mmsi": 244000777,
"name": "EXAMPLE CARRIER",
"type": 70,
"length": 180,
"flag": "NL",
"destination": "ANTWERP",
"lat": null,
"lon": null,
"position_withheld": true
}
],
"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."
}
