ERP Integration: Container OCR API
Feed validated container data directly into your enterprise workflows. Upload your logistics and gate captures to test our extraction accuracy for free, eliminating manual data entry across your supply chain.

The Disconnect in Enterprise Logistics Data
Enterprise Resource Planning (ERP) systems govern modern supply chains, but they suffer from a massive disconnect when it comes to physical freight. When container IDs are manually entered into an ERP by dispatchers or yard clerks, human error inevitably corrupts the database. These typos lead to billing disputes, lost tracking milestones, and severe compliance issues with customs authorities. To see how our engine acts as a flawless automated bridge between the physical yard and your database, you can upload a test image to explore our core Container OCR capabilities completely free.
A REST API Built for Enterprise Ecosystems
Delivered strictly as a high-performance REST API to ensure seamless integration into any commercial ERP (such as SAP, Oracle, or Microsoft Dynamics) without heavy SDK dependencies, this endpoint is powered by our Logistics Container OCR engine. It acts as a universal middleware for your supply chain data. The engine applies strict ISO 6346 validation on the fly, instantly calculating check digits to guarantee that only perfectly accurate Container Codes trigger your enterprise financial and operational workflows.
Live Demo: Container OCR
No registration required. Upload a file to test the extraction.
Drop files here or click to browse
JPG · PNG · WebP · up to 500 files · max 4.5 MB each
ERP Automation Workflows
Freight Forwarding & Dispatch
Instantly link container IDs to specific booking references in the ERP as freight enters the depot. Ready to scale your enterprise operations globally? View flexible pricing to secure maximum API processing limits with cryptocurrency and fiat support.
Automated Billing & Invoicing
Trigger financial workflows accurately. By verifying the exact container number handled, your ERP can automatically generate and issue invoices with zero manual oversight.
Supply Chain Visibility (Control Tower)
Update your logistics control tower in real-time. Feed timestamped container location data directly into your ERP to provide clients with accurate, live tracking portals.
Customs & Compliance Reporting
Ensure your electronic customs declarations match the physical cargo perfectly. Validated OCR data in your ERP prevents fines and cross-border delays caused by typographical errors.
Technical Specs
- Enterprise Scalability: Deployed on Cloudflare's global edge network, ensuring ultra-low latency to handle high-volume batch processing for enterprise logistics.
- Input Versatility: Fully supports raw Base64 strings, direct multipart file uploads, and public image URLs—ideal for integrating with highly secure enterprise intranets.
- Validation: Built-in ISO 6346 checksum verification mathematically guarantees that invalid container codes never corrupt your master ERP database.
- API-First Architecture: Eliminates the maintenance overhead of SDKs, communicating purely over standard HTTP protocols supported by all modern ERP integration buses.
Key Features
- Free Image Testing: Instantly upload logistics images directly from your operations to test extraction accuracy before assigning developer resources to the integration.
- Standardized Output: Returns a unified `container_number` string ready for instant database insertion, while isolating the Owner Code, Category, Serial, and Check Digit in a parsed object.
- Universal Compatibility: Works seamlessly alongside any enterprise software stack, from SAP and Oracle to custom-built logistics backends.
Integration & AI Prompts
Call the endpoint directly via HTTP from your ERP middleware or integration platform (like MuleSoft or SAP PI). To maintain maximum enterprise security, the API flexibly accepts direct multipart file uploads or Base64-encoded strings, avoiding the need to expose images on public URLs.
import requests
import base64
# Prepare Base64 Image from logistics edge device to push to ERP
with open("freight_yard_capture.jpg", "rb") as image_file:
base64_image = base64.b64encode(image_file.read()).decode('utf-8')
url = "https://api.structocr.com/v1/container"
headers = {
"x-api-key": "YOUR_API_KEY",
"Content-Type": "application/json"
}
payload = {
"img": base64_image
}
try:
print("Scanning Container for ERP Sync...")
response = requests.post(url, headers=headers, json=payload)
result = response.json()
if result.get('success'):
data = result['data']
print("✅ Container Code Extracted!")
print(f"Full Number: {data.get('container_number')}")
print(f"Valid ISO: {data.get('is_valid')}")
print(f"Confidence: {data.get('confidence')}")
# Code to trigger ERP webhook goes here
else:
print(f"❌ Extraction Failed: {result.get('error')} - {result.get('message')}")
except Exception as e:
print(f"An error occurred: {e}")Standardized JSON Output
The API returns a cleanly parsed payload providing the full consolidated container number, validating the check digit, and breaking down the ISO 6346 components for your ERP.
{
"success": true,
"data": {
"container_number": "ZCSU8921655",
"is_valid": true,
"confidence": "High",
"parsed": {
"owner_code": "ZCS",
"category": "U",
"serial_number": "892165",
"check_digit": "5"
}
}
}Frequently Asked Questions
Can we test the API with images from our operations before integrating it into our ERP?
Absolutely. You can upload operational images directly on our platform to test how the OCR engine handles your specific real-world conditions completely free of charge.
Will this integrate with SAP, Oracle, or Microsoft Dynamics?
Yes. Because we provide a standard HTTP REST API that returns structured JSON, it acts as a universal data source that can be easily mapped and consumed by any enterprise ERP or integration middleware.
Do we need to expose sensitive logistics images to public URLs?
No. The API natively accepts direct file uploads and Base64-encoded strings, ensuring that your operational images remain securely within your enterprise firewall.
Explore More Container Solutions
TOS Integration: Container OCR API
Integrate high-accuracy Container OCR directly into your Terminal Operating System (TOS). Upload terminal CCTV captures to test our ISO 6346 extraction for free.
Warehouse Management Systems: Container OCR API
Automate your Warehouse Management System (WMS) receiving process. Upload loading dock captures to test our high-accuracy Container OCR API for free.
Yard Management Systems: Container OCR API
Automate your Yard Management System (YMS) with our high-accuracy Container OCR API. Upload yard captures to test our ISO 6346 extraction for free.
Automated Gate Systems: Container OCR API
Automate terminal gates with our high-accuracy Container OCR API. Upload your own CCTV images to test our ISO 6346 extraction for free. Built for moving vehicles.
Container OCR API for Australian Logistics
High-accuracy ISO 6346 container number extraction for Australian ports and intermodal yards. Upload your image for a free test today to see instant results.
Intermodal Rail: Container OCR API
Automate intermodal rail operations with our high-accuracy Container OCR API. Upload rail yard captures to test our ISO 6346 extraction for free. Built for high-speed logistics.
Industrial Container Code Recognition (CCR)
Extract ISO 6346 container numbers from challenging terminal environments. High-accuracy OCR featuring 180-degree rotation invariance and shadow mitigation.
Container OCR API for Malaysian Logistics
Automate Port Klang and local logistics yards with our robust Container OCR API. Upload a challenging container image for a free accuracy test today.
Container OCR API for Netherlands Logistics
Automate Rotterdam and Dutch inland terminals with our high-accuracy ISO 6346 Container OCR API. Upload your image for a free test today to verify accuracy.
Container OCR API for Saudi Arabia Supply Chains
Scale Saudi logistics and Vision 2030 smart ports with our high-throughput Container OCR API. Upload a challenging image for a free accuracy test today.
Technical Comparisons & Integrations
Explore platform integrations and competitive analysis
Add Container OCR to Your v0 App in 5 Minutes
Step-by-step guide to integrating the StructOCR shipping container API into a v0 by Vercel app. Build logistics and yard management tools with zero backend.
Add Container OCR to Your Bolt.new App in 5 Minutes
Step-by-step guide to integrating the StructOCR shipping container API into a Bolt.new app. Build logistics and yard management tools right in your browser.
Add Container OCR using Cursor in 5 Minutes
Step-by-step guide to integrating the StructOCR shipping container API using the Cursor AI code editor. Build logistics and yard management tools rapidly.
Google Cloud Vision vs. StructOCR API for Shipping Containers
Comparing generic enterprise OCR solutions like Google Cloud Vision against StructOCR's purpose-built API for ISO 6346 shipping container recognition.
Add Container OCR to Your Lovable.dev App in 5 Minutes
Step-by-step guide to integrating the StructOCR shipping container API into a Lovable.dev app. Build logistics and yard management tools with zero backend.
Manual TOS Entry vs. Container OCR Automation API
Analyzing the ROI and operational efficiency of replacing manual gate checkers with an automated Container OCR API in logistics yards.
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.