# Maritime Incident Data: Ship Accidents and Attacks (`copious_atoll/shipdrama-maritime-incidents`) Actor

Ship collisions, fires, groundings, sinkings, attacks and sanctions cases worldwide, as structured records with sources, vessel IMO and MMSI, position, casualties and a confidence score. From the shipdrama business feed.

- **URL**: https://apify.com/copious_atoll/shipdrama-maritime-incidents.md
- **Developed by:** [Grim R](https://apify.com/copious_atoll) (community)
- **Categories:** News, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1,500.00 / 1,000 incident returneds

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

## Maritime Incident Data: Ship Accidents and Attacks

Structured records of maritime incidents worldwide: collisions, fires, groundings, sinkings, piracy and attacks, cruise ship incidents, rescues and sanctions cases. Each run returns one dataset row per incident, with its sources.

The data is the [shipdrama](https://shipdrama.com) business feed. This actor reads it from the shipdrama API and returns it unchanged. It runs no browser and scrapes no site.

### What a row holds

| Field | Meaning |
| --- | --- |
| `title`, `summary`, `type`, `status` | What happened, in one line and one paragraph |
| `place`, `place_as_reported`, `coordinates` | Where, as longitude and latitude when known |
| `occurred_at`, `first_report_at`, `last_report_at` | When, in UTC |
| `vessels`, `vessel_mentions` | Vessels involved: name, type, flag, IMO and MMSI where the reports give them |
| `casualties` | Dead, injured and missing, where reported |
| `severity`, `score`, `confidence` | Severity 1 to 5, a newsworthiness score 0 to 100, and a rule-of-thumb confidence 0 to 1 |
| `verification` | `verified` once a person approved it, otherwise `unverified, machine-extracted` |
| `confirmed_by_official_source` | Whether an official source is among the reports |
| `sources` | Every report used: address, title, publisher, time published and time fetched |
| `revision` | How many times the record has changed |
| `url` | The incident's page on shipdrama.com, once it has one |

### Input

- **First reported from / to**: a date range, in UTC.
- **Incident types**: one or more of grounding, collision, fire, sinking, cargo_loss, piracy_attack, sanctions, rescue, port_disruption, cruise, yacht, other.
- **Region**: a named sea region, or a bounding box as west,south,east,north.
- **Minimum score**: leave out the less newsworthy incidents.
- **Maximum results**: stop after this many incidents.

A run that matches nothing finishes normally with an empty dataset.

### Price

You pay per incident returned, and nothing for a run that returns none. Maximum results caps the cost of a run, and so does the maximum charge you set for it.

### What this actor does not give

Incident records only. Vessel track history, watchlists for your fleet, alerts by mail and Slack, signed webhooks and the revision history of each incident are in the direct API at [shipdrama.com/feed](https://shipdrama.com/feed/).

### How the data is made

Software compiles the feed from published news reports, official notices and vessel position broadcasts. An incident marked "unverified, machine-extracted" was read out of those reports by a language model and has not been checked by a person. Every incident carries links to its sources. Confidence is a rule of thumb computed from the sources, not a probability.

No warranty. Not for navigation. The [feed terms](https://shipdrama.com/feed/terms/) apply.

### Sources and credits

News publishers and official bodies are named in each row's `sources`. The full list of sources shipdrama reads is at [shipdrama.com/about](https://shipdrama.com/about/).

Vessel positions: aisstream.io; Source: Fintraffic / digitraffic.fi, license CC 4.0 BY; Contains data under the Norwegian licence for Open Government data (NLOD) distributed by Kystverket. Map data © OpenStreetMap.

# Actor input Schema

## `dateFrom` (type: `string`):

Incidents first reported on or after this day (UTC). Empty for no lower bound.

## `dateTo` (type: `string`):

Incidents first reported on or before this day (UTC). Empty for no upper bound.

## `incidentTypes` (type: `array`):

Empty for every type.

## `region` (type: `string`):

A named sea region. Incidents without a known position are left out when a region is set.

## `boundingBox` (type: `string`):

Instead of a region: west,south,east,north in degrees, for example 95,-2,105.5,8.

## `minScore` (type: `integer`):

The least newsworthiness score, 0 to 100. Empty for every incident in the feed.

## `maxResults` (type: `integer`):

Stop after this many incidents. You pay per incident returned, so this caps the cost of the run.

## Actor input object example

```json
{
  "incidentTypes": [],
  "region": "",
  "maxResults": 5
}
```

# Actor output Schema

## `incidents` (type: `string`):

One row per incident, with its sources.

# 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 = {
    "maxResults": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("copious_atoll/shipdrama-maritime-incidents").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 = { "maxResults": 5 }

# Run the Actor and wait for it to finish
run = client.actor("copious_atoll/shipdrama-maritime-incidents").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 '{
  "maxResults": 5
}' |
apify call copious_atoll/shipdrama-maritime-incidents --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,copious_atoll/shipdrama-maritime-incidents"
        }
    }
}
```

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/YF4y5AwP9jQ7p6YUz/builds/EJdnooV1ifjwhPuf2/openapi.json
