API products

Vessel ETA API: a calculated ETA next to the reported one

REST · JSON · X-API-Key · OpenAPI 3.1

Two ETAs side by side: the one the crew entered in the AIS transponder, and one we calculate along the sea route from the vessel's position and its recent average speed. You also get the remaining distance in nautical miles and the route itself as GeoJSON, to the destination the vessel reports or to any port you name.

What you get

GET /vessels/{id}/eta[?to=LOCODE] returns one object; without to, the destination is the one the vessel reports, decoded to a port:

FieldMeaning
toThe port the ETA is for: { locode, name }.
reportedEtaThe ETA the vessel broadcasts (entered by the crew), or null.
calculatedEtaOur ETA: the remaining sea-route distance at the vessel's recent average speed.
remainingNmThe remaining distance along the sea route, in nautical miles.
speedKnThe speed the calculation used, in knots.
basis, confidenceHow the calculated ETA was obtained and how far to trust it.

GET /vessels/{id}/route?to=LOCODE returns { distanceNm, route }: the route from the vessel's position to the port along a maritime route network, as a GeoJSON LineString you can draw on any map.

Why two ETAs

The reported ETA is typed in by the crew and is often stale or missing; the calculated one follows the vessel as it moves. When they agree, you can plan on them; when they drift apart, that is the signal to look closer.

311,000+vessels with a position in the last 24 hours
12,000+ports with a UN/LOCODE, usable as a destination

Counted on 2026-12-04; the figures are recounted every few hours.

Endpoints and prices

Every route lives under https://wingo-marine.com/api/public/v1, takes the X-API-Key header and answers JSON. The cost is live: it is what the call spends today, and every response tells you in X-Credits-Cost and X-Credits-Remaining.

CallWhat it returnsCostPer 1,000 calls
GET /vessels/{id}/eta?to=Reported and calculated ETA to the destination port (or any port you name)5 creditsfrom €2.00
GET /vessels/{id}/route?to=The sea route from the vessel to a port, with its length, as a GeoJSON LineString5 creditsfrom €2.00
GET /vessels/{id}The destination and ETA the vessel reports, with its last position1 creditfrom €0.40

A free account receives 200 credits once its email is verified. Credits come with a monthly plan or a one-time pack; out of credits means HTTP 402, never an overage bill. See plans and packs →

Examples

Create a free account, open Developer in the app, create a key and keep it server-side. Then:

curl

curl -H "X-API-Key: $WINGO_KEY" \
  "https://wingo-marine.com/api/public/v1/vessels/211331640/eta"

Python (requests)

import os, requests

r = requests.get(
    "https://wingo-marine.com/api/public/v1/vessels/9312341/eta",
    params={"to": "NLRTM"},
    headers={"X-API-Key": os.environ["WINGO_KEY"]},
    timeout=30,
)
r.raise_for_status()
eta = r.json()
print(eta["to"]["name"], "reported:", eta["reportedEta"], "calculated:", eta["calculatedEta"], eta["remainingNm"], "nm")

JavaScript (Node 18+): the route as GeoJSON

const res = await fetch("https://wingo-marine.com/api/public/v1/vessels/211331640/route?to=NLRTM", {
  headers: { "X-API-Key": process.env.WINGO_KEY },
});
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const { distanceNm, route } = await res.json();
console.log(distanceNm, "nm");
console.log(JSON.stringify({ type: "Feature", geometry: route, properties: {} }));

Generate a typed client from /openapi.json, or point an AI assistant at /llms-full.txt.

Questions

How is the calculated ETA worked out?

We measure the remaining distance from the vessel's position to the port along a maritime route network, and divide it by the vessel's recent average speed from its position history.

Can I ask for an ETA to a port other than the reported destination?

Yes: pass the port's UN/LOCODE in the to parameter of GET /vessels/{id}/eta and of GET /vessels/{id}/route.

What does it cost?

An ETA costs 5 credits and a route 5 credits per request.

More of the API

From the blog

Make your first call today

Free account, no card, 200 credits to try every endpoint.

Get a free API key