DocsContainer Code (ISO 6346) OCR API
Container Code (ISO 6346) OCR API
Extract and parse international standard ISO 6346 shipping container identification codes, perform automatic check digit validation, and extract size/type and weight markings.
POST
http://178.105.157.85:3000/api/ocr?type=CONTAINER_ISORequest Example
cURL
curl -X POST \
"http://178.105.157.85:3000/api/ocr?type=CONTAINER_ISO" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: multipart/form-data" \
-F "image=@/path/to/document.jpg"Authentication Header
Authorization: Bearer YOUR_API_KEY
Generate an API key from your Dashboard → API Keys panel. For testing server/sandbox local environments, key verification is bypassed.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
image | File | Yes | Shipping container or door markings photo (JPG, PNG, WebP) |
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | String | Yes | Bearer YOUR_API_KEY (Optional for local sandbox) |
Content-Type | String | Yes | multipart/form-data |
Response Example
JSON
{
"success": true,
"container_codes": [
{
"full_code": "MSKU1234567",
"owner_code": "MSK",
"category_identifier": "U",
"serial_number": "123456",
"check_digit": "7",
"category_description": "Freight Container",
"checksum_valid": true
}
],
"size_type_codes": [
{
"code": "22G1",
"size_code": "22",
"size_description": "20ft (6.1m)",
"type_letter": "G",
"type_description": "General Purpose",
"variant": "1"
}
],
"weights": {
"max_gross_kg": "30480",
"tare_kg": "2180"
},
"raw_texts": ["MSKU 123456 7", "22G1", "MAX.WT 30.480 KG", "TARE 2.180 KG"],
"process_time_ms": 195.40,
"timestamp": "2026-08-27T21:40:00.000Z"
}Rate Limit
Depending on your plan. Check your dashboard for current limits.