# Vessel Tracker & Watchlist Alerts: ETA, Destination, Departures (`yugenox/vessel-watchlist-monitor`) Actor

Watch a list of ships by IMO or MMSI and get only what changed since the last run: new destination, ETA slips, departures, arrivals, draught up/down (loaded or discharged), renames and reflags, each with the previous value. From VesselFinder, no login.

- **URL**: https://apify.com/yugenox/vessel-watchlist-monitor.md
- **Developed by:** [Yugenox Corp](https://apify.com/yugenox) (community)
- **Categories:** Business, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 vessel checkeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Vessel Tracker & Watchlist Alerts: ETA, Destination, Departures, Draught

Give it a list of ships (IMO or MMSI numbers) and run it on a schedule. Each run re-checks every vessel on VesselFinder and returns **only what changed since the last run**, one row per change, with the previous and the new value:

| Event | What it means |
|---|---|
| `NEW_DESTINATION` | The AIS destination changed (compared by UN/LOCODE when available) |
| `ETA_CHANGED` | The ETA moved by at least your threshold (default 6 h); `etaSlipHours` > 0 = later |
| `DEPARTED` | A new last port or departure time (ATD) |
| `ARRIVED` | Status went from under way to moored / at anchor |
| `DRAUGHT_UP` / `DRAUGHT_DOWN` | Draught moved by at least your threshold (default 0.5 m): loaded or discharged |
| `RENAMED` / `REFLAGGED` | The ship's name or flag changed |
| `NOT_HEARD` (optional) | No free position for N hours after a fresh one |

The first time a vessel is seen you get one `BASELINE` row with its current status. Turn on **Include unchanged vessels** to get a full status table (`UNCHANGED` rows) on every run as well.

### Who uses it

- **Commodity traders and charterers**: draught plus destination is a cargo signal. A tanker whose draught goes up 6 m at a load port and whose destination changes is a loaded cargo on the move.
- **Ship agents, chandlers, bunker suppliers**: get an alert when a vessel you serve changes its ETA or destination for your port.
- **Freight forwarders and shippers**: follow the ships carrying your containers and see ETA slips as they happen.
- **Fleet and compliance teams**: renames and reflags, with the previous name and flag.

### Input

- **Vessels to watch**: IMO numbers, ship MMSI numbers or VesselFinder vessel links. Invalid numbers (wrong IMO check digit, non-ship MMSI) are skipped and never charged.
- **Watchlist name**: the actor remembers each vessel between runs under this name. Keep it the same on your schedule; use another name for another list.
- **Seed** (optional): add vessels from a VesselFinder search by ship type and flag, e.g. *Crude Oil Tanker* × *Malta*.
- **Change types**, **ETA threshold**, **draught threshold**, **NOT_HEARD** hours.
- **Include unchanged vessels**, **Max vessels**, **Max rows**.

Example:

```json
{
  "vessels": ["9342516", "9811000", "IMO 9524231"],
  "watchName": "my-tankers",
  "etaHours": 6,
  "draughtMeters": "0.5"
}
```

### Output

A real row from 2026-11-08 (trimmed):

```json
{
  "event": "DRAUGHT_UP",
  "change": "Draught up 1.2 m (loaded?).",
  "previousValue": 13.2,
  "newValue": 14.4,
  "draughtDeltaM": 1.2,
  "imo": "9342516",
  "mmsi": "565747000",
  "name": "MAERSK ALFIRK",
  "shipType": "Container Ship",
  "flag": "Singapore",
  "destination": "Los Angeles, United States (USA)",
  "destinationLocode": "USLAX",
  "eta": "2026-11-09T12:00:00Z",
  "lastPort": "Yantian, China",
  "lastPortLocode": "CNYTN",
  "atd": "2026-10-23T13:07:00Z",
  "currentDraught": 14.4,
  "lastPositionReceived": "16 days ago",
  "area": "China Coast",
  "speedKnots": 16.5,
  "courseDeg": 115.3,
  "grossTonnage": 109534,
  "deadweight": 122405,
  "yearBuilt": 2008,
  "previousCheckAt": "2026-11-08T04:36:34.619Z",
  "url": "https://www.vesselfinder.com/vessels/details/9342516",
  "checkedAt": "2026-11-08T04:37:40.112Z"
}
```

Every row also carries navigation status, call sign, last-seen age in minutes and the watchlist name. The run report (key-value store, `RUN_REPORT`) lists counts per event and any numbers VesselFinder did not know.

### Pricing

Pay per event:

- **$2.50 per 1,000 vessel checks**: one vessel re-read and compared (includes its BASELINE or UNCHANGED row).
- **$2.00 per 1,000 change rows**.
- **$0.003 per run start**.

A 100-vessel watchlist checked daily costs about **$0.25 a day** plus a few cents for the changes. Vessels that could not be read and unknown numbers are not charged.

### Tips

- Schedule it (hourly, every 6 hours or daily) and connect the dataset to a webhook, Slack, email or Google Sheets integration: only changes arrive.
- One watchlist per schedule. Changing the watchlist name starts a fresh baseline.
- Free positions come from land-based AIS receivers. Ships near coasts and in port update within minutes; ships in mid-ocean may show a position several days old until they come back into range, so ETA changes on long ocean legs often appear as the ship nears the coast. Keep `NOT_HEARD` off unless you watch coastal traffic.
- Positions are rounded to whole degrees, so this is not a geofencing tool.

### FAQ

**Is it legal to scrape VesselFinder?**
The actor reads only public vessel pages that anyone can open without an account, at a gentle pace, and follows the site's robots.txt. AIS vessel data describes ships, not people. You are responsible for how you use the data; check the rules that apply in your country if unsure.

**Does it access any private data?**
No. No login, no paid features, no personal data. Owner and manager fields shown only to paying VesselFinder users are never read.

**Why did a run return no rows?**
Nothing changed since the last run. The status message says how many vessels were checked. Turn on *Include unchanged vessels* for a full table.

**How long does it take?**
About 3 vessels per second: 1,000 vessels in about 5 to 6 minutes.

**What if VesselFinder refuses requests?**
The run stops after a few refusals, keeps what it saved, does not charge for unread vessels, and tells you in the status message. Vessels not checked keep their memory for the next run.

# Actor input Schema

## `vessels` (type: `array`):

Your watchlist: IMO numbers (7 digits), ship MMSI numbers (9 digits) or VesselFinder vessel page links, one per line. Invalid numbers are skipped and never charged.

## `watchName` (type: `string`):

The actor remembers each vessel between runs under this name. Use a different name for each separate watchlist; keep the same name on a schedule.

## `includeUnchanged` (type: `boolean`):

Also save one UNCHANGED row per vessel that did not change, for a full status table every run. Off = only changes (and BASELINE rows the first time a vessel is seen).

## `events` (type: `array`):

Leave empty for all of: NEW_DESTINATION, ETA_CHANGED, DEPARTED, ARRIVED, DRAUGHT_UP, DRAUGHT_DOWN, RENAMED, REFLAGGED. Add NOT_HEARD to also flag ships whose free AIS position went quiet.

## `etaHours` (type: `integer`):

Report ETA_CHANGED when the ETA moves by at least this many hours.

## `draughtMeters` (type: `string`):

Report DRAUGHT_UP / DRAUGHT_DOWN when the reported draught moves by at least this many metres (e.g. 0.5).

## `notHeard` (type: `boolean`):

Flag ships that had a fresh position last run but none for the hours below. Free positions come from land-based receivers, so ships crossing an ocean also go quiet: treat this as a coverage signal.

## `notHeardHours` (type: `integer`):

Hours without a position before NOT_HEARD is reported.

## `seedShipType` (type: `string`):

Optional: add vessels from a VesselFinder search, e.g. 'Crude Oil Tanker', 'Container Ship', 'LNG Tanker' or a type code like 601. Combine with a flag.

## `seedFlag` (type: `string`):

Optional: two-letter flag code or country name for the seed search, e.g. MT or Malta.

## `seedMinYear` (type: `integer`):

Optional: only seed vessels built in or after this year.

## `maxSeed` (type: `integer`):

How many vessels the seed search adds to the watchlist (20 per search page).

## `maxVessels` (type: `integer`):

Safety cap on vessels checked per run (each check is charged).

## `maxItems` (type: `integer`):

Stop after saving this many rows. 0 = no limit.

## Actor input object example

```json
{
  "vessels": [
    "9524231",
    "9342516",
    "9811000"
  ],
  "watchName": "example",
  "includeUnchanged": true,
  "etaHours": 6,
  "draughtMeters": "0.5",
  "notHeard": false,
  "notHeardHours": 48,
  "maxSeed": 200,
  "maxVessels": 1000,
  "maxItems": 0
}
```

# Actor output Schema

## `results` (type: `string`):

Change events, baseline and status rows.

## `run` (type: `string`):

Status and statistics for this run.

## `report` (type: `string`):

RUN_REPORT: how the run ended, counts per event, vessels not found, requests.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "vessels": [
        "9524231",
        "9342516",
        "9811000"
    ],
    "watchName": "example",
    "includeUnchanged": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("yugenox/vessel-watchlist-monitor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "vessels": [
        "9524231",
        "9342516",
        "9811000",
    ],
    "watchName": "example",
    "includeUnchanged": True,
}

# Run the Actor and wait for it to finish
run = client.actor("yugenox/vessel-watchlist-monitor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "vessels": [
    "9524231",
    "9342516",
    "9811000"
  ],
  "watchName": "example",
  "includeUnchanged": true
}' |
apify call yugenox/vessel-watchlist-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,yugenox/vessel-watchlist-monitor"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/QrmWFnodaxZFbiqZK/builds/sC0cQLNFeTAwKa9Qc/openapi.json
