Crawl: the most reliable web crawler APISee what’s new
Zenrows
Talk to sales Start free

Logistics data scraping

Logistics data is the schedule, pricing and status data carriers, ports and freight platforms publish on their websites: vessel schedules, freight rates, surcharges and terminal updates. Zenrows fetches those protected carrier and port pages, runs schedule search forms when needed, and returns structured JSON your forwarding or visibility platform can load.

Updated

Sample output: one sailing on a lane
{
  "source": "carrier_schedule",
  "carrier": "Example Line",
  "origin": { "port": "Shanghai", "unlocode": "CNSHA" },
  "destination": { "port": "Rotterdam", "unlocode": "NLRTM" },
  "service": "AE7",
  "vessel": "EXAMPLE EXPRESS",
  "voyage": "442W",
  "etd": "2026-10-27T18:00:00+08:00",
  "eta": "2026-11-29T06:00:00+01:00",
  "transit_days": 33,
  "transshipments": [],
  "cutoffs": {
    "documentation": "2026-10-23T12:00:00+08:00",
    "cargo": "2026-10-25T17:00:00+08:00"
  },
  "fetched_at": "2026-10-17T07:00:00Z"
}
Illustrative, from a point-to-point schedule search. Your pipeline maps ports to UN/LOCODE so carriers' lanes line up.

What logistics teams collect from the web

Forwarders, freight marketplaces and visibility platforms need the same facts from dozens of carriers: when it sails, what it costs, what is happening at the terminal.

Most carriers publish these on their site before, or instead of, an API.

JobData you collectTypical sources
Ocean schedule tracking Vessel, voyage, service, ETD, ETA, transit, cutoffs per lane Maersk, MSC, CMA CGM, COSCO, Hapag-Lloyd, HMM, Yang Ming, Evergreen (ShipmentLink)
Port and terminal status Berthing plans, gate hours, container availability, advisories APM Terminals and port authority vessel-call pages
Air cargo schedules and status Flights, air waybill status, embargo and capacity notices AF-KLM Cargo, Lufthansa Cargo, Turkish Cargo, Etihad Cargo
Freight rate and surcharge benchmarking Spot rates, GRI notices, bunker and peak season surcharges Carrier tariff and advisory pages, freight marketplaces
Parcel service and pricing Service levels, rate tables, fuel and delivery area surcharges USPS, UPS, FedEx, DHL
Warehouse and industrial space Location, size, asking rent, dock doors, availability Crexi, broker listings

Why carrier websites are hard to scrape

Forwarders and platforms query carrier and terminal sites constantly, so carriers protect them.

And the data is rarely in the HTML.

What it looks like

Cloudflare, Akamai or fingerprint checks return 403s and challenges

How Zenrows handles it

Zenrows' stealth gets through Cloudflare and Akamai, rendering when needed

How to collect logistics data with Zenrows

  1. List your lanes and sources: the origin-destination pairs you quote and the carriers, terminals and cargo airlines serving them.
  2. Find where the data lives: in the HTML or a background JSON call.
  3. Fetch one lane per request, with page actions for forms and XHR capture for internal APIs, both in a full browser render.
  4. Refresh the whole lane list in Batch, daily for terminals and weekly for sailings, storing each run timestamped.
# pip install requests
import json
import requests

params = {
    "apikey": "YOUR_ZENROWS_API_KEY",
    "url": "SCHEDULE_SEARCH_URL",  # a carrier's point-to-point schedule page
    "js_render": "true",
    "premium_proxy": "true",
    "json_response": "true",  # include the background API calls in the result
    "js_instructions": json.dumps([
        {"fill": ["#origin", "Shanghai"]},
        {"fill": ["#destination", "Rotterdam"]},
        {"click": "button[type=submit]"},
        {"wait_for": ".schedule-results"},
    ]),
}
response = requests.get("https://api.zenrows.com/v1/", params=params)
print(response.json())  # selectors are illustrative; match them to the carrier

What success looks like

MeasureWhat good looks likeHow to check it
Lane coverage Current sailings for every lane from every carrier serving it Lanes with zero sailings, per carrier
Schedule freshness Sailings match the latest published schedule Record age against your refresh interval
ETA change capture Delays and blank sailings in the next run Diff ETD and ETA per voyage between runs
Port code match rate Every port maps to a UN/LOCODE Share of records with both ports resolved
Failed lanes per run Errors and empties a small, stable share Failed and empty results per Batch job and carrier

Logistics data FAQ

  • How goods move and what it costs: carrier schedules, transit times, rates and surcharges, port and terminal status, air cargo schedules, parcel service levels. Much is on carrier and port websites, so web data covers carriers with no API or EDI feed.

  • Yes. Large carrier sites often sit behind Cloudflare or Akamai, and Zenrows' stealth gets through. Adaptive Stealth Mode escalates to rendering and stealth only when needed; add page actions in a full browser render when results need a search.

  • Use the carrier's point-to-point search: fill origin, destination and date with page actions, wait for results, read the sailings. If results come from the carrier's API, capture the XHR calls and read that JSON, easier to parse than the table.

  • Yes, for published rates: public spot quotes, tariff tables, and notices for general rate increases, bunker and peak season surcharges. Crawl the advisory section as Markdown for every notice. Contract rates in your carrier account need a logged-in Browser session.

  • Tracking containers and bills of lading is a visibility job with its own volume and timing. See supply chain intelligence, with code for click-through tracking flows.

  • Carriers write one port as "Rotterdam", "NLRTM", "Rotterdam (Maasvlakte)" or a terminal name. Map every spelling to its five-letter UN/LOCODE in a lookup table and resolve each origin and destination before storing. Log unresolved names each run and add them, so the match rate climbs.

  • As often as the source changes: ocean schedules roll weekly, so daily or weekly; terminal and gate notices change intraday, so hourly on a short list; surcharges are announced weeks ahead, so a daily advisory crawl.

Turn the live web into usable data.