Container Number Extractor & Validator (ISO 6346) avatar

Container Number Extractor & Validator (ISO 6346)

Pricing

from $1.00 / 1,000 container results

Go to Apify Store
Container Number Extractor & Validator (ISO 6346)

Container Number Extractor & Validator (ISO 6346)

Extract every shipping container number from emails, spreadsheets or text. Validates the ISO 6346 check digit, removes duplicates and adds the carrier or lessor. No scraping, instant.

Pricing

from $1.00 / 1,000 container results

Rating

0.0

(0)

Developer

Ryan Lems

Ryan Lems

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 days ago

Last modified

Categories

Share

Turn messy emails, booking confirmations, packing lists and spreadsheets into a clean, deduplicated list of valid shipping container numbers — in one run, in seconds.

What it does

  • Finds every container number in free text, CSV cells or a plain list — also when written as MSKU 123456-5, msku1234565 or MSKU-123-456-5.
  • Validates the ISO 6346 check digit and tells you the correct digit when a number has a typo.
  • Deduplicates and counts how often each container appears and in which source line.
  • Identifies the owner: carrier (Maersk, MSC, CMA CGM, Hapag-Lloyd, ONE, COSCO, Evergreen, …) or leasing company (Textainer, Triton, CAI, …) — best-effort hint from the owner code.
  • Decodes ISO size/type codes such as 22G1, 45G1, 45R1.

No websites are scraped and no third-party data is fetched: results are instant, private and stable.

Who uses it

Freight forwarders, customs brokers, shippers and logistics developers who want to:

  • clean container lists before sending them to a tracking tool or TMS;
  • catch typos before they cause failed bookings or customs declarations;
  • automate inbox processing with Make, Zapier, n8n or the Apify API.

Input

FieldExample
textPlease load CSQU 305438-3 and MSKU1234565.
containerNumbers["CSQU3054383", "HLCU1234560"]
csvTextref,container\nA1,HLCU1234560
includeInvalidtrue
sizeTypeCodes["45G1"]

Output (one row per unique container)

{
"container_number": "CSQU3054384",
"formatted": "CSQU 305438-4",
"is_valid": false,
"expected_check_digit": 3,
"owner_code": "CSQU",
"category": "freight container",
"carrier_hint": null,
"owner_type": null,
"occurrences": 1,
"raw_matches": ["CSQU3054384"],
"source_ids": ["list:1"]
}

A SUMMARY record in the key-value store gives totals and the decoded size/type codes. Export as JSON, CSV or Excel.

Pricing

Pay per result: you only pay for unique containers returned. Text without container numbers costs nothing beyond the run start.

Limitations

  • The carrier/lessor hint covers the largest owners only. The official owner-code registry is maintained by BIC; unknown codes return null.
  • A valid check digit proves the number is well-formed, not that the container exists or is in service.

Feedback

Missing an owner code or a format? Open an issue on the Actor page.