For AI agents: the documentation index is at llms.txt. Add .md to any page's URL for its Markdown.

Errors

Every error has the same shape:

{ "error": { "code": "not_found", "message": "Maersk has no record of that number" } }

Branch on code; message is for people and can change.

HTTPcodeWhenRetry?
400bad_requestNo numbers, more than 100, or more than 35 for one line; a template placeholder such as {number} sent as the number; a number too short to be one; a malformed bodyNo
400unknown_carrierNo line's owner prefix matches the container number, or its ISO 6346 check digit is wrong; a leased container or bill of lading sent without carrier; or an unsupported carrierFix the number or pass carrier
401unauthorizedMissing, wrong or revoked key, or a disabled accountNo
402payment_requiredNo key, and no free lookup left (or a request for several numbers)Pay with MPP; see Pay per request. For a person, lookup_url opens the lookup on containerfeed.com
402payment_errorAn MPP payment couldn't be processedPay again
402credits_usedA credit key doesn't have enough credits left for the requestPay again without the key
404not_foundThe line has no record of the number, or no such watch, delivery, key or routeLater; a new booking can take a while to appear at the line
429free_lookup_usedNo key, and this IP's free lookup for today is used (when pay per request is off), or the request came from a cloud networkSign up for a key, or after 00:00 UTC
429rate_limitedThe Free plan's allowance is used up (with upgrade_url and X-RateLimit-* headers), a Free account's weekly watch, the 5,000 active watches, or a line refusing lookups for nowAfter the reset, or in a few minutes for a line
500internal_errorUnexpected failureYes
500not_configuredThe service is misconfiguredYes, later
502carrier_errorThe line failed the lookupYes
503carrier_unavailableThe line can't be asked right now: its site is down or not answering, or it failed its last several lookups and is rested for a few minutesIn a few minutes
503rate_limitedEvery lookup slot is busyIn a few seconds

On GET /v1/track?numbers=, per-number errors (not_found, unknown_carrier, carrier_error, carrier_unavailable, rate_limited) come back inside results with a 200; only a malformed request, a bad key, or a Free account with no room left fails the whole call.

Nothing is billed for an error other than not_found: a not_found is the line's answer, so it counts as a tracked number.

Over MCP, a failed tool call returns this same object as a result with isError: true. See MCP.