A vessel's latest AIS position. Pure lookup — never consumes a slot. Both imo and mmsi are required. EXTERNAL: this calls a third-party provider, so budget seconds, not milliseconds. Answers are cached for 5 minutes — a repeat of the same imo/mmsi returns cached: true with no upstream call, and costs nothing. Only successes are cached. Shares a per-plan DAILY lookup allowance with /voyage/schedules; see the 429 below.
Request
GET https://traqocontainer.com/api/v1/vessel/track
Your API key as a Bearer token: Authorization: Bearer YOUR_API_KEY.
Rate limit.Each API key gets 120 requests per minute by default; your key's own budget comes back in the X-RateLimit-* headers.Limits by plan.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
imo | query | string | Yes | IMO number: exactly 7 digits. |
mmsi | query | string | Yes | MMSI number: exactly 9 digits. |
Example request
curl "https://traqocontainer.com/api/v1/vessel/track?imo=9811000&mmsi=636022327" \
-H "Authorization: Bearer YOUR_API_KEY"Run it in the sandbox — no key, no account: the same request answers at https://traqocontainer.com/api/v1/sandbox/vessel/track with a schema-identical reply.
Responses
Example 200 body:
{
"success": true,
"data": {
"lat": 18.416247,
"lon": -17.618743,
"speed": 16.5,
"draught": 9.4,
"navigation_status": "Underway using engine",
"course_over_ground": 3.4,
"true_heading": 5,
"timestamp": "2026-05-25T10:45:20",
"origin_port": "Dakar, Senegal",
"origin_locode": "SNDKR",
"atd": "2026-05-20T08:00:00",
"destination_port": "TANGER-MEDITERRANEAN, MA",
"destination_locode": "MATAN",
"eta": "2026-05-30T00:01:00"
}
}| Status | Meaning |
|---|---|
200 | Vessel position |
400 | Bad request — check required parameters. |
401 | Invalid or missing API key. |
403 | Developer mode not enabled, or the feature is not on your plan. |
404 | Resource not found. |
429 | Two separate limits produce a 429 here, and the body says which. |
502 | We could not reach the carrier AND hold nothing for this reference — the last resort, not the usual answer. |
Error bodies and retry advice: Errors.