Container OCR for Yards, Depots & ICDs in Southeast Asia

Turn phone and camera photos of containers into validated container numbers for your yard, depot or inland container depot system. Pay per scan, no subscription.

200 free credits = 200 Container scans, no credit card. Then from $5 for 500 credits, pay as you go. See pricing

Photo of stacked containers with the container number read into JSON.

High Volume, Every Working Day

Container depots, ICDs and yards across Southeast Asia (from Laem Chabang and Lat Krabang to Singapore, Port Klang, Cat Lai and Tanjung Priok) log containers in and out all day. Surveyors and checkers photograph each box for gate-in, gate-out, damage surveys and stock checks, and the container number still gets typed from the photo, often hundreds of times a day.

Photos In, Validated Numbers Out

Send each photo to the StructOCR Container OCR API and get the 11-character container number with an ISO 6346 check-digit result. Full-resolution phone or camera photos work as they are; there is no need to crop. Integrate it into your depot or yard system from Python, Java or any other language, and test photos first in the free container number scanner.

Live Demo: Container OCR

No registration required. Upload a file to test the extraction.

1
Upload
2
Results
↑

Drop files here or click to browse

JPG · PNG · PDF · TIFF  ·  up to 500 files · max 4.5 MB each

No document handy?

No files selected
Need more testing? Create a free account to get 200 free credits (equals 200 Container scans).

Where Teams Use It

Depot Gate-In and Gate-Out

Capture the container number from the surveyor's photo and attach it to the EIR or gate record.

Damage and Condition Surveys

Tag every survey photo with the right container number automatically, so reports never mix up boxes.

Yard Stock Checks

Photograph rows of containers during inventory and reconcile the numbers against the yard system.

ICD and Rail Transfers

Log containers moving between inland depots and ports without retyping numbers.

Technical Specs

  • Endpoint: POST https://api.structocr.com/v1/container
  • Input: JPG, PNG, WebP or PDF up to 4.5 MB, as Base64 JSON or multipart upload; full photos or cropped number regions
  • Price: 1 credit per successful scan. New accounts get 200 free credits; packs run from $5 for 500 credits to $99 for 17,000 credits, with no subscription
  • Retention: Images and results are kept for at most 24 hours for quality spot-checks, then deleted

Key Features

  • Full photos: large phone and camera images up to 4.5 MB, no cropping needed.
  • Check-digit validation: is_valid flags numbers that fail the ISO 6346 check so a checker can look again.
  • Predictable cost: 1 credit per processed image; requests that return an error are not charged.

Integration & AI Prompts

Batch your photos through one endpoint. Full request and response details are in the container API reference.

import base64, os, pathlib, requests

API = "https://api.structocr.com/v1/container"
headers = {"x-api-key": os.environ["STRUCTOCR_API_KEY"]}

for photo in sorted(pathlib.Path("gate_in_photos").glob("*.jpg")):
    img = base64.b64encode(photo.read_bytes()).decode()
    data = requests.post(API, headers=headers, json={"img": img}, timeout=30).json().get("data", {})
    print(photo.name, data.get("container_number"), "valid" if data.get("is_valid") else "check")

Standardized JSON Output

An illustrative response.

{
  "success": true,
  "data": {
    "container_number": "SOCU7345122",
    "is_valid": true,
    "confidence": "High",
    "parsed": {
      "owner_code": "SOC",
      "category": "U",
      "serial_number": "734512",
      "check_digit": "2"
    }
  }
}

Frequently Asked Questions

What does the API return?

The 11-character container number, whether its ISO 6346 check digit is valid (is_valid), a confidence level, and the number split into owner code, category, serial number and check digit.

Does it return the size and type code (for example 22G1 or 45G1)?

No. The response covers the container number and its validation. Read size and type codes separately if your process needs them.

Can I test it for free?

Yes. Use the live demo on this page without an account, or sign up for 200 free credits, enough for 200 container scans through the API.

Which countries does this cover?

Container numbers follow the same ISO 6346 format everywhere, so the API works for depots in Thailand, Singapore, Malaysia, Vietnam, Indonesia, the Philippines and beyond.

How does pricing work for daily volume?

You buy credits once and use them as you go: 1 credit per successful scan, from $5 for 500 credits up to $99 for 17,000 credits. There is no subscription.

Explore More Container Solutions

SOLUTION

Intermodal Rail OCR API North America

Automate high-speed intermodal rail scanning across North America. Extract container numbers from moving trains natively. Upload your image for a free test.

Container
SOLUTION

ISO 6346 OCR API

Parse and validate ISO 6346 container codes with our high-accuracy OCR API. Upload images to test extraction and automatic check-digit calculation for free.

Container
SOLUTION

Shipping Container Number Scanner API

Looking for a shipping container number scanner? Turn any mobile device or CCTV camera into an industrial container scanner via our REST API. Upload an image for a free test.

Container
SOLUTION

BIC Code OCR API

Extract BIC Owner Codes from shipping containers instantly. Upload your images to test our high-accuracy BIC Code OCR API for free and automate equipment tracking.

Container
SOLUTION

How to Build a Container Recognition Scanner

Step-by-step developer guide on how to build a custom container recognition scanner using a lightweight API. Test your image payloads for free today.

Container
SOLUTION

Container Check Digit Calculator API

Automate container check digit calculation with our high-accuracy OCR API. Upload images to test ISO 6346 validation for free and prevent manual data entry errors.

Container
SOLUTION

Container Code Reader Software Integration

Integrate industrial container code reader software into your TOS or WMS via a lightweight REST API. Upload your images for a free accuracy test today.

Container
SOLUTION

Container Code Recognition API for Gate & Crane Cameras

Send cropped container-number images or full frames from gate, crane and rail cameras and get the ISO 6346 container number with check-digit validation as JSON. Java and Python examples, 200 free scans.

Container
SOLUTION

Container OCR API Canada

High-accuracy ISO 6346 container number extraction built for extreme Canadian weather. Overcome snow, ice, and glare. Upload an image for a free test today.

Container
SOLUTION

Container OCR API for Crane Tally

Automate crane tally operations with our Container OCR API. Upload STS or RTG crane camera captures to test our ISO 6346 extraction for free. Handles 180-degree rotations effortlessly.

Container

Technical Comparisons & Integrations

Explore platform integrations and competitive analysis

From tutorial to production in 5 minutes.

You've seen the code. Now get your API key, grab your 200 free credits, and see it work with your own images. No credit card required.

Instant Access Cancel Anytime No Credit Card