Search vessels by name, or by shipid, MMSI or IMO.
GET/shipsearch/{api_key}
- Takes: Name
- Passive: the target is not contacted
Send shipname to search by name (up to 100 matches, exact first, active vessels only). Or send shipid, mmsi or imo; mmsi and imo may return several records.
Path parameters
api_key40-character hexadecimal API key
Query parameters
shipnameVessel name; required for search by name
shipidMarineTraffic vessel id; required unless mmsi or imo is used
mmsiMMSI; may return multiple records
imoIMO number; may return multiple records
shiptype2 fishing, 4 high speed craft, 6 passenger, 7 cargo, 8 tanker
type_name_idAIS ship type filter
protocolResponse format
Response fields · 11ShowHide
SHIPNAME
Vessel name
MMSI
MMSI
IMO
IMO number
SHIP_ID
MarineTraffic vessel id
CALLSIGN
Call sign
TYPE_NAME
Vessel type
DWT
Deadweight tonnage
FLAG
Flag code
COUNTRY
Flag country
YEAR_BUILT
Year built
MT_URL
MarineTraffic page for the vessel
curl 'https://services.marinetraffic.com/api/shipsearch/YOUR_API_KEY'[
{
"SHIPNAME": "EXAMPLE VESSEL",
"MMSI": "123456789",
"IMO": "1234567",
"SHIP_ID": "123456",
"CALLSIGN": "ABCD",
"TYPE_NAME": "Cargo",
"DWT": "50000",
"FLAG": "XX",
"COUNTRY": "Exampleland",
"YEAR_BUILT": "2010",
"MT_URL": "https://www.example.com/vessel"
}
]