GET /api/v1/watchlist
Requires API key.
POST /api/v1/watchlist
Requires API key.
| Name | Type | Required | Description |
|---|---|---|---|
imo_number | string | ✓ | 7-digit IMO number |
label | string | Custom display label | |
notify_on | string[] | Event types to alert on (defaults below) | |
category_id | number | Category to assign the vessel to | |
sort_order | number | Display order within the list |
category_id without providing notify_on, the vessel inherits the category’s default_notify_on list.
Default notify_on events
| Event | Description |
|---|---|
port_entry | Vessel arrives at any monitored port |
port_departure | Vessel departs a monitored port |
dark_event | AIS signal gap detected |
sanctions_match | Vessel flagged by sanctions screening |
PATCH /api/v1/watchlist
Requires API key.
| Name | Type | Required | Description |
|---|---|---|---|
imo_number | string | ✓ | IMO number of the vessel to update |
label | string | New label | |
notify_on | string[] | Updated event list | |
category_id | number | New category | |
sort_order | number | New sort order |
DELETE /api/v1/watchlist
Requires API key.
| Name | Type | Required | Description |
|---|---|---|---|
imo | string | ✓ | IMO number (query param) |
Categories
Organize watched vessels into groups. Categories support nesting and carry default notification settings that propagate to any vessel added without an explicitnotify_on list.
GET /api/v1/watchlist/categories
Requires API key.
POST /api/v1/watchlist/categories
Requires API key.
| Name | Type | Required | Description |
|---|---|---|---|
name | string | ✓ | Category name |
parent_id | number | Parent category for nesting | |
sort_order | number | Display order | |
default_notify_on | string[] | Default events for vessels in this category |
PATCH /api/v1/watchlist/categories
Requires API key.
id in the request body.
Example
DELETE /api/v1/watchlist/categories
Requires API key.
category_id cleared. Child categories are un-nested.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | number | ✓ | Category id (query param) |
Bulk operations
Add or modify up to 100 vessels at once.POST /api/v1/watchlist/bulk
Requires API key.
| Name | Type | Required | Description |
|---|---|---|---|
imos | string[] | ✓ | Array of IMO numbers (max 100) |
label | string | Label applied to all vessels | |
notify_on | string[] | Event types for all vessels | |
category_id | number | Category to assign all vessels to |
PATCH /api/v1/watchlist/bulk
Requires API key.
| Name | Type | Required | Description |
|---|---|---|---|
imos | string[] | ✓ | Array of IMO numbers (max 100) |
action | string | ✓ | remove, set_category, set_notify_on, or set_label |
category_id | number | Required for set_category | |
notify_on | string[] | Required for set_notify_on | |
label | string | Required for set_label |