6 Steps to Automate Container Tracking for Ocean Freight in 2026
Key Takeaways
Manual container tracking consumes 10-20 hours per week per dispatcher and introduces costly delay cascades when vessels go off-schedule.
Automated ocean freight tracking pulls live AIS vessel data, carrier APIs, and port authority feeds into a single dashboard — eliminating the need to log into 6-12 separate carrier portals.
Logistics teams using tracking automation report faster exception identification, which directly reduces demurrage and detention charges.
US Tech Automations builds end-to-end container tracking workflows that connect your TMS, carrier APIs, ERP, and customer notification systems without custom engineering.
A well-structured 6-step implementation can go live in under 30 days and pays for itself in the first quarter through avoided detention fees alone.
TL;DR: Ocean freight teams that automate container tracking eliminate an average of 15 manual check-ins per container per voyage. The workflow connects carrier APIs to your TMS, triggers proactive exception alerts, and notifies customers automatically — all without a dispatcher dialing a carrier hotline. The critical decision criterion is whether your current TMS has an open API; if not, middleware like US Tech Automations bridges the gap.
What is container tracking automation? Container tracking automation is the use of software workflows to continuously pull vessel position, ETA, and status data from carrier systems and surface exceptions to dispatchers without manual portal logins. According to the CSCMP 35th Annual State of Logistics Report, US logistics costs represent $2.3T annually (8% of GDP), and a meaningful share of that cost is attributable to demurrage and detention fees driven by poor visibility.
What This Integration Does
Ocean freight tracking spans at least 4 data sources: the carrier's own tracking API (e.g., Maersk, MSC, CMA CGM), the vessel AIS feed, the port authority's berth schedule, and your internal TMS or ERP. Without automation, a dispatcher must log into each portal separately, reconcile conflicting ETAs, update internal records, and then manually notify customers — a process that repeats for every container on every voyage, every day.
Manual check-in time per container: 12-20 minutes according to Logistics Management 2024 industry survey benchmarks for operations teams tracking more than 50 containers per month.
Automated tracking collapses this to a background process. The system polls carrier APIs on a configurable schedule (every 2, 4, or 8 hours depending on voyage phase), compares actual vessel position to the planned ETA, calculates a revised ETA, and flags exceptions — a vessel delay of more than 4 hours, a port congestion event, or a customs hold — as actionable alerts routed to the right person.
Who this is for: Freight forwarders, BCOs (beneficial cargo owners), and 3PLs managing 50+ active ocean containers per month, running a TMS such as FreightPOP, Cargowise, or a similar platform, and currently spending more than 10 dispatcher-hours per week on manual status checks.
US Tech Automations specializes in connecting these disparate carrier data feeds through a unified middleware layer — no custom code required from your IT team, and no dependency on a single carrier's proprietary portal experience.
Prerequisites and Setup
Before you build the automation, you need 3 things in place:
Carrier API credentials — Most major carriers (Maersk, Hapag-Lloyd, MSC, Evergreen) offer tracking APIs. You'll need an API key or OAuth credential for each carrier you work with. Some carriers require a formal onboarding process; allow 5-10 business days.
A TMS or internal database with a record per shipment — The automation needs somewhere to write updated ETAs and exception flags. If you're running spreadsheets today, the first step is migrating to a structured system (even a simple Airtable or database table works as a bridge).
A notification layer — Decide upfront: where should exceptions surface? Options include email, Slack, SMS, or a TMS-native alert. Customer notifications may require a separate channel (email or a customer portal update).
Carrier API Coverage by Line
| Carrier | API Type | Update Frequency | Requires Onboarding |
|---|---|---|---|
| Maersk | REST + EDI | Every 4 hours | Yes (API key request) |
| Hapag-Lloyd | REST | Every 6 hours | Yes |
| CMA CGM | REST | Every 4 hours | Yes |
| MSC | EDI (315 message) | Event-based | Yes + VAN setup |
| Evergreen | REST | Every 8 hours | No (self-service) |
Allow 2-3 weeks to collect all credentials before beginning the integration build.
Step-by-Step Connection Guide
Follow these 6 steps to move from manual portal logins to fully automated container visibility:
Inventory your active carrier relationships. List every carrier whose containers you track. Note which have REST APIs vs. EDI-only vs. portal-scrape. REST APIs are the cleanest integration path; EDI requires a VAN or EDI translator.
Map your shipment data model. Identify the fields your TMS or spreadsheet uses per shipment: container number, B/L number, origin port, destination port, planned ETD, planned ETA, current status. This mapping defines what the automation reads and what it writes back.
Connect carrier APIs through a middleware layer. US Tech Automations acts as the orchestration layer between your TMS and the carrier APIs. Each carrier connector is pre-built; you configure credentials, not code. The middleware normalizes carrier-specific status codes (e.g., Maersk's "GATE_OUT" vs. Hapag-Lloyd's "DEP") into a unified event vocabulary.
Configure polling frequency and exception thresholds. Set polling intervals by voyage phase — every 8 hours when a vessel is mid-ocean, every 2 hours when it's within 48 hours of port arrival. Define exception thresholds: flag any ETA shift greater than 4 hours; escalate to a manager if the shift exceeds 24 hours.
Build the alert and notification workflow. Route internal exception alerts to Slack or your TMS task queue. Route customer-facing notifications to email (include the new ETA, the reason for delay, and a next-step action). Segment customer notifications: a premium customer may warrant a phone call trigger; a standard account gets email only.
Test with a live container before full rollout. Pick 5-10 containers across 2-3 carriers and run the automation in parallel with your existing manual process for one week. Compare detected events, ETAs, and exceptions. Resolve discrepancies before disabling the manual check-in routine.
Trigger → Action Workflow Recipes
Once the base integration runs, you can layer additional workflow recipes on top of the core tracking data:
Recipe 1: Detention-Risk Early Warning
Trigger: Container ETA shifts to within 3 days of free-time expiry at destination port.
Action: Create a task in TMS assigned to the customs broker; send email alert to customer with a request to confirm customs paperwork status.
Recipe 2: Rail/Drayage Pre-Booking
Trigger: Vessel arrival confirmed at port (actual gate-in event).
Action: Auto-generate a drayage pickup request to your carrier partner; populate the pickup order with container number, seal number, weight, and destination.
Recipe 3: Customer ETA Update
Trigger: Any ETA change greater than 4 hours detected.
Action: Send branded email to customer contact with revised ETA and a brief reason code (port congestion, weather, vessel delay).
Workflow Outcome Comparison by Volume
| Monthly Container Volume | Manual Hours/Month | Automated Hours/Month | Time Saved |
|---|---|---|---|
| 50 containers | 50-100 hrs | 5-10 hrs | 40-90 hrs |
| 150 containers | 150-300 hrs | 10-20 hrs | 130-280 hrs |
| 500 containers | 500-1,000 hrs | 20-40 hrs | 460-960 hrs |
| 1,000+ containers | 1,000-2,000 hrs | 30-60 hrs | 970-1,940 hrs |
US Tech Automations pre-builds these recipe triggers as configurable workflow templates — your team adjusts thresholds and routing rules through a no-code interface rather than writing integration code from scratch.
Avg. warehouse fulfillment cost per order: $4.50-$8 according to Logistics Management 2024 industry survey — context for why per-container operational efficiency gains directly affect unit economics.
What happens when your TMS doesn't have an open API? US Tech Automations solves this with a database-layer connector — reading from and writing to your TMS's underlying data store — so you don't have to wait for your TMS vendor to build an integration.
Authentication and Permissions
Carrier API authentication typically uses one of 3 models:
Authentication Models by Carrier Type
| Auth Model | Carriers Using It | Token Lifetime | Refresh Required |
|---|---|---|---|
| API Key (static) | Evergreen, OOCL | Indefinite | No |
| OAuth 2.0 | Maersk, Hapag-Lloyd | 3,600 seconds | Yes (auto-refresh) |
| EDI/VAN | MSC, some COSCO | Session-based | Per-transmission |
For OAuth carriers, the middleware must handle automatic token refresh — US Tech Automations manages this transparently so your workflow doesn't break when a token expires mid-day.
On the internal permissions side, restrict who can modify exception thresholds and notification routing. A dispatcher should be able to acknowledge an alert; only a supervisor should be able to change the 4-hour escalation threshold.
What is the average cost of a single demurrage day? At major US ports, per-container demurrage ranges from $75-$200 per day after free time expires, according to FreightWaves SONAR Trucking Index 2025. A single overlooked exception on a 40-foot container can cost $500-$1,400 before it surfaces manually.
Troubleshooting Common Issues
Issue: Carrier API returns stale ETA despite vessel moving
This happens when the carrier's tracking system lags vessel AIS data by 6-12 hours. Configure the middleware to cross-reference AIS position (via a service like MarineTraffic API) and flag when AIS ETA differs from carrier ETA by more than 8 hours.
Issue: Duplicate exception alerts flooding Slack
Set a deduplication window: once an exception is flagged, suppress re-alerts for the same container for 4 hours unless the situation worsens (ETA moves further out or a new event type occurs).
Issue: Customer email notifications sent for minor schedule shifts
Add a minimum threshold filter — only send customer-facing notifications for ETA changes greater than 24 hours (internal alerts remain at 4-hour threshold).
Issue: Carrier returns "no data" for valid container number
Some carriers require the B/L number rather than the container number as the primary lookup key. Build a lookup fallback: try container number first, then B/L number if no result returns.
How does US Tech Automations handle API downtime from a carrier? The platform queues failed API calls and retries with exponential backoff; if a carrier API is down for more than 30 minutes, the system sends an internal alert to the dispatcher flagging manual verification is needed for that carrier's containers.
Performance and Rate Limits
Carrier API Rate Limits
| Carrier | Rate Limit | Our Recommended Poll Interval | Notes |
|---|---|---|---|
| Maersk | 100 req/min | Every 4 hours per container | Burst allowance for arrival day |
| Hapag-Lloyd | 60 req/min | Every 6 hours per container | Strict — implement backoff |
| Evergreen | 30 req/min | Every 8 hours per container | Lowest limit; prioritize active containers |
| CMA CGM | 120 req/min | Every 4 hours per container | Most permissive |
At 150 containers, polling every 4 hours consumes roughly 900 API calls per day across all carriers — well within limits if distributed across a 24-hour cycle. US Tech Automations schedules polls in off-peak windows to minimize rate-limit exposure.
US logistics industry costs: $2.3T (8% of GDP, 2024) according to the CSCMP 35th Annual State of Logistics Report — the scale of the industry means even small per-container efficiency gains compound significantly at volume.
When to Use USTA vs Native Integration
US Tech Automations vs FreightPOP: Honest Comparison
FreightPOP is a solid TMS for multi-carrier rate shopping and shipper workflow management. It wins on consolidated invoice management and established shipper workflow for teams spending more than $2M annually in freight.
| Capability | FreightPOP | US Tech Automations |
|---|---|---|
| Multi-carrier rate shopping | Native, strong | Not a core feature |
| Container tracking (ocean) | Limited native coverage | Full API coverage + AIS fallback |
| Cross-system workflow (TMS → ERP → CRM) | Limited | Full orchestration |
| Customer notification automation | Basic | Configurable multi-channel |
| Invoice reconciliation | Native, strong | Via integration |
| No-code workflow customization | Limited | Core capability |
| Pricing model | Per-seat or % of freight | Flat workflow pricing |
Where FreightPOP wins: If your primary need is rate shopping across carriers and consolidated invoice management, FreightPOP's native tooling is purpose-built for that use case.
Where US Tech Automations wins: When tracking needs to trigger downstream workflows — drayage pre-booking, customer notifications, ERP updates, customs broker tasks — USTA orchestrates across all those systems from a single workflow layer. FreightPOP doesn't natively run those cross-system triggers.
Is USTA a replacement for a TMS? No. US Tech Automations runs the automation layer above your TMS — reading data out, triggering workflows, writing results back. Your TMS remains the system of record.
FAQs
How many carrier APIs can US Tech Automations connect simultaneously?
US Tech Automations supports connections to all major ocean carriers including Maersk, Hapag-Lloyd, MSC, CMA CGM, Evergreen, ONE, COSCO, and Yang Ming. Carrier connectors are pre-built; connecting a new carrier typically takes 1-3 business days once API credentials are in hand.
What if a carrier doesn't offer an API?
For carriers without APIs, US Tech Automations can connect via EDI (315 status messages) if you have a VAN relationship, or via structured email parsing if the carrier sends automated tracking emails. Portal scraping is available as a last resort but carries maintenance risk when carrier portals change.
How long does implementation take?
Most teams with 2-4 carriers and a TMS with an open API go live in 2-4 weeks. Implementation includes credential collection, data mapping, workflow configuration, and a parallel-run testing period. Larger implementations with 6+ carriers or EDI requirements may take 6-8 weeks.
Can the automation handle both FCL and LCL shipments?
Yes. Full container load (FCL) tracking uses the container number as the primary key. Less-than-container load (LCL) tracking typically uses the house B/L or master B/L number. US Tech Automations supports both lookup modes and can track LCL consolidation status at the NVOCC level.
What happens when a carrier changes their API without notice?
US Tech Automations monitors carrier API schemas and updates connectors when breaking changes occur. For major carriers, schema changes are typically announced 30-90 days in advance. The platform includes automated API health checks that alert the team if a carrier endpoint starts returning errors.
How does automated tracking reduce demurrage charges?
Early warning alerts — triggered when a container's ETA falls within the free-time window — give operations teams the lead time to arrange drayage, expedite customs clearance, or negotiate additional free time with the terminal. Teams that catch exceptions 48-72 hours early consistently report avoiding the majority of avoidable detention fees.
Does the automation work for air freight as well as ocean?
The core carrier API integration pattern applies to air freight (via IATA Cargo-XML or individual airline APIs), but the workflow triggers and thresholds differ significantly — air freight moves in hours, not days. US Tech Automations builds air and ocean workflows separately; contact us to discuss your air freight needs.
Glossary
AIS (Automatic Identification System): A vessel tracking system that broadcasts a ship's position, speed, and heading via VHF radio. AIS data is used as a real-time position fallback when carrier APIs lag.
Demurrage: Fees charged by a terminal or carrier when a container remains at the port beyond the agreed free-time period after discharge. Typically $75-$200 per container per day at major US ports.
Detention: Fees charged when a carrier's container (or chassis) is held at a shipper or consignee's facility beyond the free-time period. Distinct from demurrage, which applies at the terminal.
EDI 315: The Electronic Data Interchange transaction set for ocean carrier status messages. Used by carriers without REST APIs to send event-based tracking updates.
FCL (Full Container Load): A shipment that fills an entire container. Tracked by container number.
Free Time: The number of days a container can remain at a terminal or with a party before demurrage or detention fees begin. Varies by carrier and terminal agreement.
TMS (Transportation Management System): Software used by shippers, 3PLs, and freight forwarders to plan, execute, and optimize freight shipments. Examples include FreightPOP, Cargowise, and MercuryGate.
Start Automating Your Container Tracking
Manual container check-ins are a solved problem — the technology to automate them exists, the carrier APIs are available, and the ROI is measurable in hours saved and detention fees avoided in the first quarter.
US Tech Automations builds and manages the full integration stack: carrier API connections, ETA normalization, exception alerting, and customer notifications — all configured to your carrier mix, volume, and internal systems.
Ready to eliminate manual container check-ins? Schedule a free consultation and we'll audit your current tracking process, identify your highest-cost exception types, and scope a 30-day implementation plan.
Explore related logistics automation resources:
About the Author

Designs dispatch, tracking, and exception-handling automation for 3PLs and freight brokers.