Stream live AIS vessel positions over WebSocket via AISstream.io

domain: aisstream.io · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Create an aisstream.io account (sign in via GitHub or another supported provider) and generate a free API key from the API Keys page.
  2. Open a WebSocket connection to wss://stream.aisstream.io/v0/stream.
  3. Send a subscription message as the first frame, including your API key and filters (e.g., bounding boxes, MMSI filters, message-type filters).
  4. Read streamed JSON messages (e.g., position reports, static ship data) as they arrive, each including MMSI, lat/lon, course/speed, and message-specific fields.
  5. Implement reconnect/resubscribe logic, since this is a persistent streaming connection rather than a polling REST call.

Known gotchas

Related routes

Subscribe to real-time AIS vessel positions in a marina approach or anchorage zone
aisstream.io · 5 steps · unrated
Fetch the latest AIS position, course, and speed for a specific inbound vessel using the VesselFinder Vessels API.
api.vesselfinder.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans