Container Number OCR API Pricing and Cost per Scan
What container number OCR costs with StructOCR: 1 credit per successful scan, prepaid credits that never expire, and no charge for failed requests.
What Drives OCR Cost
OCR pricing differs by whether failed requests are billed, whether credits expire, minimum monthly commitments, and the price per document type. Those terms matter more than the headline rate.
How StructOCR Prices It
Each successful container number request costs 1 credit. Credits are prepaid from $5, never expire, and are only deducted for successful (200 OK) responses. See the full pricing page and start with 200 free credits.
Where This Fits
- Pilot: 200 free credits cover a realistic test on your own images before you pay anything.
- Steady volume: Larger packages lower the cost per credit, and unused credits carry over indefinitely.
- Enterprise: Contact sales for custom volume pricing and support terms.
Track Cost in Your Code
Each successful response consumes a fixed number of credits, so cost per document is predictable.
Prerequisite: Python 3.9+, `pip install requests`, and a STRUCTOCR_API_KEY
import base64
import os
import requests
with open("container.jpg", "rb") as image_file:
image = base64.b64encode(image_file.read()).decode("ascii")
response = requests.post(
"https://api.structocr.com/v1/container",
headers={"x-api-key": os.environ["STRUCTOCR_API_KEY"]},
json={"img": image},
timeout=30,
)
response.raise_for_status()
data = response.json()["data"]
print("container_number:", data.get("container_number"))
print("is_valid:", data.get("is_valid"))
print("confidence:", data.get("confidence"))Technical Specs
- •Endpoint: POST https://api.structocr.com/v1/container
- •Authentication: x-api-key request header
- •Inputs: JPG, PNG, or WebP as Base64 JSON; maximum 4.5MB
- •Price: 1 credit per successful request; failed requests are not billed
- •Free trial: 200 free credits on sign-up, no credit card required
- •Mini ($5): about $0.0100 per container number
- •Starter ($15): about $0.0083 per container number
- •Business ($29): about $0.0073 per container number
- •Pro ($99): about $0.0058 per container number
Key Features
- •No subscription: Buy credit packages when you need them.
- •No expiry: Purchased credits are yours until used.
- •Failures are free: Errors, timeouts, and unreadable images are not billed.
- •Crypto bonus: Paying with USDT or USDC adds a 10% credit bonus.
Billable Response
Only a successful response like this consumes credits. Field values are illustrative.
{
"success": true,
"data": {
"container_number": "…",
"is_valid": "…",
"confidence": "…"
}
}Frequently Asked Questions
How much does one container number scan cost?
1 credit, which is roughly $0.0058 on the $99 package and $0.01 on the $5 package.
Am I charged when OCR fails?
No. Only successful extractions are billed.
Do credits expire?
No. Purchased credits never expire.
You May Also Like
Related tutorials, platform guides, and comparisons
Node.js Shipping Container OCR API
Tutorial: How to use the StructOCR Node.js SDK to extract data from Shipping Containers. Upload an image for a free test! Includes code samples and JSON schema.
Python Shipping Container OCR API
Tutorial: Learn how to use the StructOCR Python SDK for shipping container OCR. Upload an image for a free test! Extract ISO 6346 container numbers and check them against the ISO check digit. Includes code samples and JSON schemas.
C# Shipping Container OCR API
Upload an image for a free test! Tutorial: Learn how to use the StructOCR C# Client to extract data from Shipping Containers. Extract ISO 6346 container numbers and check them against the ISO check digit. Includes code samples and JSON schemas.
PHP Shipping Container OCR API
Tutorial: Learn how to use the StructOCR PHP Client via cURL for shipping container OCR. Upload an image for a free test! Extract ISO 6346 container numbers and check them against the ISO check digit. Includes code samples and JSON schemas.
Java Shipping Container OCR API
Upload an image for a free test! Tutorial: Learn how to use the StructOCR Java Client to extract data from Shipping Containers. Extract ISO 6346 container numbers and check them against the ISO check digit.
Go Weighbridge Ticket OCR API Tutorial
Build a Go weighbridge ticket OCR client. Send Base64 images and parse vehicle, material, gross, tare, net, and weight validation results.
Go National ID OCR API
Upload an image for a free test! High-accuracy National ID data extraction for Go developers. Get structured JSON output via a simple API call, replacing unreliable open-source tools.
Java National ID Parser API
Upload an image for a free test! Eliminate manual data entry for national IDs. Our Java ID card parsing API provides AES-256 encrypted JSON output in <4s average latency, ensuring SOC2 compliant verification.
Go Receipt OCR API
Upload an image for a free test! Tutorial: Build scalable expense reporting apps in Go. Learn how to extract merchants, line items, and totals from POS receipts using our Golang OCR integration.
Why Cropped Driver License PDF417 Barcodes Fail
Prevent cropped PDF417 failures by preserving barcode quiet zones, complete stacked rows, image orientation, and enough surrounding card context.
Technical Comparisons & Integrations
Explore platform integrations and competitive analysis
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.
Add Container OCR to Your Replit App in 5 Minutes
Step-by-step guide to integrating the StructOCR shipping container API into a Replit application. Build logistics and yard management tools using Replit Agent and Secrets.
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.