Skip to content

MarineTraffic Vessel API

Registry details of one vessel: name, AIS name, IMO, MMSI, call sign, flag, type, AIS type, commercial market and size class, length and width, AIS class, home port and the site's summary sentence. Build year is not public and is not returned.

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

Parameters

NameRequiredExampleDescription
imostring in pathRequired98110007-digit IMO number, 9-digit MMSI, or shipid:<id> (the `ref` of a list row, for vessels with no IMO)

Response fields

ship_idstringe.g."5630138"
refstringe.g."shipid:5630138"
namestringe.g."EVER GIVEN"
ais_namestringe.g."EVER GIVEN"
imostringe.g."9811000"
mmsistringe.g."636026627"
call_signstringe.g."A8AB9"
flagstringe.g."Liberia"
flag_codestringe.g."LR"
vessel_typestringe.g."Container Ship"
ais_typestringe.g."Cargo - Hazard A (Major)"
marketstringe.g."CONTAINER SHIPS"
size_classstringe.g."ULCV"
length_mnumbere.g.399.94
width_mintegere.g.59
ais_classstringe.g."Class A"
home_portnull
urlstringe.g."https://www.marinetraffic.com/en/ais/details/ships/shipid:5630138"
summarystringe.g."EVER GIVEN (IMO: 9811000) is a Container Ship and is sailing under the flag of Liberia. Her length overall (LOA) is 399.94 meters and her width is 59 meters."
fetched_atstringe.g."2026-11-27T10:13:05.329Z"
ageintegere.g.0

Example request

Set MAVI_KEY to your API key. A successful call costs 5 credits per call, and a failed call costs nothing.

cURL
curl 'https://api.maviapi.com/v1/sites/marinetraffic/vessels/9811000' \
  -H "Authorization: Bearer $MAVI_KEY"

MarineTraffic Vessel API questions

What you get, what it costs and how to call it.

What does the MarineTraffic Vessel API return?

Registry details of one vessel: name, AIS name, IMO, MMSI, call sign, flag, type, AIS type, commercial market and size class, length and width, AIS class, home port and the site's summary sentence. Build year is not public and is not returned. The response has ship_id, ref, name, ais_name, imo, mmsi, call_sign, flag and 13 more.

Which parameters does the MarineTraffic Vessel API take?

GET /vessels/{imo} needs imo (for example 9811000).

How much does one MarineTraffic Vessel API call cost?

One successful call costs 5 credits. A failed call costs nothing. On the Hobby plan ($49 a month for 250,000 credits), 1,000 calls cost about $0.98. 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 API?

Send an HTTPS GET request to https://api.maviapi.com/v1/sites/marinetraffic/vessels/{imo} 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 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.