Vessels
Vessel activityGANGWAY ONLY
GET/v1/vessels/{mmsi}/activity5 credits
What a vessel did: miles sailed, hours under way, in port, at anchor and unheard, top and average speed and the ports she called at.
Parameters
| Name | Description |
|---|---|
mmsirequiredinteger | In the path. |
daysinteger | Up to 7 on the free API allowance, 90 on Plus, 365 on Pro and Scale. Default 30 (7 on the free API allowance). |
curl "https://gangwayais.com/v1/vessels/257753000/activity" \ -H "Authorization: Bearer $GANGWAY_KEY"
{
"mmsi": 257753000,
"points": 812,
"nm": 1240,
"hours": {
"underway": 160.5,
"port": 402.2,
"anchor": 31,
"idle": 0,
"unheard": 26.3
},
"max_sog": 18.4,
"avg_sog": 13.1,
"calls": 12,
"days": 30,
"history_since": "2026-10-07T00:00:00Z",
"ports": [
{
"name": "Bergen",
"calls": 7
},
{
"name": "Stavanger",
"calls": 5
}
],
"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."
}
