# Vessel Sanctions Screening API: Maritime Risk, Owners, IMO (`nabeelbaghoor/vessel-risk-sanctions-screening-api`) Actor

Vessel sanctions screening and maritime compliance risk from the Windward API: screen ships by IMO or MMSI for sanctions, risk level, dark activity, owners and managers, screen shipping companies and their fleets, and search vessels by name. Bring your own key.

- **URL**: https://apify.com/nabeelbaghoor/vessel-risk-sanctions-screening-api.md
- **Developed by:** [Nabeel Hassan](https://apify.com/nabeelbaghoor) (community)
- **Categories:** Business, Developer tools, Integrations
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $20.00 / 1,000 vessel screeneds

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 Sanctions Screening API: Maritime Risk, Owners, IMO

Screen ships and shipping companies for sanctions and maritime compliance risk with the Windward API, from a list of IMO numbers, MMSIs or company names, straight into a dataset.

### What it does

- **Vessel sanctions screening by IMO number or MMSI.** For each vessel: Windward compliance risk level (Sanctioned, High, Medium, Low), sanction programs such as RUSSIA_GENERAL, IRAN or VENEZUELA, whether the vessel is sanctioned and since when, and the risk indicators behind the score (dark activity, flag hopping, ship to ship meetings, sanctioned country companies and more), each with its count and latest activity date.
- **Sanctions list entries.** Every sanctions or watchlist entry on the vessel: source, list name and type, program, severity, numerical risk, date added and date removed.
- **Ownership and management screening.** The current registered owner, beneficial owner, commercial manager, operator, commercial controller, technical manager and ISM manager, each with its own Windward risk level, sanctions, country, DUNS number and World-Check One IDs. Sanctioned companies in the chain are pulled out into one column.
- **Optional depth.** Switch on one year of ownership history, the last port call and transmitted destination, port state control inspections, the MAI Expert generative AI vessel summary, or MAI Expert adverse media with source links.
- **Shipping company screening.** Search companies by name and get their compliance risk, sanctions entries, roles, country, DUNS and World-Check One IDs, the fleet they own, manage or operate (each vessel with its risk), the number of sanctioned vessels in that fleet, and optionally Dun and Bradstreet ultimate beneficial owners.
- **Vessel search.** Find vessels by name, IMO, MMSI or former name when you do not have the IMO number yet, then screen them.
- **Pay only for answers.** IMO numbers with no vessel, names with no match and refused lookups become free rows with a note saying why.

### How to use it

1. **Get your Windward API credentials.** API access is part of a Windward subscription. Ask your Windward account manager for an API client ID and client secret for your project. This actor never creates accounts or keys for you.
2. **Paste them in.** Put the client ID in **Client ID** and the client secret in **Client secret** (or write `clientId:clientSecret` in the Client secret field, or set the `DATA_API_CLIENT_ID` and `DATA_API_KEY` environment secrets). The actor exchanges them for an access token with Windward's documented `publicAPIToken` mutation and reuses it for the run. A token you minted yourself also works in the Client secret field on its own.
3. **Pick a mode and add your list.** IMO numbers or MMSIs for vessel screening, company names for company screening, or search terms for vessel search.
4. **Run it** and download the dataset as JSON, CSV or Excel, or read it through the Apify API.

Without credentials the run ends straight away with a message explaining what to add, and nothing is charged.

### Input

| Field | Mode | What it does |
| --- | --- | --- |
| What to run (`mode`) | all | `vesselScreening`, `companyScreening` or `vesselSearch` |
| IMO numbers (`imos`) | vessel screening | Seven digit IMO numbers, up to 1000 per run with MMSIs |
| MMSIs (`mmsis`) | vessel screening | Nine digit MMSIs; one MMSI can match more than one vessel |
| Include ownership history (`includeOwnershipHistory`) | vessel screening | Every owner, manager and operator of the past year |
| Include last port call and destination (`includePortCalls`) | vessel screening | Last port call and transmitted destination |
| Include port state control inspections (`includePscInspections`) | vessel screening | PSC inspections with MOU, result and deficiencies |
| Include MAI Expert vessel summary (`includeAiSummary`) | vessel screening | Generative AI risk summary (needs MAI Expert permission) |
| Include MAI Expert adverse media (`includeAdverseMedia`) | vessel screening | Adverse media answer with sources (needs MAI Expert permission) |
| Company names (`companyNames`) | company screening | Shipping company names, up to 200 per run |
| Companies per name (`companyMatchesPerName`) | company screening | Matches per name, 1 to 50, default 5 |
| Include fleet (`includeFleet`) | company screening | The company's vessels and their risk, on by default |
| Fleet roles (`fleetRoles`) | company screening | Beneficial owner, registered owner, commercial manager, operator, commercial controller, technical manager, ISM manager |
| Include former fleet (`includeHistoricalFleet`) | company screening | Also relationships that have ended |
| Include ultimate beneficial owners (`includeUltimateBeneficialOwners`) | company screening | Dun and Bradstreet UBO data |
| Vessel search terms (`searchTerms`) | vessel search | Names, IMO numbers, MMSIs or former names |
| Matches per term (`matchesPerTerm`) | vessel search | 1 to 50, default 10 |
| Maximum results (`maxResults`) | all | Most rows returned and charged, default 100 |
| Requests per minute (`requestsPerMinute`) | all | Pacing, default 60 |
| Client ID (`clientId`) and Client secret (`apiKey`) | all | Your own Windward API credentials, stored as secrets |

Example input:

```json
{
    "mode": "vesselScreening",
    "imos": ["9515539"],
    "includePortCalls": true,
    "clientId": "your-client-id",
    "apiKey": "your-client-secret"
}
```

### Example output

One vessel screening row (shortened; the full owner objects, risk indicators and sanctions entries are kept on every row):

```json
{
    "mode": "vesselScreening",
    "recordType": "vessel",
    "query": "IMO 9515539",
    "found": true,
    "windwardId": "5905c34626945158626e2af0",
    "name": "MIKHAIL NENASHEV",
    "imo": "9515539",
    "mmsi": "273292290",
    "flag": "Russia",
    "vesselClass": "Cargo",
    "vesselSubclass": "Bulk Carrier",
    "riskLevel": "High",
    "isSanctioned": false,
    "sanctionPrograms": ["SYRIA", "RUSSIA_GENERAL"],
    "riskySince": "2021-12-23T00:00:00.000Z",
    "riskIndicators": ["DARK_ACTIVITY", "FLAG", "SANCTIONED_COUNTRY_COMPANY"],
    "sanctionCount": 0,
    "registeredOwnerName": "Crane Marine Contractor",
    "beneficialOwnerName": "Crane Marine Contractor",
    "companyCountry": "Russia",
    "lastPortName": "Imam Khomeini",
    "lastPortCountry": "Iran",
    "complianceRisk": {
        "level": "High",
        "program": ["SYRIA", "RUSSIA_GENERAL"],
        "isSanctioned": false,
        "buildingBlocks": [
            { "name": "DARK_ACTIVITY", "recentActivityStartDate": "2024-04-28T10:55:38.000Z", "count": 7, "level": "High" }
        ]
    },
    "note": null
}
```

A company screening row carries `riskLevel`, `sanctionPrograms`, `sanctionCount`, `companyCountry`, `registrationCountry`, `duns`, `worldCheckOneIds`, `roles`, `fleetSize`, `sanctionedFleetVessels`, the full `ownerships` list and, when asked, `uboNames` with the full `ultimateBeneficialOwners`. A vessel search row carries `windwardId`, `name`, `imo`, `mmsi`, `flag`, `callsign`, `vesselClass`, `status`, `historicalNames`, `historicalMmsis` and `lastTransmitted`.

### Pricing

| Event | Price | Charged for |
| --- | --- | --- |
| `vessel-screening` | 0.02 USD | Each vessel screened by IMO number or MMSI |
| `company-screening` | 0.015 USD | Each shipping company matched by name |
| `vessel-search-match` | 0.005 USD | Each vessel suggested by a search |

Lookups with no match and refused lookups are free rows. Your Windward subscription is billed separately by Windward, and the MAI Expert options count against its own monthly quota.

### FAQ

#### What is the Windward API?

Windward (Windward Ltd) is a maritime AI company. Its GraphQL API serves the same vessel risk, sanctions, ownership and behavioral data as the Windward platform, at graphql.wnwd.com, documented at developer.windward.ai.

#### Do I need my own Windward API credentials?

Yes. This actor is bring your own key: it calls the Windward API with the client ID and client secret Windward issued to your organisation, so Windward sees your project and applies your subscription, permissions and quotas.

#### How do I screen a vessel for sanctions?

Choose vessel screening and add the vessel's IMO number, such as 9515539. Each row tells you whether the vessel is sanctioned, its Windward compliance risk level, the sanction programs involved, the sanctions list entries, and the risk of every company in its ownership and management chain.

#### What does the Windward compliance risk level mean?

It is Windward's assessment of the risk that a vessel or company breaches a sanctions program: Sanctioned, High, Medium or Low. The `riskIndicators` column lists the building blocks behind it, such as dark activity (AIS gaps), flag changes, ship to ship meetings or links to sanctioned companies and countries.

#### Can I find the beneficial owner of a ship?

Yes. Every vessel row has `beneficialOwnerName` and the full `beneficialOwner` object with the company's risk level, sanctions, country, DUNS number and World-Check One IDs, alongside the registered owner, managers and operator. Switch on ownership history for the past year.

#### How do I check a shipping company and its fleet?

Choose company screening and add the company name. You get the company's risk and sanctions, and with Include fleet on, every vessel it owns, manages or operates in the roles you pick, with each vessel's risk and a count of sanctioned vessels.

#### I only have a vessel name or MMSI. What do I do?

Use vessel search with the name, MMSI or a former name to get the IMO number, or give the MMSI straight to vessel screening; Windward matches it to the right vessel even when the MMSI was reused.

#### How many API requests does a run use?

IMO numbers are screened 20 to a request. Each MMSI, company name and search term is one request, and getting an access token is one more.

### Keyword map

Vessel sanctions screening API, ship sanctions check, maritime compliance API, IMO sanctions screening, vessel risk API, shipping company sanctions screening, beneficial owner of a vessel, ship ownership data API, dark activity detection, AIS gap risk, sanctioned vessel list check, Russia sanctions shipping, shadow fleet screening, port state control inspections, maritime due diligence, KYC for shipping, Windward API, Windward GraphQL, Windward MAI Expert.

### Terms and data use

The Windward API is licensed to your organisation under Windward's API terms, and this actor only runs on your own subscription. The terms allow internal use, including building integrations, and do not allow giving third parties access without Windward's consent, building a competing service, or bulk downloading data to build a database; data must be purged within 30 days after your agreement ends. Use the results inside your own organisation, screen the vessels and companies you actually need, and do not publish, share or resell them. This actor is not affiliated with or endorsed by Windward.

# Actor input Schema

## `mode` (type: `string`):

Vessel screening checks each IMO number or MMSI for sanctions and compliance risk: risk level, sanction programs, risk indicators such as dark activity, sanctions list entries and the current owner, beneficial owner, managers and operator with their own risk. Company screening searches shipping companies by name and returns their risk, sanctions and fleet. Vessel search finds vessels by name, IMO, MMSI or former name, for when you do not have the IMO number yet.

## `imos` (type: `array`):

Vessel screening only. One seven digit IMO number per line, such as 9515539 (an IMO prefix is fine). Up to 1000 per run together with MMSIs; duplicates are screened once.

## `mmsis` (type: `array`):

Vessel screening only. One nine digit MMSI per line, such as 273292290. Windward matches each MMSI to the vessels that used it, so one MMSI can return more than one vessel when it was reused.

## `includeOwnershipHistory` (type: `boolean`):

Vessel screening only. Adds every registered owner, beneficial owner, commercial manager, operator, commercial controller, technical manager and ISM manager of the past year, with each company's risk level.

## `includePortCalls` (type: `boolean`):

Vessel screening only. Adds the most recent port call (port, country, start and end) and the transmitted destination.

## `includePscInspections` (type: `boolean`):

Vessel screening only. Adds the port state control inspections on record: date, port, MOU, inspection type, result and number of deficiencies.

## `includeAiSummary` (type: `boolean`):

Vessel screening only. Adds Windward's generative AI risk summary of the vessel. Needs the MAI Expert permission on your Windward project and counts against its monthly per vessel quota.

## `includeAdverseMedia` (type: `boolean`):

Vessel screening only. Adds Windward's adverse media answer for the vessel with its source links. Needs the MAI Expert permission on your Windward project and counts against its monthly per vessel quota.

## `companyNames` (type: `array`):

Company screening only. One shipping company name per line, such as Marine Trans Shipping. Up to 200 per run.

## `companyMatchesPerName` (type: `integer`):

Company screening only. How many matching companies Windward returns for each name (the limit argument).

## `includeFleet` (type: `boolean`):

Company screening only. Adds the company's fleet as vessel, role, start and end date entries, with each vessel's risk level and sanctioned flag, and counts the fleet and its sanctioned vessels.

## `fleetRoles` (type: `array`):

Company screening only. Which relationships between the company and a vessel count as its fleet. All seven roles by default.

## `includeHistoricalFleet` (type: `boolean`):

Company screening only. Also returns relationships that have ended, not just the active ones.

## `includeUltimateBeneficialOwners` (type: `boolean`):

Company screening only. Adds Dun and Bradstreet ultimate beneficial owner data: name, DUNS, country, address, ownership percentage and type. Needs that data on your Windward project.

## `searchTerms` (type: `array`):

Vessel search only. One vessel name, IMO number, MMSI or former name per line, such as ATLANTIC. The match does not need to be exact. Up to 200 per run.

## `matchesPerTerm` (type: `integer`):

Vessel search only. How many suggested vessels Windward returns for each term, 1 to 50.

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

The most rows this run returns and charges for.

## `requestsPerMinute` (type: `integer`):

Pacing. A rate limit answer is waited out and retried.

## `clientId` (type: `string`):

Your own Windward API client ID, issued by Windward with the client secret. Stored as a secret. You can instead set the DATA_API_CLIENT_ID environment secret, or write clientId:clientSecret in the Client secret field.

## `apiKey` (type: `string`):

The client secret that goes with the client ID. The pair is exchanged with the publicAPIToken mutation for an access token, reused for the whole run. You can paste a ready access token here instead and leave the client ID empty. Stored as a secret, sent only to graphql.wnwd.com, never logged. You can instead set the DATA_API_KEY environment secret.

## Actor input object example

```json
{
  "mode": "vesselScreening",
  "imos": [
    "9515539"
  ],
  "includeOwnershipHistory": false,
  "includePortCalls": false,
  "includePscInspections": false,
  "includeAiSummary": false,
  "includeAdverseMedia": false,
  "companyMatchesPerName": 5,
  "includeFleet": true,
  "fleetRoles": [
    "BENEFICIAL_OWNER",
    "OWNER",
    "MANAGEMENT",
    "OPERATOR",
    "COMMERCIAL_CONTROLLER",
    "TECHNICAL_MANAGER",
    "ISM_MANAGER"
  ],
  "includeHistoricalFleet": false,
  "includeUltimateBeneficialOwners": false,
  "matchesPerTerm": 10,
  "maxResults": 100,
  "requestsPerMinute": 60
}
```

# Actor output Schema

## `records` (type: `string`):

One row per vessel, company or vessel search match.

# 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 = {
    "imos": [
        "9515539"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("nabeelbaghoor/vessel-risk-sanctions-screening-api").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 = { "imos": ["9515539"] }

# Run the Actor and wait for it to finish
run = client.actor("nabeelbaghoor/vessel-risk-sanctions-screening-api").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 '{
  "imos": [
    "9515539"
  ]
}' |
apify call nabeelbaghoor/vessel-risk-sanctions-screening-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nabeelbaghoor/vessel-risk-sanctions-screening-api"
        }
    }
}
```

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/LUA8275MG0xatpNwo/builds/ajh389i8SUlLHG9Qx/openapi.json
