MarineTraffic Vessel Position API
Latest AIS position of one vessel (lat/lon, speed, course, heading, navigational status, time of report) with its voyage: reported destination, ETA, departure and arrival ports.
https://api.maviapi.com/v1/sites/marinetraffic/vessels/{imo}/position10 credits per callParameters
| Name | Required | Example | Description |
|---|---|---|---|
imostring in path | Required | 9811000 | 7-digit IMO number, 9-digit MMSI, or shipid:<id> |
refreshboolean in query | Optional | false | Bypass and repopulate the cache (answers are cached for 5 minutes) |
Response fields
Fields inside data.
namee.g."EVER GIVEN"imoe.g."9811000"mmsie.g."636026627"ship_ide.g."5630138"latitudee.g.26.873938longitudee.g.122.03899speed_knotse.g.15.1coursee.g.208headinge.g.213rate_of_turne.g.9draught_me.g.14.2statuse.g."Underway using Engine"areae.g."East China Sea"timestampe.g."2026-11-21T05:41:07.000Z"position_age_minutese.g.47received_byTerrestrial (station) or roaming/satellite receptione.g."Roaming"in_rangee.g.truedestinationDestination as reported by the crew over AISe.g."TWTPE"etae.g."2026-11-21T14:00:00.000Z"voyage_progress_pcte.g.70.9departure_port
port_ide.g."1253"namee.g."SHANGHAI"unlocodee.g."CNSHG"country_codee.g."CN"departure_timee.g."2026-11-20T11:25:00.000Z"arrival_port
port_ide.g."447"namee.g."TAIPEI"unlocodee.g."TWTPE"country_codee.g."TW"arrival_timee.g."2026-11-21T14:00:00.000Z"arrival_time_kindOne of estimated, actuale.g."estimated"Next to data, every response also has cached and source.
cachede.g.falsesourcee.g."marinetraffic:web"Example request
Set MAVI_KEY to your API key. A successful call costs 10 credits per call, and a failed call costs nothing.
curl 'https://api.maviapi.com/v1/sites/marinetraffic/vessels/9811000/position' \
-H "Authorization: Bearer $MAVI_KEY"MarineTraffic Vessel Position API questions
What you get, what it costs and how to call it.
What does the MarineTraffic Vessel Position API return?
Latest AIS position of one vessel (lat/lon, speed, course, heading, navigational status, time of report) with its voyage: reported destination, ETA, departure and arrival ports. The response has name, imo, mmsi, ship_id, latitude, longitude, speed_knots, course and 17 more inside data.
Which parameters does the MarineTraffic Vessel Position API take?
GET /vessels/{imo}/position needs imo (for example 9811000). You can also pass refresh.
How much does one MarineTraffic Vessel Position API call cost?
One successful call costs 10 credits. A failed call costs nothing. On the Hobby plan ($49 a month for 250,000 credits), 1,000 calls cost about $1.96. The Free plan gives you 1,000 credits a month, with no credit card required. See plans and credit prices for everything after that.
How do I call the MarineTraffic Vessel Position API?
Send an HTTPS GET request to https://api.maviapi.com/v1/sites/marinetraffic/vessels/{imo}/position with your API key in the Authorization header, as in the example request on this page. Create a key on your API keys page, or try the endpoint first in the console with the free test key.
Is the MarineTraffic Vessel Position API official?
No. It is an independent, hosted API from maviapi for the public data on marinetraffic.com, and it is not made, endorsed or supported by MarineTraffic. Its parameters and response fields are documented on this page.