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

WebSocket stream

WSS/v1/streamPro

Live AIS messages and positions over WebSocket or Server-Sent Events, filtered by area or by MMSI, from the sources whose licence lets us pass positions on (BarentsWatch, Digitraffic, our own and volunteer stations), so in certain areas, which a free account shows. Each frame names its source, licence and credit: a frame from our own stations says license: gangway-station-terms, our Station Agreement at /legal/station/. Data API Pro and Scale plans; up to 3 open streams per key on Pro, 10 on Scale; the boxes may cover your plan's area (25 square degrees on Pro).

Parameters

NameDescription
bbox
min_lat,min_lon,max_lat,max_lon
Area filter (one of bbox or mmsi is required).
mmsi
list
Vessels to follow.
key
string
Your key, for clients that cannot set headers.
# Server-Sent Events, a few seconds of Bergen
curl -N -H "Accept: text/event-stream" \
  "https://gangwayais.com/v1/stream?bbox=60,4,61,6&key=$GANGWAY_KEY"

// JavaScript
const ws = new WebSocket("wss://gangwayais.com/v1/stream?bbox=60,4,61,6&key=" + KEY);
ws.onmessage = (m) => console.log(JSON.parse(m.data));
{
  "type": "event",
  "time": "2026-10-30T18:12:39Z",
  "source": "barentswatch",
  "license": "NLOD-2.0",
  "station": "barentswatch/terra",
  "mmsi": 257605000,
  "lat": 60.39,
  "lon": 5.31,
  "sog": 12.4,
  "cog": 211
}