An AIS vessel track API in Python returns a time-ordered trail for one ship. On Vessels API that is GET /api/V1/vessels/track. Official sample: MMSI 258785000, name ZJ ATLANTIC, hours=48, fixture date 2026-02-09.
Starter is $19.99/mo with a 7-day trial. MCP: mcp.vessels-api.com.
Request: official MMSI
curl -H "X-API-Key: YOUR_API_KEY" \
"https://vessels-api.com/api/V1/vessels/track?mmsi=258785000&hours=48"
Python: same contract
import os, urllib.request
req = urllib.request.Request(
"https://vessels-api.com/api/V1/vessels/track?mmsi=258785000&hours=48",
headers={"X-API-Key": os.environ["VESSELS_KEY"]},
)
print(urllib.request.urlopen(req).read().decode())
The 2026-02-09 trail is the docs fixture, not this week’s AIS. Do not invent lat/lon points.
Go live
1. Register — 7-day trial.
2. Copy the X-API-Key.
3. GET /api/V1/vessels/track with MMSI 258785000.
4. Store the live positions array.





