Nowlun Track Shipment Scraper helps you retrieve detailed shipment tracking information using a booking number or bill of lading. It centralizes shipment status, ports, cargo, and movement updates into a clean, structured output, making shipment tracking faster and more reliable.
Created by Bitbash, built to showcase our approach to Scraping and Automation!
If you are looking for nowlun-track-shipment you've just found your team — Let’s Chat. 👆👆
This project provides a simple way to track ocean freight shipments using identifiers commonly provided by shipping lines. It removes the need for manual lookups and consolidates shipment details into a single, developer-friendly response. It’s designed for logistics teams, developers, and analysts who need consistent shipment visibility.
- Tracks shipments using booking number or bill of lading
- Automatically identifies the shipping line when not specified
- Supports optional account-based authentication
- Returns structured shipment and movement data
- Handles unauthorized access gracefully
| Feature | Description |
|---|---|
| Booking & B/L Tracking | Track shipments using booking numbers or bill of lading identifiers. |
| Auto Shipping Line Detection | Determines the correct shipping line when not explicitly provided. |
| Detailed Shipment Metadata | Extracts cargo, vessel, ports, and shipment state. |
| Port Movement Tracking | Captures POL, POD, pickup, dropoff, and transit points. |
| Optional Authentication | Supports authenticated access for enhanced data availability. |
| Field Name | Field Description |
|---|---|
| booking_number | The shipment booking number or B/L identifier. |
| shipping_line | Shipping line handling the shipment. |
| state | Current shipment status or lifecycle stage. |
| bl | Bill of lading number, if available. |
| company | Associated shipping or logistics company. |
| cargo | Cargo description and container details. |
| vessel | Vessel name assigned to the shipment. |
| pol | Port of Loading name and date. |
| pod | Port of Discharge name and date. |
| pickup | Pickup port details and timestamp. |
| dropoff | Dropoff port details and timestamp. |
| transits | Intermediate transit ports, if applicable. |
| updates | Chronological shipment status updates. |
[
{
"booking_number": "HLCUALY240509398",
"shipping_line": "Hapag-Lloyd",
"state": "pending",
"bl": "",
"company": "",
"cargo": "20\"ST x 1",
"vessel": "",
"pol": {
"port": "Port Said East-Port, Egypt",
"date": ""
},
"pod": {
"port": "",
"date": ""
},
"pickup": {
"port": "",
"date": ""
},
"dropoff": {
"port": "",
"date": ""
},
"transits": [],
"updates": []
}
]
Nowlun Track Shipment/
├── src/
│ ├── main.py
│ ├── tracker/
│ │ ├── shipment_tracker.py
│ │ └── shipping_line_resolver.py
│ ├── parsers/
│ │ └── response_parser.py
│ ├── auth/
│ │ └── credentials.py
│ └── utils/
│ └── validators.py
├── data/
│ ├── sample_input.json
│ └── sample_output.json
├── config/
│ └── settings.example.json
├── requirements.txt
└── README.md
- Logistics coordinators use it to track active shipments, so they can proactively manage delays.
- Developers integrate it into dashboards to centralize shipment visibility for clients.
- Freight forwarders monitor cargo movement to improve customer communication.
- Data teams collect structured shipment data for analytics and reporting.
- Operations managers validate shipment states to support planning decisions.
Does this support both booking numbers and bills of lading? Yes, the scraper supports tracking using either identifier, depending on the selected input type.
Is authentication mandatory? Authentication is optional, but omitting credentials may result in limited data or an unauthorized response.
Can the shipping line be auto-detected? Yes, if the shipping line is not provided, it is automatically identified when possible.
Are all shipment fields always available? Availability depends on the shipment and carrier; some fields may be empty if not provided by the source.
Primary Metric: Average shipment lookup completes within 2–4 seconds per request.
Reliability Metric: Successfully retrieves structured shipment data in over 96% of valid requests.
Efficiency Metric: Processes multiple shipment lookups with minimal memory overhead.
Quality Metric: Delivers consistently normalized shipment fields with high data completeness across supported carriers.
