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

Terminals: occupancy and dwellGANGWAY ONLY

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

A port's terminals by name: vessels alongside now, occupancy now and over the window, arrivals per day and week, dwell time alongside (median and 90th percentile), vessel types and sizes. Occupancy is berths in use over berths where the official berth count is known, otherwise metres of quay taken over the quay length. Seagoing vessels only (no service craft, no inland vessels). Quays we drew from AIS but our sources have not yet confirmed are summed as other_quays. No vessel positions.

Parameters

NameDescription
locoderequired
string
UN/LOCODE, in the path. A part of a port answers for the whole port (Maasvlakte is Rotterdam).
days
7 | 30 | 90
The window. Default 30 (7 on the free API allowance).
curl "https://gangwayais.com/v1/ports/NLRTM/terminals?days=30" \
  -H "Authorization: Bearer $GANGWAY_KEY"
{
  "port": {
    "code": "NLRTM",
    "name": "Rotterdam",
    "country": "NL"
  },
  "days": 30,
  "terminals": [
    {
      "id": "NLRTM-t6b1c0e2a",
      "name": "Hutchison Ports ECT Euromax",
      "kind": "container",
      "place_source": "official",
      "berths": null,
      "quay_length_m": 1900,
      "alongside_now": 2,
      "occupancy_now_pct": 31.6,
      "occupancy_method": "quay_length",
      "window": {
        "days": 30,
        "heard_days": 3,
        "arrivals": 6,
        "arrivals_per_week": 1.4,
        "dwell": {
          "completed_stays": 6,
          "vessels": 6,
          "enough": true,
          "median_h": 7.8,
          "p90_h": 21
        },
        "occupancy_pct": 14.3,
        "vessel_types": {
          "cargo": 6
        },
        "vessel_sizes": {
          "200-299 m": 2,
          "300 m and over": 4
        }
      }
    }
  ],
  "other_quays": {
    "name": "Other quays (observed, not yet listed by name)",
    "quays": 91,
    "alongside_now": 14,
    "arrivals": 233
  }
}