{"openapi":"3.1.0","info":{"title":"ContainerFeed","version":"1.0.0","description":"Ocean Container Tracking API: normalized ocean container and bill of lading tracking across 16 carriers (maersk, msc, cosco, evergreen, one, yangming, cmacgm, hapaglloyd, hmm, zim, oocl, wanhai, pil, matson, kmtc, crowley) with automatic carrier detection from the tracking number format.","contact":{"name":"ContainerFeed","email":"support@containerfeed.com","url":"https://containerfeed.com"},"x-guidance":"Use GET /v1/track/{number} to track a single container, bill of lading or package, or GET /v1/track?numbers=num1,num2 to track up to 100 in one batch (at most 35 per carrier). Carrier auto-detection is built in: omit the optional ?carrier= parameter unless a tracking number format is shared across carriers or you want to force a specific carrier code from GET /v1/carriers. Payment via MPP (WWW-Authenticate: Payment on HTTP 402): pay $0.02 per tracking number in USDC on Tempo (tempo/charge), or $0.50 by card via Stripe Shared Payment Token (stripe/charge) for a pack of 25 tracking numbers. When a payment buys more tracking numbers than the current request uses (such as a 25-number card pack), the response returns a credit key (lsk_pack_...) in the x-containerfeed-key header and credits.key JSON field. Reuse that key on subsequent requests via Authorization: Bearer lsk_pack_... or x-api-key: lsk_pack_... until credits.remaining reaches 0. Only answered lookups (HTTP 200 or 404 not_found from the carrier) spend credits; transient carrier errors automatically refund the credit. To be told when a container moves instead of polling, POST /v1/watches with an API key from https://app.containerfeed.com (not a payment or credit key): the response has the current result, and later changes are POSTed to the account's webhook (PUT /v1/webhook)."},"servers":[{"url":"https://api.containerfeed.com"}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Account API key (lsk_live_...) from https://app.containerfeed.com"}}},"x-service-info":{"categories":["shipping","logistics"],"docs":{"homepage":"https://containerfeed.com","apiReference":"https://docs.containerfeed.com","llms":"https://docs.containerfeed.com/llms.txt"}},"paths":{"/v1/track/{number}":{"get":{"operationId":"trackPackage","summary":"Track one package","description":"Returns normalized tracking status, delivery estimate, destination, and scan history for one tracking number.","parameters":[{"name":"number","in":"path","required":true,"description":"Tracking number to look up (case-insensitive).","schema":{"type":"string","minLength":1,"examples":["9400111899223847162534","1Z999AA10123456784"]}},{"name":"carrier","in":"query","required":false,"description":"Optional carrier code override when a tracking number format is shared by multiple carriers. Omit to auto-detect from the tracking number.","schema":{"type":"string","enum":["maersk","msc","cosco","evergreen","one","yangming","cmacgm","hapaglloyd","hmm","zim","oocl","wanhai","pil","matson","kmtc","crowley"]}},{"name":"zipcode","in":"query","required":false,"description":"The recipient's postcode, for the carriers that only show a parcel with it (); without it they answer 400 postcode_required, which is not charged. For a parcel going abroad put the destination's two-letter country code first (BE-2000). Other carriers ignore it. \"postcode\" is accepted as the same parameter.","schema":{"type":"string","examples":["1234AB","BE-2000"]}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.02"},"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"USD"}},{"mpp":{"method":"stripe","intent":"charge","currency":"USD"}}],"offers":[{"method":"tempo","intent":"charge","currency":"usd","amount":"20000","description":"2 cents per tracking number in stablecoins"},{"method":"stripe","intent":"charge","currency":"usd","amount":"50","description":"$0.50 by card for 25 tracking numbers"}]},"responses":{"200":{"description":"Normalized tracking result.","content":{"application/json":{"schema":{"type":"object","required":["carrier","trackingNumber","status","statusDescription","service","deliveredAt","signedBy","destination","events"],"properties":{"carrier":{"type":"string","enum":["maersk","msc","cosco","evergreen","one","yangming","cmacgm","hapaglloyd","hmm","zim","oocl","wanhai","pil","matson","kmtc","crowley"]},"trackingNumber":{"type":"string"},"status":{"type":"string","enum":["label_created","in_transit","out_for_delivery","delivered","exception","returned","unknown"]},"statusDescription":{"type":"string"},"service":{"type":["string","null"]},"deliveredAt":{"type":["string","null"]},"deliveredAtLocal":{"type":["string","null"]},"signedBy":{"type":["string","null"]},"destination":{"type":["object","null"],"properties":{"city":{"type":["string","null"]},"state":{"type":["string","null"]},"country":{"type":["string","null"]}}},"estimatedDelivery":{"type":["string","null"]},"estimatedDeliveryAt":{"type":["string","null"]},"message":{"type":["string","null"],"description":"Latest carrier status note or cross-border handoff tracking information."},"events":{"type":"array","description":"Chronological scan history, newest first.","items":{"type":"object","required":["timestamp","localTime","status","description","location","code"],"properties":{"timestamp":{"type":["string","null"],"description":"UTC timestamp in ISO 8601 format with Z, or null when the carrier gives no time/zone."},"localTime":{"type":["string","null"],"description":"Local timestamp as printed by the carrier (ISO 8601 without timezone)."},"status":{"type":"string","enum":["label_created","in_transit","out_for_delivery","delivered","exception","returned","unknown"]},"description":{"type":"string"},"location":{"type":["string","null"]},"code":{"type":["string","null"],"description":"Carrier-native event code when provided."}}}},"credits":{"type":"object","required":["key","remaining","note"],"properties":{"key":{"type":"string","description":"Credit key (lsk_pack_...) to send via Authorization: Bearer or x-api-key on subsequent requests."},"remaining":{"type":"integer","description":"Remaining prepaid tracking number lookups on this credit key."},"note":{"type":"string"}}}}}}}},"402":{"description":"Payment required (WWW-Authenticate: Payment challenge header included).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"404":{"description":"Carrier has no record of this tracking number.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/v1/track":{"get":{"operationId":"trackPackages","summary":"Track up to 100 packages in one batch","description":"Tracks 1-100 comma-separated tracking numbers in one call (up to 35 per carrier).","parameters":[{"name":"numbers","in":"query","required":true,"description":"Comma-separated tracking numbers (1-100 numbers, at most 35 per carrier).","schema":{"type":"string","minLength":1,"examples":["9400111899223847162534,1Z999AA10123456784"]}},{"name":"carrier","in":"query","required":false,"description":"Optional carrier code override when a tracking number format is shared by multiple carriers. Omit to auto-detect from the tracking number.","schema":{"type":"string","enum":["maersk","msc","cosco","evergreen","one","yangming","cmacgm","hapaglloyd","hmm","zim","oocl","wanhai","pil","matson","kmtc","crowley"]}},{"name":"zipcode","in":"query","required":false,"description":"The recipient's postcode, for the carriers that only show a parcel with it (); without it they answer 400 postcode_required, which is not charged. For a parcel going abroad put the destination's two-letter country code first (BE-2000). Other carriers ignore it. \"postcode\" is accepted as the same parameter.","schema":{"type":"string","examples":["1234AB","BE-2000"]}}],"x-payment-info":{"price":{"mode":"dynamic","currency":"USD","min":"0.02","max":"2.00"},"protocols":[{"mpp":{"method":"tempo","intent":"charge","currency":"USD"}},{"mpp":{"method":"stripe","intent":"charge","currency":"USD"}}],"offers":[{"method":"tempo","intent":"charge","currency":"usd","amount":"20000","description":"2 cents per tracking number in stablecoins"},{"method":"stripe","intent":"charge","currency":"usd","amount":"50","description":"$0.50 by card for 25 tracking numbers"}]},"responses":{"200":{"description":"Batch tracking results.","content":{"application/json":{"schema":{"type":"object","required":["results"],"properties":{"results":{"type":"array","items":{"type":"object","required":["trackingNumber"],"properties":{"trackingNumber":{"type":"string"},"result":{"type":"object","required":["carrier","trackingNumber","status","statusDescription","service","deliveredAt","signedBy","destination","events"],"properties":{"carrier":{"type":"string","enum":["maersk","msc","cosco","evergreen","one","yangming","cmacgm","hapaglloyd","hmm","zim","oocl","wanhai","pil","matson","kmtc","crowley"]},"trackingNumber":{"type":"string"},"status":{"type":"string","enum":["label_created","in_transit","out_for_delivery","delivered","exception","returned","unknown"]},"statusDescription":{"type":"string"},"service":{"type":["string","null"]},"deliveredAt":{"type":["string","null"]},"deliveredAtLocal":{"type":["string","null"]},"signedBy":{"type":["string","null"]},"destination":{"type":["object","null"],"properties":{"city":{"type":["string","null"]},"state":{"type":["string","null"]},"country":{"type":["string","null"]}}},"estimatedDelivery":{"type":["string","null"]},"estimatedDeliveryAt":{"type":["string","null"]},"message":{"type":["string","null"],"description":"Latest carrier status note or cross-border handoff tracking information."},"events":{"type":"array","description":"Chronological scan history, newest first.","items":{"type":"object","required":["timestamp","localTime","status","description","location","code"],"properties":{"timestamp":{"type":["string","null"],"description":"UTC timestamp in ISO 8601 format with Z, or null when the carrier gives no time/zone."},"localTime":{"type":["string","null"],"description":"Local timestamp as printed by the carrier (ISO 8601 without timezone)."},"status":{"type":"string","enum":["label_created","in_transit","out_for_delivery","delivered","exception","returned","unknown"]},"description":{"type":"string"},"location":{"type":["string","null"]},"code":{"type":["string","null"],"description":"Carrier-native event code when provided."}}}},"credits":{"type":"object","required":["key","remaining","note"],"properties":{"key":{"type":"string","description":"Credit key (lsk_pack_...) to send via Authorization: Bearer or x-api-key on subsequent requests."},"remaining":{"type":"integer","description":"Remaining prepaid tracking number lookups on this credit key."},"note":{"type":"string"}}}}},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"credits":{"type":"object","required":["key","remaining","note"],"properties":{"key":{"type":"string","description":"Credit key (lsk_pack_...) to send via Authorization: Bearer or x-api-key on subsequent requests."},"remaining":{"type":"integer","description":"Remaining prepaid tracking number lookups on this credit key."},"note":{"type":"string"}}}}}}}},"402":{"description":"Payment required (WWW-Authenticate: Payment challenge header included).","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/v1/watches":{"post":{"operationId":"watchPackages","summary":"Watch packages and get webhooks when they move","description":"Looks up 1-100 tracking numbers now and returns each watch with its current result, then re-checks them and POSTs to the account's webhook (PUT /v1/webhook) whenever the status, newest scan or estimate changes. Needs an account API key (lsk_live_...); MPP payments and credit keys can't hold watches. Docs: https://docs.containerfeed.com/webhooks","security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"trackingNumber":{"type":"string"},"trackingNumbers":{"type":"array","items":{"type":"string"},"maxItems":100},"carrier":{"type":"string","enum":["maersk","msc","cosco","evergreen","one","yangming","cmacgm","hapaglloyd","hmm","zim","oocl","wanhai","pil","matson","kmtc","crowley"]},"zipcode":{"type":"string","description":"The recipient's postcode, for carriers that need it (see the zipcode parameter of /v1/track). Kept on the watch and sent with every re-check; posting an already-watched number with one sets it on the existing watch."},"metadata":{"type":"object","description":"Any JSON object under 2 KB, echoed in every webhook event."}}}}}},"responses":{"200":{"description":"Already watched; the existing watch.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"trackingNumber":{"type":"string"},"carrier":{"type":["string","null"]},"zipcode":{"type":["string","null"],"description":"The postcode the watch was given (sent with every re-check), or null."},"status":{"type":["string","null"],"enum":["label_created","in_transit","out_for_delivery","delivered","exception","returned","unknown",null]},"active":{"type":"boolean"},"metadata":{"type":["object","null"]},"nextCheckAt":{"type":["string","null"]},"endReason":{"type":["string","null"],"enum":["delivered","returned","not_found","expired","deleted",null]},"result":{"oneOf":[{"type":"object","required":["carrier","trackingNumber","status","statusDescription","service","deliveredAt","signedBy","destination","events"],"properties":{"carrier":{"type":"string","enum":["maersk","msc","cosco","evergreen","one","yangming","cmacgm","hapaglloyd","hmm","zim","oocl","wanhai","pil","matson","kmtc","crowley"]},"trackingNumber":{"type":"string"},"status":{"type":"string","enum":["label_created","in_transit","out_for_delivery","delivered","exception","returned","unknown"]},"statusDescription":{"type":"string"},"service":{"type":["string","null"]},"deliveredAt":{"type":["string","null"]},"deliveredAtLocal":{"type":["string","null"]},"signedBy":{"type":["string","null"]},"destination":{"type":["object","null"],"properties":{"city":{"type":["string","null"]},"state":{"type":["string","null"]},"country":{"type":["string","null"]}}},"estimatedDelivery":{"type":["string","null"]},"estimatedDeliveryAt":{"type":["string","null"]},"message":{"type":["string","null"],"description":"Latest carrier status note or cross-border handoff tracking information."},"events":{"type":"array","description":"Chronological scan history, newest first.","items":{"type":"object","required":["timestamp","localTime","status","description","location","code"],"properties":{"timestamp":{"type":["string","null"],"description":"UTC timestamp in ISO 8601 format with Z, or null when the carrier gives no time/zone."},"localTime":{"type":["string","null"],"description":"Local timestamp as printed by the carrier (ISO 8601 without timezone)."},"status":{"type":"string","enum":["label_created","in_transit","out_for_delivery","delivered","exception","returned","unknown"]},"description":{"type":"string"},"location":{"type":["string","null"]},"code":{"type":["string","null"],"description":"Carrier-native event code when provided."}}}},"credits":{"type":"object","required":["key","remaining","note"],"properties":{"key":{"type":"string","description":"Credit key (lsk_pack_...) to send via Authorization: Bearer or x-api-key on subsequent requests."},"remaining":{"type":"integer","description":"Remaining prepaid tracking number lookups on this credit key."},"note":{"type":"string"}}}}},{"type":"null"}]},"error":{"oneOf":[{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}},{"type":"null"}]}}}}}},"201":{"description":"The watch (or {watches} for trackingNumbers), with its first result.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"trackingNumber":{"type":"string"},"carrier":{"type":["string","null"]},"zipcode":{"type":["string","null"],"description":"The postcode the watch was given (sent with every re-check), or null."},"status":{"type":["string","null"],"enum":["label_created","in_transit","out_for_delivery","delivered","exception","returned","unknown",null]},"active":{"type":"boolean"},"metadata":{"type":["object","null"]},"nextCheckAt":{"type":["string","null"]},"endReason":{"type":["string","null"],"enum":["delivered","returned","not_found","expired","deleted",null]},"result":{"oneOf":[{"type":"object","required":["carrier","trackingNumber","status","statusDescription","service","deliveredAt","signedBy","destination","events"],"properties":{"carrier":{"type":"string","enum":["maersk","msc","cosco","evergreen","one","yangming","cmacgm","hapaglloyd","hmm","zim","oocl","wanhai","pil","matson","kmtc","crowley"]},"trackingNumber":{"type":"string"},"status":{"type":"string","enum":["label_created","in_transit","out_for_delivery","delivered","exception","returned","unknown"]},"statusDescription":{"type":"string"},"service":{"type":["string","null"]},"deliveredAt":{"type":["string","null"]},"deliveredAtLocal":{"type":["string","null"]},"signedBy":{"type":["string","null"]},"destination":{"type":["object","null"],"properties":{"city":{"type":["string","null"]},"state":{"type":["string","null"]},"country":{"type":["string","null"]}}},"estimatedDelivery":{"type":["string","null"]},"estimatedDeliveryAt":{"type":["string","null"]},"message":{"type":["string","null"],"description":"Latest carrier status note or cross-border handoff tracking information."},"events":{"type":"array","description":"Chronological scan history, newest first.","items":{"type":"object","required":["timestamp","localTime","status","description","location","code"],"properties":{"timestamp":{"type":["string","null"],"description":"UTC timestamp in ISO 8601 format with Z, or null when the carrier gives no time/zone."},"localTime":{"type":["string","null"],"description":"Local timestamp as printed by the carrier (ISO 8601 without timezone)."},"status":{"type":"string","enum":["label_created","in_transit","out_for_delivery","delivered","exception","returned","unknown"]},"description":{"type":"string"},"location":{"type":["string","null"]},"code":{"type":["string","null"],"description":"Carrier-native event code when provided."}}}},"credits":{"type":"object","required":["key","remaining","note"],"properties":{"key":{"type":"string","description":"Credit key (lsk_pack_...) to send via Authorization: Bearer or x-api-key on subsequent requests."},"remaining":{"type":"integer","description":"Remaining prepaid tracking number lookups on this credit key."},"note":{"type":"string"}}}}},{"type":"null"}]},"error":{"oneOf":[{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}},{"type":"null"}]}}}}}},"401":{"description":"Needs an account API key.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"429":{"description":"rate_limited: a Free account's monthly limit, or its 1 new watch a week (Pro, Growth and Scale watch with no weekly limit). Carries upgrade_url, and Retry-After for when the next watch can start.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}},"get":{"operationId":"listWatches","summary":"List watched packages","security":[{"bearerAuth":[]}],"parameters":[{"name":"active","in":"query","required":false,"schema":{"type":"boolean","default":true}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Watches, newest first.","content":{"application/json":{"schema":{"type":"object","properties":{"watches":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"trackingNumber":{"type":"string"},"carrier":{"type":["string","null"]},"zipcode":{"type":["string","null"],"description":"The postcode the watch was given (sent with every re-check), or null."},"status":{"type":["string","null"],"enum":["label_created","in_transit","out_for_delivery","delivered","exception","returned","unknown",null]},"active":{"type":"boolean"},"metadata":{"type":["object","null"]},"nextCheckAt":{"type":["string","null"]},"endReason":{"type":["string","null"],"enum":["delivered","returned","not_found","expired","deleted",null]},"result":{"oneOf":[{"type":"object","required":["carrier","trackingNumber","status","statusDescription","service","deliveredAt","signedBy","destination","events"],"properties":{"carrier":{"type":"string","enum":["maersk","msc","cosco","evergreen","one","yangming","cmacgm","hapaglloyd","hmm","zim","oocl","wanhai","pil","matson","kmtc","crowley"]},"trackingNumber":{"type":"string"},"status":{"type":"string","enum":["label_created","in_transit","out_for_delivery","delivered","exception","returned","unknown"]},"statusDescription":{"type":"string"},"service":{"type":["string","null"]},"deliveredAt":{"type":["string","null"]},"deliveredAtLocal":{"type":["string","null"]},"signedBy":{"type":["string","null"]},"destination":{"type":["object","null"],"properties":{"city":{"type":["string","null"]},"state":{"type":["string","null"]},"country":{"type":["string","null"]}}},"estimatedDelivery":{"type":["string","null"]},"estimatedDeliveryAt":{"type":["string","null"]},"message":{"type":["string","null"],"description":"Latest carrier status note or cross-border handoff tracking information."},"events":{"type":"array","description":"Chronological scan history, newest first.","items":{"type":"object","required":["timestamp","localTime","status","description","location","code"],"properties":{"timestamp":{"type":["string","null"],"description":"UTC timestamp in ISO 8601 format with Z, or null when the carrier gives no time/zone."},"localTime":{"type":["string","null"],"description":"Local timestamp as printed by the carrier (ISO 8601 without timezone)."},"status":{"type":"string","enum":["label_created","in_transit","out_for_delivery","delivered","exception","returned","unknown"]},"description":{"type":"string"},"location":{"type":["string","null"]},"code":{"type":["string","null"],"description":"Carrier-native event code when provided."}}}},"credits":{"type":"object","required":["key","remaining","note"],"properties":{"key":{"type":"string","description":"Credit key (lsk_pack_...) to send via Authorization: Bearer or x-api-key on subsequent requests."},"remaining":{"type":"integer","description":"Remaining prepaid tracking number lookups on this credit key."},"note":{"type":"string"}}}}},{"type":"null"}]},"error":{"oneOf":[{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}},{"type":"null"}]}}}},"nextCursor":{"type":["string","null"]}}}}}}}}},"/v1/watches/{id}":{"get":{"operationId":"getWatch","summary":"Get a watched package with its latest result","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The watch.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"trackingNumber":{"type":"string"},"carrier":{"type":["string","null"]},"zipcode":{"type":["string","null"],"description":"The postcode the watch was given (sent with every re-check), or null."},"status":{"type":["string","null"],"enum":["label_created","in_transit","out_for_delivery","delivered","exception","returned","unknown",null]},"active":{"type":"boolean"},"metadata":{"type":["object","null"]},"nextCheckAt":{"type":["string","null"]},"endReason":{"type":["string","null"],"enum":["delivered","returned","not_found","expired","deleted",null]},"result":{"oneOf":[{"type":"object","required":["carrier","trackingNumber","status","statusDescription","service","deliveredAt","signedBy","destination","events"],"properties":{"carrier":{"type":"string","enum":["maersk","msc","cosco","evergreen","one","yangming","cmacgm","hapaglloyd","hmm","zim","oocl","wanhai","pil","matson","kmtc","crowley"]},"trackingNumber":{"type":"string"},"status":{"type":"string","enum":["label_created","in_transit","out_for_delivery","delivered","exception","returned","unknown"]},"statusDescription":{"type":"string"},"service":{"type":["string","null"]},"deliveredAt":{"type":["string","null"]},"deliveredAtLocal":{"type":["string","null"]},"signedBy":{"type":["string","null"]},"destination":{"type":["object","null"],"properties":{"city":{"type":["string","null"]},"state":{"type":["string","null"]},"country":{"type":["string","null"]}}},"estimatedDelivery":{"type":["string","null"]},"estimatedDeliveryAt":{"type":["string","null"]},"message":{"type":["string","null"],"description":"Latest carrier status note or cross-border handoff tracking information."},"events":{"type":"array","description":"Chronological scan history, newest first.","items":{"type":"object","required":["timestamp","localTime","status","description","location","code"],"properties":{"timestamp":{"type":["string","null"],"description":"UTC timestamp in ISO 8601 format with Z, or null when the carrier gives no time/zone."},"localTime":{"type":["string","null"],"description":"Local timestamp as printed by the carrier (ISO 8601 without timezone)."},"status":{"type":"string","enum":["label_created","in_transit","out_for_delivery","delivered","exception","returned","unknown"]},"description":{"type":"string"},"location":{"type":["string","null"]},"code":{"type":["string","null"],"description":"Carrier-native event code when provided."}}}},"credits":{"type":"object","required":["key","remaining","note"],"properties":{"key":{"type":"string","description":"Credit key (lsk_pack_...) to send via Authorization: Bearer or x-api-key on subsequent requests."},"remaining":{"type":"integer","description":"Remaining prepaid tracking number lookups on this credit key."},"note":{"type":"string"}}}}},{"type":"null"}]},"error":{"oneOf":[{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}},{"type":"null"}]}}}}}},"404":{"description":"No such watch.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}},"delete":{"operationId":"stopWatch","summary":"Stop watching a package","security":[{"bearerAuth":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Stopped."},"404":{"description":"No active watch with that id.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/v1/carriers":{"get":{"operationId":"listCarriers","summary":"List supported carrier codes","description":"Returns all supported carrier identifiers accepted by the optional ?carrier= query parameter. Free endpoint (no API key or payment required).","security":[],"responses":{"200":{"description":"Supported carrier codes.","content":{"application/json":{"schema":{"type":"object","required":["carriers"],"properties":{"carriers":{"type":"array","items":{"type":"string","enum":["maersk","msc","cosco","evergreen","one","yangming","cmacgm","hapaglloyd","hmm","zim","oocl","wanhai","pil","matson","kmtc","crowley"]}}}}}}}}}}}}