Gangway AISGangway AISby Motto Marine International
DOCS · API v1
CoverageHomeSign inGet API key
Ports

Waiting times at anchorGANGWAY ONLY

GET/v1/ports/{locode}/waiting5 credits

How long vessels wait at anchor before berthing: median and 90th percentile for this week and the weeks before, tankers and cargo apart, vessels still waiting and the longest wait. Recomputed hourly from what vessels actually did.

Parameters

NameDescription
locoderequired
string
UN/LOCODE, in the path.
vessels
boolean
Add the vessels behind each figure, with anchor and berth times.
curl "https://gangwayais.com/v1/ports/NLRTM/waiting" \
  -H "Authorization: Bearer $GANGWAY_KEY"
{
  "port": {
    "code": "NLRTM",
    "name": "Rotterdam",
    "country": "NL"
  },
  "computed_at": "2026-11-01T12:00:00Z",
  "min_ships": 5,
  "reach_km": 40,
  "week": {
    "n": 24,
    "ships": 24,
    "enough": true,
    "median_h": 17.2,
    "p90_h": 41.5,
    "from": "2026-10-25T12:00:00Z",
    "to": "2026-11-01T12:00:00Z",
    "days": 7,
    "groups": {
      "tanker": {
        "n": 9,
        "ships": 9,
        "enough": true,
        "median_h": 17.2,
        "p90_h": 41.5
      },
      "cargo": {
        "n": 13,
        "ships": 13,
        "enough": true,
        "median_h": 17.2,
        "p90_h": 41.5
      },
      "other": {
        "n": 2,
        "ships": 2,
        "enough": false,
        "median_h": null,
        "p90_h": null
      }
    },
    "sailed_without_berthing": 1,
    "berthing_not_seen": 2
  },
  "before": {
    "n": 61,
    "ships": 61,
    "enough": true,
    "median_h": 17.2,
    "p90_h": 41.5,
    "from": "2026-10-04T12:00:00Z",
    "to": "2026-10-25T12:00:00Z",
    "days": 21,
    "groups": {
      "tanker": {
        "n": 22,
        "ships": 22,
        "enough": true,
        "median_h": 17.2,
        "p90_h": 41.5
      },
      "cargo": {
        "n": 33,
        "ships": 33,
        "enough": true,
        "median_h": 17.2,
        "p90_h": 41.5
      },
      "other": {
        "n": 6,
        "ships": 6,
        "enough": true,
        "median_h": 17.2,
        "p90_h": 41.5
      }
    },
    "sailed_without_berthing": 3,
    "berthing_not_seen": 5
  },
  "still_at_anchor": {
    "n": 6,
    "longest_h": 31.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."
}