GET /voyage/schedules

Voyage schedules

Sailing schedules between two ports.

Point-to-point sailing schedules between two ports. Pure lookup — never consumes a slot. EXTERNAL, and the SLOWEST endpoint on this API — budget seconds. Answers are cached for 30 minutes: an identical origin/destination/date/week_range/date_type returns cached: true with no upstream call. Only successes are cached, and a cached answer costs nothing. Shares a per-plan DAILY lookup allowance with /vessel/track; see the 429 below. An origin or destination whose first two characters are not a real ISO country code is rejected locally with a 400, rather than spending ~4s upstream to learn the same thing.

Request

GET https://traqocontainer.com/api/v1/voyage/schedules

Authentication.

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

NameInTypeRequiredDescription
originquerystringYes

Origin UN/LOCODE (5 chars).

destinationquerystringYes

Destination UN/LOCODE (5 chars).

datequerystringYes

Reference date, YYYY-MM-DD. Schedules exist for future sailings, so a past date returns 404.

week_rangequeryintegerNo

Number of weeks from the date to include. Default 1.

date_typequery"departure" | "arrival"No

Default "departure".

Example request

curl "https://traqocontainer.com/api/v1/voyage/schedules?origin=INMUN&destination=AEJEA&date=2026-12-09&week_range=2&date_type=departure" \
  -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/voyage/schedules with a schema-identical reply.

Responses

Example 200 body:

{
  "success": true,
  "data": [
    {
      "sealine": "MSCU",
      "sealine_name": "MSC",
      "service_name": "EAST AFRICA EXPRESS",
      "voyage": "OM622A",
      "vessel": {
        "name": "TBN",
        "imo": "9999999"
      },
      "origin": {
        "locode": "INMUN",
        "country": "INDIA",
        "terminal": null,
        "city": "Mundra",
        "state": "Gujarat"
      },
      "destination": {
        "locode": "AEJEA",
        "country": "UNITED ARAB EMIRATES",
        "terminal": null,
        "city": "Jebel Ali",
        "state": null
      },
      "departure_date": "2026-11-15 10:00:00",
      "arrival_date": "2026-06-06 19:00:00",
      "duration": 6,
      "transit_type": "unspecified"
    },
    {
      "sealine": "MSCU",
      "sealine_name": "MSC",
      "service_name": "ARABIAN SEA SHUTTLE",
      "voyage": "JR622A",
      "vessel": {
        "name": "MSC ALIZEE III",
        "imo": "9243239"
      },
      "origin": {
        "locode": "INMUN",
        "country": "INDIA",
        "terminal": "ADANI INTERNATIONAL CONTAINER TERMINAL PVT LTD",
        "city": "Mundra",
        "state": "Gujarat"
      },
      "destination": {
        "locode": "AEJEA",
        "country": "UNITED ARAB EMIRATES",
        "terminal": "JEBEL ALI CONTAINER TERMINAL 1",
        "city": "Jebel Ali",
        "state": null
      },
      "departure_date": "2026-11-15 06:00:00",
      "arrival_date": "2026-06-09 08:00:00",
      "duration": 8,
      "transit_type": "transshipment"
    }
  ]
}
StatusMeaning
200

Matching schedules

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. rate_limit_exceeded is the shared per-minute API limit (X-RateLimit-*). lookup_limit_exceeded is the per-plan DAILY allowance these two endpoints SHARE (X-Lookup-Limit / X-Lookup-Remaining / X-Lookup-Reset), because each one reaches an external provider. Both send Retry-After and a resetAt timestamp; the daily window is a rolling 24 hours from your first lookup, not midnight. A repeat query served from cache never counts against it.

502

We could not reach the carrier AND hold nothing for this reference — the last resort, not the usual answer. data.error is carrier_unavailable (that SCAC is failing; data.carrier names it) or upstream_unavailable (live tracking as a whole, not one carrier). Retry-After gives the delay in seconds, derived from how many times that carrier has failed in a row: 30, then 120, then 300, capped at 600. When we DO hold a document you get 200 with stale: true instead, and a first lookup during an outage gets 202. A request never hangs waiting for this: we spend at most 8 seconds starting carrier attempts and then answer with what we have.

Error bodies and retry advice: Errors.