ISO 6346 — Container Code

GET/v0/iso6346

Validates an ISO 6346 freight container code — the 11-character identifier printed on intermodal shipping containers worldwide. The code consists of a 3-letter owner code, a 1-letter category code (U = freight, J = detachable equipment, Z = trailer/chassis, R = reefer), a 6-digit serial number, and a check digit computed using the ISO 6346 modulus-11 algorithm. Spaces and hyphens in the input are stripped automatically.

Try it

Query Parameters

ParameterTypeRequiredDescription
valuestringYesThe 11-character container code (e.g. CSQU3054383)

Example Request

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://api.isvalid.dev/v0/iso6346?value=CSQU3054383"

Response Fields

FieldTypeDescription
validbooleanWhether the container code passed format and check digit validation
ownerCodestring3-letter owner code registered with the BIC (Bureau International des Containers)
categoryCodestringSingle letter: U (freight), J (detachable equipment), Z (trailer/chassis), R (reefer)
categoryNamestringHuman-readable category name
serialNumberstring6-digit serial number assigned by the owner
checkDigitstringThe check digit (mod-11 of weighted sum, reduced mod-10)

Example Response

{
  "valid": true,
  "ownerCode": "CSQ",
  "categoryCode": "U",
  "categoryName": "Freight container",
  "serialNumber": "305438",
  "checkDigit": "3"
}

Example Response — invalid

{
  "valid": false
}