Developer APIs

AIS Vessel Position API by IMO or MMSI

Add a vessel marker to your fleet map or shipment portal using its IMO number or MMSI. The REST API returns Panvaya's latest stored vessel position and available navigation and voyage data.

Example request · cURL
curl -X GET \
  "https://api.panvaya.com/api/v1/vessels/position?imo=9525338" \
  -H "X-API-Key: $PANVAYA_API_KEY"

Use your server-side key. See the endpoint reference or Markdown guide for the full JSON response.

Show vessel position beside shipment milestones

  1. Query a checksum-valid seven-digit IMO or a nine-digit MMSI. If you only know the vessel name, look up its identity using the separate vessel details endpoint.
  2. Plot the returned coordinates. Treat the position as the latest stored observation. The public response does not expose an AIS observation timestamp.
  3. Use vessel position for the ship marker. Keep the container timeline tied to the Ocean API's carrier events, and use the Schedules API for future route options.

Response fields to map

latitude / longitude
Coordinates of the latest stored position for the vessel.
speed / course / heading
Available navigation values. Preserve null values for data that is unavailable.
destination_unlocode / eta / eta_calc
Available voyage context and estimates. These fields do not establish cargo arrival or discharge.

API pricing

The public default is 5 credits for each successful position lookup. A successful position lookup uses API credits without enrolling a shipment. An unknown active-vessel identifier returns 404, and a known vessel with no stored position returns 502. Those errors are unbilled.

Compare plans and usage examples · Check workspace rates and access

Frequently asked questions

Is the AIS Vessel Position API a live stream?

It returns the latest stored position as one response per lookup. The vessel's position can lag its actual movement, and this response has no AIS observation timestamp.

Does vessel AIS show where my container is?

AIS shows the vessel's position. Use the Ocean Container Tracking API for carrier-reported loading, discharge and other container events. A vessel position alone cannot establish the shipment's current milestone.