Skip to content

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.

GEThttps://api.maviapi.com/v1/sites/marinetraffic/vessels/{imo}/position10 credits per call

Parameters

NameRequiredExampleDescription
imostring in pathRequired98110007-digit IMO number, 9-digit MMSI, or shipid:<id>
refreshboolean in queryOptionalfalseBypass and repopulate the cache (answers are cached for 5 minutes)

Response fields

Fields inside data.

namestringe.g."EVER GIVEN"
imostringe.g."9811000"
mmsistringe.g."636026627"
ship_idstringe.g."5630138"
latitudenumbere.g.26.873938
longitudenumbere.g.122.03899
speed_knotsnumbere.g.15.1
coursenumbere.g.208
headingnumbere.g.213
rate_of_turnnumbere.g.9
draught_mnumbere.g.14.2
statusstringe.g."Underway using Engine"
areastringe.g."East China Sea"
timestampstringe.g."2026-11-21T05:41:07.000Z"
position_age_minutesintegere.g.47
received_bystringTerrestrial (station) or roaming/satellite receptione.g."Roaming"
in_rangebooleane.g.true
destinationstringDestination as reported by the crew over AISe.g."TWTPE"
etastringe.g."2026-11-21T14:00:00.000Z"
voyage_progress_pctnumbere.g.70.9
departure_portobject4 fields
port_idstringe.g."1253"
namestringe.g."SHANGHAI"
unlocodestringe.g."CNSHG"
country_codestringe.g."CN"
departure_timestringe.g."2026-11-20T11:25:00.000Z"
arrival_portobject4 fields
port_idstringe.g."447"
namestringe.g."TAIPEI"
unlocodestringe.g."TWTPE"
country_codestringe.g."TW"
arrival_timestringe.g."2026-11-21T14:00:00.000Z"
arrival_time_kindstringOne of estimated, actuale.g."estimated"
Next to data, every response also has cached and source.
cachedbooleane.g.false
sourcestringe.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
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.