Heavy Lift Vessel Tracking API: Search, Track and Nearby

Heavy Lift Vessel Tracking API: Search, Track and Nearby

Heavy-lift movements depend on knowing which vessel is carrying the project cargo, where its last AIS report places it, and what traffic is nearby. By the end of this guide, you can search for a vessel, retrieve its position and history, and build a nearby-traffic view with vessels-api.com.

A tracking workflow for heavy-lift operations

Heavy-lift schedules often involve a small number of high-value voyages and closely coordinated port calls. A useful integration needs to connect vessel identity, position freshness, route information, and nearby traffic without treating every AIS update as an operational guarantee.

Illustration: Heavy Lift Vessel Tracking API: Search, Track and Nearby

The vessels-api.com REST API uses https://vessels-api.com/api/V1 as its base URL and the X-API-Key request header for authentication. Responses use a JSON envelope with status, success, message, and data.

For this workflow, start with these four operations:

  • GET /vessels/search resolves a vessel name or identifier to vessel particulars.
  • GET /vessels/track retrieves a last reported position, position history, and available voyage context.
  • GET /vessels/nearby finds vessels around a coordinate within a radius in nautical miles.
  • POST /vessels/fleet retrieves positions for multiple tracked vessels in one request.

Search and tracking results should be checked against your own vessel records before they drive a cargo operation. In particular, the documented tracking example below demonstrates the response format; its response does not establish that the vessel is a heavy-lift vessel.

Find and verify the right vessel

Use /vessels/search when a project schedule gives you a vessel name but your tracking system needs an IMO or MMSI. Search supports fuzzy matching by name as well as lookup by IMO or MMSI. A fuzzy name match is a candidate, not proof that the vessel is the one assigned to a lift.

The returned data.vessels entries can include imo, mmsi, name, flag, vessel_type, deadweight_tonnage, year_built, length_m, and width_m. Compare those particulars with the charter or project record before saving the identifier. Deadweight and dimensions are useful screening fields, but they do not establish crane capacity or suitability for a particular cargo.

Optional search filters include ship_type, flag, min_dwt, max_dwt, year_built_from, and year_built_to. Use the documented filters to narrow a broad result set, and consult the Documentation for supported values rather than assuming a particular heavy-lift classification.

For larger result sets, use page and per_page; the maximum page size is 100. Read data.pagination.current_page, total, and last_page to determine whether more results remain. Store the verified IMO or MMSI with the project record so that subsequent tracking requests do not depend on a name search.

Track a vessel and interpret the response

GET /vessels/track requires either imo or mmsi. The optional hours parameter requests position history: it defaults to 24 hours and has a maximum of 168 hours. Optional include_route, include_predicted_eta, and include_weather parameters provide additional voyage context when available.

This documented request asks for the position and up to 48 hours of history for the supplied MMSI:

curl -H "X-API-Key: YOUR_API_KEY" "https://vessels-api.com/api/V1/vessels/track?mmsi=258785000&hours=48"

The documented response is:

{
    "status": 200,
    "success": true,
    "message": "OK",
    "data": {
        "vessel": {
            "imo": "9122556",
            "mmsi": "258785000",
            "name": null
        },
        "current_position": {
            "latitude": 53.33708,
            "longitude": 7.17993,
            "position_precision": "precise",
            "position_accuracy_nm": null,
            "speed_knots": 0,
            "course_degrees": 212,
            "heading_degrees": null,
            "navigational_status": 5,
            "timestamp_utc": "2017-01-24T04:07:55+00:00",
            "age_minutes": 5173940,
            "destination": null,
            "eta": null
        },
        "predicted_eta": null,
        "position_history": [],
        "route": {
            "departure_port": "HERACLIO",
            "departure_time": "2026-04-27T21:35:36+00:00",
            "destination_port": "HERACLIO",
            "eta": null,
            "distance_nm": null,
            "avg_speed_knots": 17.1
        },
        "last_port_visits": [
            {
                "port_id": "156",
                "port_name": "EMDEN",
                "arrival_time": "2026-07-30T13:00:10+00:00",
                "departure_time": null,
                "duration_hours": null
            },
            {
                "port_id": "10",
                "port_name": "HERACLIO",
                "arrival_time": "2026-04-20T12:00:00+00:00",
                "departure_time": "2026-04-23T08:00:00+00:00",
                "duration_hours": 68
            }
        ],
        "weather": null
    }
}

The fields for a tracking display are current_position.latitude, longitude, and timestamp_utc. Speed is in knots; course and heading are in degrees. position_history may be empty, and an ETA, heading, destination, weather, or other field may be null.

Freshness matters as much as coordinates. This response has a very old position timestamp and a large age_minutes, even though it also contains route and port-visit information with later timestamps. Display the position timestamp alongside the marker, assess each record’s time independently, and do not present this position as a current location or infer that the route and position describe the same moment.

Read the same request in Python

