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
| Parameter | Type | Required | Description |
|---|---|---|---|
| value | string | Yes | The 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
| Field | Type | Description |
|---|---|---|
| valid | boolean | Whether the container code passed format and check digit validation |
| ownerCode | string | 3-letter owner code registered with the BIC (Bureau International des Containers) |
| categoryCode | string | Single letter: U (freight), J (detachable equipment), Z (trailer/chassis), R (reefer) |
| categoryName | string | Human-readable category name |
| serialNumber | string | 6-digit serial number assigned by the owner |
| checkDigit | string | The 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
}