GET /carriers/lookup

Resolve the carrier for a reference

Work out which carrier owns a reference — free, and creates no shipment.

Which carrier moves this container or bill of lading — WITHOUT tracking it. Creates no shipment, writes nothing, and consumes no shipment slot, so it is safe to call before you commit to tracking. Answers from this reference’s own tracking history, the container operator in the lessor’s records, the issuing line of a bill, prefix ownership, and prefix popularity — strongest evidence first. A null carrier is a real answer: track without a sealine and upstream auto-detect takes over.

Request

GET https://traqocontainer.com/api/v1/carriers/lookup

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
numberquerystringYes

Container or bill of lading number.

typequery"container" | "bl"No

Optional. Inferred from the number when omitted — 4 letters + 7 digits is a container.

Example request

curl "https://traqocontainer.com/api/v1/carriers/lookup?number=MRKU8636841" \
  -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/carriers/lookup with a schema-identical reply.

Responses

Example 200 body:

{
  "success": true,
  "data": {
    "number": "MRKU8636841",
    "type": "container",
    "carrier": {
      "scac": "MAEU",
      "name": "Maersk",
      "source": "spec",
      "confidence": "high",
      "reason": "Container operator from the lessor’s records"
    },
    "candidates": [
      {
        "scac": "MAEU",
        "name": "Maersk",
        "source": "spec",
        "confidence": "high",
        "reason": "Container operator from the lessor’s records"
      }
    ],
    "sources_unavailable": [],
    "cached": false,
    "slot_consumed": false
  }
}
StatusMeaning
200

The resolved carrier, and every candidate that had an opinion.

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.

429

Two separate limits can 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 this endpoint’s own per-key DAILY cap (X-Lookup-Limit / X-Lookup-Remaining / X-Lookup-Reset), which exists because each distinct reference fans out to identification lookups. Both send Retry-After and a resetAt timestamp. Repeat lookups of a reference you already resolved are served from cache and never count against the daily cap.

Error bodies and retry advice: Errors.