Vessel Lookup API
Look up a vessel by IMO, MMSI, name or callsign and get its particulars, latest AIS position, crew-reported ETA and up to 31 days of positions, within terrestrial AIS coverage. These endpoints also answer area queries by bounding box or radius.
Free tier: 150 calls a month on every endpoint below, no card. Paid plans add a larger fixed quota; see pricing.
Get a free API keyWhat is AIS Vessel Tracking?
The Automatic Identification System (AIS) is a tracking system used on ships and by vessel traffic services for identifying and locating vessels. AIS transceivers automatically broadcast information such as position, speed, and navigational status at regular intervals. The API makes this data available through REST endpoints.
With VesselAPI's vessel tracking endpoints, you can monitor fleet movements, track shipments, analyse maritime traffic patterns, and integrate live ship data into your applications. The API supports integration into logistics platforms, maritime analytics dashboards, and port management systems.
Coverage: Terrestrial AIS data is received continuously and included with every plan. Individual vessel transmission intervals range from 2 to 30 seconds while underway to up to 3 minutes while at anchor, depending on speed and navigation status. Coverage is strongest in coastal waters and port areas. The optional satellite AIS fallback is deprecated and its credit packs are no longer on sale.
Use Cases
Fleet Management
Monitor your fleet. Track vessel locations, speeds, and crew-reported ETAs for operational planning.
Supply Chain Visibility
Use crew-reported ETAs and live position data to estimate delivery timing. Track cargo shipments from origin to destination.
Port Operations
Plan berth allocations and resource scheduling based on approaching vessel positions and ETAs. Reduce port congestion and waiting times.
Maritime Analytics
Use AIS data for market research and risk assessment. Analyse shipping patterns, trade routes, and vessel behaviour.
Vessel Identifiers
The API accepts two types of vessel identifiers. Knowing which one to key on avoids mismatches when a vessel changes owner or flag.
MMSI (Maritime Mobile Service Identity)
A unique 9-digit number assigned to a vessel's radio equipment. MMSI numbers are transmitted with every AIS message and are the primary identifier for live tracking.
Format: 9 digits (e.g., 123456789)
Note: MMSI can change if a vessel is re-flagged or its radio equipment is replaced.
IMO Number
A permanent 7-digit number assigned by the International Maritime Organization that follows a vessel throughout its lifetime, regardless of flag changes or ownership transfers.
Format: 7 digits (e.g., 9811000)
Best for: Long-term vessel tracking and historical analysis.
Automatic ID Resolution
When looking up a vessel by ID, the API automatically resolves the identifier if you use the wrong type. For example, if you pass an IMO number but set filter.idType=mmsi, the API will first attempt an MMSI lookup, and if no match is found, it will automatically try looking up the value as an IMO number (and vice versa).
This applies to all single-vessel ID-based endpoints: /vessel/{id}, /vessel/{id}/position, /vessel/{id}/eta, /vessel/{id}/casualties, /vessel/{id}/emissions, /portevents/vessel/{id}, and /portevents/vessel/{id}/last. The batch endpoint /vessels/positions translates IMO numbers to MMSIs internally, but it never returns a _meta field.
Response Metadata
When a fallback resolution occurs, the response includes a _meta field indicating which ID type was actually used. This field is omitted when the primary lookup succeeds.
{
"vessel": { ... },
"_meta": {
"requestedIdType": "mmsi",
"resolvedIdType": "imo",
"resolvedId": 9811000
}
}
| Field | Description |
|---|---|
| requestedIdType | The ID type specified in your request (mmsi or imo) |
| resolvedIdType | The ID type that actually matched (mmsi or imo) |
| resolvedId | The numeric ID that was resolved |
Tip: If _meta is present in the response, consider updating your stored identifier to use the correct type for future requests.
Satellite Position FallbackDEPRECATED
Deprecated. The satellite fallback is withdrawn in its current form. Requests with filter.sat=true
keep working for existing credit holders until 00:00 UTC on and carry Deprecation and Sunset headers.
From the parameter is accepted and ignored, the response carries a Warning header, and no
credit is charged. Credit packs are no longer on sale; unspent credits are refunded on request to
support@vesselapi.com.
The reference below describes what filter.sat=true does until .
Terrestrial AIS receivers cover coastal waters and port areas well, but lose signal on vessels in open ocean or other regions outside receiver range. For those cases, you can opt in to satellite AIS fallback by passing filter.sat=true on the position endpoint. Satellite lookups are billed separately from your subscription with prepaid satellite credits.
Where it's available
Satellite fallback is only supported on the last-known-position endpoint:
GET /v1/vessel/{id}/position?filter.idType=mmsi&filter.sat=true
Other endpoints (ETA, port events, historical positions, fleet queries) are terrestrial-only. Do not send filter.sat to them: the API uses strict parameter validation, so endpoints that do not support a parameter reject the request with HTTP 400 rather than ignoring it.
Update frequency
Satellite AIS is refreshed far less frequently than terrestrial. Where a vessel near a terrestrial receiver can broadcast a new position every few seconds, satellite positions typically update on the order of minutes to a few hours depending on satellite pass coverage and vessel location. If a recent terrestrial position is available for the vessel, the API will return that instead at no additional charge. Satellite data is used only when terrestrial data is not recent enough.
Two windows govern this, and you can set both per request. A stored position younger than the maximum age (default 60 minutes) is served as it is and no satellite lookup is made. A terrestrial position served this way costs no satellite credit (it still counts as one call against your monthly quota). Past that age, the on-demand satellite lookup asks only for a fix newer than the one we already hold, reaching back at most the lookback (default 3 hours): a satellite fix older than that is not returned even when one exists. Because satellite passes can be many hours apart, a vessel that has not been picked up recently will have nothing to return inside a short lookback.
filter.satLookbackMinutes: how old a satellite fix may be and still be returned, from 60 to 4800 minutes (80 hours). Available on every plan. A longer lookback returns older fixes that a short one would miss; each one is still charged only once.filter.satMaxAgeMinutes: how old a stored position may be before a satellite lookup is made, from 15 to 4800 minutes. A lower value gets you fresher positions sooner. Available on paid plans; on the Free plan the request is rejected with403 Forbidden.
Both parameters require filter.sat=true. Values outside the ranges above return 400 Bad Request.
What you get charged for
One satellite credit is deducted for each satellite fix you receive. The same fix is never charged twice: polling a vessel repeatedly costs one credit per new satellite position, not one per request. If the request is served from terrestrial data, or if no newer satellite position exists for the vessel, no credit is charged. You can inspect what was actually served using the response headers:
| Header | Description |
|---|---|
| X-Data-Source | The origin of the returned position: satellite or terrestrial. Only set when filter.sat=true. |
| X-Satellite-Credit-Charged | Set to true when a satellite credit was deducted for this request. The header is absent when no credit was charged; it is never sent with the value false. |
| X-Satellite-Credits-Remaining | Your satellite credit balance after this request. Present on every response to a filter.sat=true call, whether or not a credit was charged. |
| X-Satellite-Lookback-Minutes | The lookback applied to this request, in minutes: your filter.satLookbackMinutes value, or the default. Present on every filter.sat=true response. |
| X-Satellite-Max-Age-Minutes | The maximum stored-position age applied to this request, in minutes: your filter.satMaxAgeMinutes value, or the default. Present on every filter.sat=true response. |
| X-Satellite-Status | Set to insufficient_credits when a satellite lookup was requested but your balance is zero. The terrestrial position is still returned, so the request succeeds rather than failing. Only where no stored position exists either does the call return 402 Payment Required. |
Coverage limits
Satellite AIS is not a guarantee of global coverage. Vessels in low-traffic regions, with AIS transponders switched off, or with obstructed sky view may have no recent satellite position at all. When that happens, the API returns 404 Not Found and no credit is charged. A 404 on a filter.sat=true call means both of these at once: we hold no stored position for the vessel from the last 80 hours, and no satellite fix is available for it inside the lookback window above (3 hours unless you set it). It carries no signal about your request, your identifier or your API key. Satellite is a fallback mechanism, not a universal vessel locator.
Example request
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://api.vesselapi.com/v1/vessel/9811000/position?filter.idType=imo&filter.sat=true"
With both windows set: look for a satellite fix once the stored position is more than 15 minutes old, and accept one up to 8 hours old:
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://api.vesselapi.com/v1/vessel/9811000/position?filter.idType=imo&filter.sat=true&filter.satMaxAgeMinutes=15&filter.satLookbackMinutes=480"
Credits and refunds
Satellite credits were sold in one-time packs of 50, 200 or 500 lookups. They are not part of your monthly subscription quota. They are a separate balance that does not renew. Credit packs are no longer on sale. If you hold unspent credits, please email support@vesselapi.com and we will refund them pro rata. Refunds are made on request only.
Available Endpoints
/vessel/{id}
Get Vessel Information
Retrieve static vessel data including name, type, dimensions, and flag state. The {id} parameter accepts either MMSI or IMO number.
Parameters:
filter.idType- Identifier type:mmsiorimo(required)
Response includes:
- Vessel name, callsign, and former names
- Vessel type and operating status
- Dimensions (length, breadth, draft) with units
- Flag state (country and country code)
- IMO and MMSI numbers
- Year built, gross tonnage, deadweight tonnage
- Engine type, model name, and kilowatt power
- Home port
/vessel/{id}/position
Get Current Position
Retrieve the most recent AIS position report for a vessel, including coordinates, vessel identifiers, and timestamps.
Parameters:
filter.idType- Identifier type:mmsiorimo(required)filter.sat- Deprecated. Opt in to satellite AIS fallback when terrestrial data is not available (optional, requires satellite credits). Ignored from .filter.satLookbackMinutes- Deprecated. Withfilter.sat=true: oldest satellite fix to return, 60-4800 minutes (optional, default 180)filter.satMaxAgeMinutes- Deprecated. Withfilter.sat=true: stored-position age that triggers a satellite lookup, 15-4800 minutes (optional, default 60, paid plans)
Response includes:
- Latitude and longitude coordinates
- GeoJSON location object
- Vessel name, MMSI, and IMO
- Course over ground (COG) and speed over ground (SOG)
- True heading and navigational status
- Suspected glitch indicator
- Timestamp of last position update and processed timestamp
- The vessel's particulars (
vessel), as returned by/vessel/{id} - The latest destination and ETA the vessel reported (
vesselEta), as returned by/vessel/{id}/eta - A check against the vessel's previous position report (
positionCheck)
Accuracy note: While latitude, longitude, COG, and SOG are derived from onboard GPS and sensors, values such as navigational status and heading may be crew-configured or dependent on equipment calibration. These fields can occasionally be outdated or inaccurate. The suspected_glitch flag indicates positions that may be unreliable.
Position check: positionCheck compares the returned position with the vessel's previous position report from the last 80 hours. It gives the time and great-circle distance between the two reports, and the average speed and course that would cover that distance. It also says whether that speed is more than 1.2 times the vessel's usual top speed (the 99th percentile of its recent speeds), and whether the MMSI and IMO match our record for the vessel. When there is no previous report, it contains only lookback_hours and, when we hold a record, identity_match. For every returned position, suspected_glitch is true when the position implies a speed over 500 knots from the vessel's previous unflagged report. The vessel object is left out when we hold no record for the vessel. The vesselEta object is left out when no destination or ETA is available, including when the lookup does not finish in time.
Freshness horizon: this endpoint only looks back a maximum of 80 hours. If the vessel's latest position report is older than that, the endpoint returns 404 Not Found even though older data may still exist. To retrieve older positions, use /vessels/positions with explicit time.from / time.to bounds.
Example response (trimmed). The _meta field appears only when the lookup fell back to the other identifier type, as described in Automatic ID Resolution.
{
"vesselPosition": {
"mmsi": 353136000,
"imo": 9811000,
"vessel_name": "EVER GIVEN",
"latitude": 1.2644,
"longitude": 103.8215,
"location": { "type": "Point", "coordinates": [103.8215, 1.2644] },
"timestamp": "2026-01-15T12:30:00Z",
"processed_timestamp": "2026-01-15T12:30:05Z",
"suspected_glitch": false,
"cog": 231.5,
"sog": 14.1,
"heading": 230,
"nav_status": 0
},
"vessel": {
"imo": 9811000,
"mmsi": 353136000,
"name": "EVER GIVEN",
"vessel_type": "Container Ship",
"country": "Panama",
"year_built": 2018
},
"vesselEta": {
"mmsi": 353136000,
"imo": 9811000,
"vessel_name": "EVER GIVEN",
"destination": "ROTTERDAM",
"destination_port": "NLRTM",
"draught": 14.5,
"eta": "2026-02-08T06:00:00Z",
"timestamp": "2026-01-15T12:10:00Z"
},
"positionCheck": {
"previous_position": {
"timestamp": "2026-01-15T12:24:00Z",
"latitude": 1.2788,
"longitude": 103.8399
},
"minutes_since_previous": 6,
"distance_nm": 1.4,
"implied_speed_kn": 14,
"implied_course": 232,
"exceeds_typical_speed": false,
"identity_match": true,
"lookback_hours": 80
},
"_meta": {
"requestedIdType": "mmsi",
"resolvedIdType": "imo",
"resolvedId": 9811000
}
}
/vessel/{id}/eta
Get Estimated Time of Arrival
Retrieve the vessel's reported destination and estimated time of arrival (ETA) as broadcast via AIS. This information is entered by the ship's crew and updated during the voyage.
Parameters:
filter.idType- Identifier type:mmsiorimo(required)
Response includes:
- Vessel MMSI, IMO, and name
- Reported destination port
- Estimated arrival date and time
- Current draught in metres
- Timestamp of when ETA information was received
Note: ETA data is crew-reported and may not always be accurate or up-to-date. For critical applications, consider cross-referencing with position data and route calculations.
Freshness horizon: this endpoint only looks back a maximum of 31 days. If the vessel has not broadcast an ETA in that window, the endpoint returns 404 Not Found even if older ETA reports exist.
/vessels/positions
Get Multiple Vessel Positions
Retrieve position data for multiple vessels in a single request. Ideal for fleet monitoring dashboards where you need to track many vessels simultaneously.
Parameters:
filter.ids- Comma-separated list of MMSI or IMO numbers (required)filter.idType- Identifier type:mmsiorimo(required)time.from/time.to- Time range filter in RFC3339 format (optional, defaults to past 2 hours)pagination.limit- Results per page (max 50, default 20)pagination.nextToken- Cursor for next page of results
/search/vessels
Search Vessels
Search for vessels by name or callsign. Useful when you don't have the MMSI or IMO but know the vessel's name.
Parameters:
filter.name- Vessel name (partial match supported)filter.callsign- Radio callsignfilter.flag- ISO 2-letter country code of flag state (e.g.,PA,SG); repeatable, matches if any value matchesfilter.vesselType- Vessel type classification (case-insensitive, e.g.,Container Ship); repeatable, matches if any value matchesfilter.mmsi- MMSI numberfilter.imo- IMO numberfilter.yearBuiltMin- Minimum year builtfilter.yearBuiltMax- Maximum year builtpagination.limit- Results per page (max 50, default 20)pagination.nextToken- Cursor for next page of results
At least one filter parameter is required.
To pass multiple values for a repeatable filter, repeat the parameter itself (e.g. ?filter.flag=PA&filter.flag=SG); comma-separated values are not supported.
/location/vessels/bounding-box
Vessels in Bounding Box
Find all vessels within a rectangular geographic area. Perfect for map-based applications showing vessels in a specific region. Maximum span of 4 degrees (|dLat| + |dLon|).
Parameters:
filter.latBottom,filter.latTop- Latitude boundsfilter.lonLeft,filter.lonRight- Longitude boundstime.from/time.to- Time range filter in RFC3339 format (optional, defaults to past 2 hours)pagination.limit- Results per page (max 50, default 20)pagination.nextToken- Cursor for next page of results
/location/vessels/radius
Vessels Within Radius
Find all vessels within a specified distance from a center point. Ideal for proximity alerts and nearby vessel detection.
Parameters:
filter.latitude- Centre point latitudefilter.longitude- Centre point longitudefilter.radius- Search radius in metres (required, max 100,000)time.from/time.to- Time range filter in RFC3339 format (optional, defaults to past 2 hours)pagination.limit- Results per page (max 50, default 20)pagination.nextToken- Cursor for next page of results
Code Examples
Get Vessel Position (cURL)
curl -X GET "https://api.vesselapi.com/v1/vessel/253041000/position?filter.idType=mmsi" \
-H "Authorization: Bearer YOUR_API_KEY"
Search Vessels by Name (Python)
import requests
response = requests.get(
"https://api.vesselapi.com/v1/search/vessels",
headers={"Authorization": "Bearer YOUR_API_KEY"},
params={"filter.name": "EVERGREEN", "pagination.limit": 20}
)
data = response.json()
for vessel in data["vessels"]:
# Search results return Vessel objects with 'name' (not 'vessel_name')
print(f"{vessel['name']} - MMSI: {vessel['mmsi']}")
Get Vessels in Area (JavaScript)
const response = await fetch(
"https://api.vesselapi.com/v1/location/vessels/bounding-box?" +
new URLSearchParams({
"filter.latBottom": 51.0,
"filter.latTop": 52.0,
"filter.lonLeft": 3.0,
"filter.lonRight": 4.5
}),
{
headers: { "Authorization": "Bearer YOUR_API_KEY" }
}
);
const data = await response.json();
console.log(`Found ${data.vessels.length} vessels in the area`);
Response Fields
Vessel Static Data (/vessel/{id}, /search/vessels)
| Field | Description | Example |
|---|---|---|
| mmsi | Maritime Mobile Service Identity (9-digit) | 353136000 |
| imo | IMO number | 9811000 |
| name | Vessel's registered name | EVER GIVEN |
| call_sign | Radio callsign | H3RC |
| vessel_type | Type of vessel | Container Ship |
| country | Flag state country name | Panama |
| length / breadth / draft | Vessel dimensions with corresponding unit fields | 400 |
| gross_tonnage | Gross tonnage of the vessel | 220940 |
| deadweight_tonnage | Deadweight tonnage capacity | 199629 |
| year_built | Year the vessel was built | 2018 |
| operating_status | Current operating status | Active |
Additional fields such as former_names, home_port, engine_type, and kilowatt_power are also available. See the API Explorer for the complete schema.
Position Data (/vessel/{id}/position, /vessels/positions, /location/vessels/*)
| Field | Description | Example |
|---|---|---|
| mmsi | Maritime Mobile Service Identity (9-digit) | 353136000 |
| imo | IMO number (if available) | 9811000 |
| vessel_name | Vessel's registered name | EVER GIVEN |
| latitude | Geographic latitude in decimal degrees | 1.2644 |
| longitude | Geographic longitude in decimal degrees | 103.8215 |
| timestamp | UTC time when AIS message was transmitted | 2026-01-15T12:30:00Z |
| processed_timestamp | UTC timestamp when the position was processed by the system | 2026-01-15T12:30:05Z |
| cog | Course Over Ground in degrees (0-359.9), null when unavailable | 231.5 |
| sog | Speed Over Ground in knots (0-102.2), null when unavailable | 14.1 |
| heading | True heading in degrees (0-359), null when unavailable | 230 |
| nav_status | AIS navigational status (0=under way using engine, 1=at anchor, 5=moored, etc.), null when unavailable | 0 |
| location | GeoJSON point for geospatial queries | {"type":"Point","coordinates":[103.82,1.26]} |
| suspected_glitch | Whether the position may be unreliable due to GPS glitch or corrupted AIS | false |
Accuracy note: Position fields like latitude, longitude, cog, and sog are derived from onboard GPS and sensors and are generally reliable. However, nav_status is manually set by the crew and is frequently outdated or incorrect. heading depends on gyrocompass calibration and may be unavailable on smaller vessels. Fields return null when the data is not available in the AIS transmission.
Position Check (positionCheck in /vessel/{id}/position)
The lookback_hours field is always present. The identity_match field needs our record for the vessel and an identifier to compare. The other fields need a previous report within the lookback window.
| Field | Description | Example |
|---|---|---|
| previous_position | The vessel's most recent earlier position report within lookback_hours, with its timestamp, latitude and longitude |
{"timestamp":"2026-10-25T22:39:27Z","latitude":25.33353,"longitude":-79.8835} |
| minutes_since_previous | Minutes between the previous report and the returned position | 6 |
| distance_nm | Great-circle distance from the previous report, in nautical miles | 1.7 |
| implied_speed_kn | Average speed needed to cover that distance in that time, in knots | 16.5 |
| implied_course | Initial great-circle bearing from the previous report, in degrees from true north | 158 |
| exceeds_typical_speed | Whether the implied speed is more than 1.2 times the vessel's usual top speed (the 99th percentile of its recent speeds) | false |
| identity_match | Whether the MMSI and IMO of the returned position match our record for the vessel. Left out when we hold no record or no identifier can be compared | true |
| lookback_hours | How far back the previous report was searched for (always present) | 80 |
Ready to Start Tracking?
Try these endpoints interactively in the API Explorer, complete with live examples and response previews.