Skip to content
OSINTtools.io

MarineTraffic API

AIS-based ship tracking with vessel positions, port calls and ship details; owned by Kpler since 2023.

Base URL
https://services.marinetraffic.com/api
Sign-in
No key
Format
REST
Endpoints
1

Compiled by OSINTtools.io editors from servicedocs.marinetraffic.com · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

MarineTraffic's API (now Kpler) covers vessel positions, port and berth events, voyage forecasts, vessel particulars and search, and fleet tools. Only the vessel search methods are detailed here; the other methods are listed in the service docs and need an API key too.

Vessel search is GET https://services.marinetraffic.com/api/shipsearch/{api_key}, with the API key in the path. Search by identifier takes shipid, mmsi or imo; search by name takes shipname and returns the first 100 matches, exact matches first, for active vessels only.

Allowed call volume depends on the contract, and each key is capped at 100 requests per minute.

Quick start

  1. No key needed

    The MarineTraffic API answers without an account or key.

  2. Make your first request

    Search vessels by name, or by shipid, MMSI or IMO.. Replace the example values and run it in a terminal, or use Try it on the endpoint.

    curl 'https://services.marinetraffic.com/api/shipsearch/YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    [
      {
        "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"
      }
    ]

Authentication

No key or account: every endpoint answers without one.

The API key goes in the path as {api_key}, not in a header or query.

Rate limits and pricing

Depends on the contract (for example 2 calls per minute); each key is also capped at 100 requests per minute.

  • FreeFree · Track vessels near the coast, watch up to 5 vessels
  • Mobile Pro$4.99/month · App with satellite positions, 7-day history, up to 20 vessels
  • Basic$10/month · Up to 10 coastal vessels, alerts, 3-day look back
  • Essential$100/month · Satellite positions, up to 50 vessels, 7-day look back, ETAs
  • EnterpriseContact sales · Fleet-wide tracking, ownership data, 5 years of voyages

Plans from marinetraffic.com, checked Nov 25, 2026.

Errors

StatusMeaning
400Bad request
429Too many requests

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_keystringrequired

40-character hexadecimal API key

Example: YOUR_API_KEY

Query parameters

shipnamestringtakes your name

Vessel name; required for search by name

Example: EXAMPLE VESSEL
shipidinteger

MarineTraffic vessel id; required unless mmsi or imo is used

Example: 123456
mmsiinteger

MMSI; may return multiple records

Example: 123456789
imointeger

IMO number; may return multiple records

Example: 1234567
shiptypeinteger

2 fishing, 4 high speed craft, 6 passenger, 7 cargo, 8 tanker

Example: 7One of: 2, 4, 6, 7, 8
type_name_idinteger

AIS ship type filter

Example: 70
protocolstring

Response format

Example: jsonoDefault: xmlOne of: xml, csv, json, jsono
Response fields · 11Show

SHIPNAMEstring

Vessel name

MMSIstring

MMSI

IMOstring

IMO number

SHIP_IDstring

MarineTraffic vessel id

CALLSIGNstring

Call sign

TYPE_NAMEstring

Vessel type

DWTstring

Deadweight tonnage

FLAGstring

Flag code

COUNTRYstring

Flag country

YEAR_BUILTstring

Year built

MT_URLstring

MarineTraffic page for the vessel

curl 'https://services.marinetraffic.com/api/shipsearch/YOUR_API_KEY'
No key needed
Response
[
  {
    "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"
  }
]