Skip to main content
AI Studio  add-on for Spider.
Logistics & Shipping
marinetraffic.com Verified

MarineTraffic Scraper

Extract vessel positions, port arrival schedules, ship specifications, and maritime route data from MarineTraffic. Built on spider-browser .

Get started Docs
target
marinetraffic.com
success rate
99.9%
latency
~4ms
POST /fetch/marinetraffic.com/
return_format
curl -X POST https://api.spider.cloud/fetch/marinetraffic.com/ \
  -H "Authorization: Bearer $SPIDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"return_format": "json"}'
200 OK · cache hit · response shape
{
  "url": "https://marinetraffic.com/",
  "status": 200,
  "data": {
    "vessel_name": "string",
    "imo_number": "string",
    "position": "string",
    "speed": "string",
    "destination": "string",
    "eta": "string",
    "ship_type": "string",
    "flag": "string"
  }
}
Quick start

Extract data in minutes.

Structured JSON from marinetraffic.com with a single POST. AI-resolved selectors, cached on the first call.

marinetraffic-scraper.ts
import { SpiderBrowser } from "spider-browser";

const spider = new SpiderBrowser({
  apiKey: process.env.SPIDER_API_KEY!,
  stealth: 2,
});

await spider.connect();
const page = spider.page!;
await page.goto("https://www.marinetraffic.com/en/ais/details/ports/1/port:NEW-YORK");
await page.content(8000);

const data = await page.extractFields({
  portName: "h1.font-200",
  country: ".details-info .country",
  vessels: ".vessel-name a",
  arrivals: ".arrival-date",
  departures: ".departure-date",
  totalVessels: ".vessels-count",
  coordinates: ".coordinates",
});

console.log(data);
await spider.close();
ready to run · spider-browser · TypeScript
Extraction

Fields you can pull.

Vessel nameIMO numberPositionSpeedDestinationETAShip typeFlag
Data

Tracking extraction

Extract shipment status, delivery estimates, and tracking details from marinetraffic.com.

Rendering

Dynamic tracking

Handle real-time tracking maps and status update interfaces.

Scale

Bulk tracking

Process thousands of tracking numbers and shipment records concurrently.

Related

More Logistics & Shipping scrapers.

Start

Start scraping marinetraffic.com.

Grab an API key and call the endpoint above. The first request resolves the config; every request after hits cache.