Skip to main content gottem  — one API for every scraper.
Logistics & Shipping
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
Quick start

Extract data in minutes.

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
Fetch API

One endpoint for marinetraffic.com.

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

POST /fetch/marinetraffic.com/
Vessel nameIMO numberPositionSpeedDestinationETA
cURL
curl -X POST https://api.spider.cloud/fetch/marinetraffic.com/ \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"return_format": "json"}'
Python
import requests

resp = requests.post(
    "https://api.spider.cloud/fetch/marinetraffic.com/",
    headers={
        "Authorization": "Bearer YOUR_API_KEY",
        "Content-Type": "application/json",
    },
    json={"return_format": "json"},
)
print(resp.json())
Node.js
const resp = await fetch("https://api.spider.cloud/fetch/marinetraffic.com/", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ return_format: "json" }),
});
const data = await resp.json();
console.log(data);
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.