The following example uses Python’s standard library, calls the same URL, and handles both HTTP errors and an unsuccessful response envelope. Replace YOUR_API_KEY with your key, or set the X_API_KEY environment variable in your runtime.

import json
import os
from urllib.error import HTTPError, URLError
from urllib.request import Request, urlopen

url = (
"https://vessels-api.com/api/V1/vessels/track"
"?mmsi=258785000&hours=48"
)
request = Request(
url,
headers={"X-API-Key": os.environ.get("X_API_KEY", "YOUR_API_KEY")},
)

try:
with urlopen(request, timeout=30) as response:
payload = json.load(response)
except HTTPError as exc:
raise SystemExit(f"API request failed: HTTP {exc.code}") from exc
except URLError as exc:
raise SystemExit(f"Network request failed: {exc.reason}") from exc

if not payload.get("success"):
raise SystemExit(f"API response unsuccessful: {payload.get('message')}")

data = payload.get("data") or {}
vessel = data.get("vessel") or {}
position = data.get("current_position") or {}
route = data.get("route") or {}

print("MMSI:", vessel.get("mmsi"))
print("Position:", position.get("latitude"), position.get("longitude"))
print("Position timestamp:", position.get("timestamp_utc"))
print("Position age in minutes:", position.get("age_minutes"))
print("Speed in knots:", position.get("speed_knots"))
print("Destination:", position.get("destination"))
print("Reported ETA:", position.get("eta"))
print("Predicted ETA:", data.get("predicted_eta"))
print("Route destination:", route.get("destination_port"))
print("History points:", len(data.get("position_history") or []))

Keep reported ETA and predicted ETA separate in your application, and show an unavailable state when either is null. A logistics team can use an available ETA to review lift-window planning, but should confirm it against operational updates before committing cranes, pilots, or cargo movements.

Build the nearby view and fleet dashboard

Once you have a usable position or a project location, GET /vessels/nearby finds vessels around a point. It requires latitude and longitude; radius is optional, defaults to 50 nautical miles, and has a maximum of 200 nautical miles. Optional ship_type and limit parameters narrow the returned traffic.

Read data.center, radius_nm, total, and vessels to label the result set. Each vessel can include its identifiers, position, distance_nm, speed, course, and navigational status. Use the position’s timestamp_utc in the display: two nearby markers may represent reports from different times.

For a heavy-lift port call, this view can help a dispatcher inspect traffic around an approach or work area. It is a situational-awareness aid, not a collision-avoidance system or proof that a berth, channel, or lifting area is clear. A radius search also describes a circle around a point; it is not a port boundary or a planned vessel route.

For a project fleet, POST /vessels/fleet accepts a JSON body with a vessels array containing IMO or MMSI identifiers. Set include_positions and, when needed, include_routes to request those details. The response includes a fleet summary and per-vessel records, so a dashboard can associate each returned position with its verified project vessel.

Do not assume that a fleet summary makes every position equally fresh. Retain the individual position information and its timestamp when available, and provide a way to open the detailed tracking view for a vessel that needs investigation.

Operate the integration safely

Global AIS coverage and near-real-time refreshes are useful, but a successful API response does not guarantee a recent report for every vessel. Set a freshness policy appropriate to your operation, display the last report time in UTC or convert it explicitly for users, and distinguish an old position from a failed request. Cache results only with their observation timestamps intact; a recently cached response can still contain an old AIS report.

Handle HTTP status codes deliberately. A 400 indicates a missing or invalid parameter; 401 indicates a missing or invalid key; 404 means the vessel or port was not found; and 422 indicates a parameter outside its permitted range. For 429 or 500, avoid immediate repeated requests and implement a controlled retry policy suitable for your application.

For ESG workflows, tracking history and voyage context can help teams reconcile movement records before preparing a report. They are not, by themselves, a verified emissions calculation or evidence of compliance. Keep the source timestamps and any gaps visible to the team responsible for the final assessment.

FAQ

Can I track a heavy-lift vessel by name?

Search by name first, then verify the returned vessel particulars and use its IMO or MMSI with /vessels/track. Fuzzy matching is helpful for discovery but should not replace identity verification.

How much position history can I request?

The tracking endpoint defaults to 24 hours and accepts up to 168 hours through hours. A requested window does not guarantee that position points are available throughout it.

How should I interpret a missing ETA?

Treat a null ETA as unavailable, not as an immediate arrival or a zero-duration voyage. Check the available route and position timestamps, and confirm scheduling decisions through your operational process.

Can nearby results show traffic around a heavy-lift operation?

Yes. Supply the relevant latitude and longitude and choose a radius in nautical miles. Review each returned position’s timestamp and use the results for awareness rather than navigational or clearance decisions.

Register to start the seven-day free trial, then connect a verified vessel identifier to the tracking workflow above. For an additional integration option, explore MCP.

Ready to get started?

Get your API key and start tracking vessels in minutes.

Get API Key