# Sanctions List Screening (`snappytools/ofac-sanctions-list-screening`) Actor

Give it a company, vessel or person name and it tells you whether that name matches an entry on the US Treasury OFAC Specially Designated Nationals (SDN) list, with the matched entry, its sanctions programs and a similarity score. You paste in a list of names.

- **URL**: https://apify.com/snappytools/ofac-sanctions-list-screening.md
- **Developed by:** [Snappy](https://apify.com/snappytools) (community)
- **Categories:** Other
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$4.80 / 1,000 results

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

## Sanctions List Screening – OFAC SDN name check API

Paste in a list of company, vessel or person names and this sanctions list screening tool tells you whether each one matches an entry on the US Treasury OFAC Specially Designated Nationals (SDN) list.

You give it up to 500 names. You get back one row per name with `status`, `matchCount`, `topScore`, `topMatchName`, `topMatchPrograms` and a `matches` list holding every close SDN entry and alias. Each match links to its OFAC Sanctions Search page so you can check it yourself.

The list is downloaded fresh from OFAC at the start of every run, so you can schedule it to re-screen your customer or supplier list as often as you like.

### Why this one

- **Straight from OFAC.** The SDN and alias files are downloaded from the official OFAC Sanctions List Service on every run, not from a stale copy.
- **Aliases count.** Names are matched against primary SDN names and listed aliases, and each match shows whether it hit on `primary` or `aka`.
- **Fuzzy matching.** Similar spellings still get a similarity score, so near matches show up instead of being missed.
- **One row per name.** Every name you send gets a row with a `status` and a `reason`, so you can line results up with your list.
- **Checkable answers.** Every match carries the OFAC entity number (`entNum`) and a link to its official details page.
- **Cheap.** $4.80 per 1,000 results, and runs with no results cost nothing.

### Quick start

```json
{
  "names": ["Banco Nacional de Cuba", "Islamic Revolutionary Guard Corps", "Acme Widgets Pty Ltd"],
  "minScore": 0.88,
  "maxMatchesPerName": 5
}
```

This returns three rows, one per name, each with its status and any close SDN entries.

### What you can use it for

| Who | What for |
|---|---|
| Compliance analysts | Screen new customers or counterparties before onboarding |
| Procurement teams | Check supplier lists before signing contracts |
| Freight and logistics firms | Check consignees and vessel names before shipping |
| Fintech and payments developers | Add an SDN name check to an onboarding workflow |

### How to use it

1. Click **Try for free**.
2. In **Names to screen**, enter one name per line, e.g. `Banco Nacional de Cuba`.
3. Optionally set **Minimum match score** (0.5 to 1), e.g. `0.92` for fewer, closer matches. The default is 0.88.
4. Optionally set **Max matches per name** (1 to 25), e.g. `3`. The default is 5.
5. Click **Start**.

To re-screen the same list each week, save the input as a task and add it under **Schedules**.

### What data you get

Each row covers one input name. In a test run on 20 Nov 2026, three names gave back three rows.

| Field | What it is | Example |
|---|---|---|
| `id` | Stable id built from the input name | `sdn-banco-nacional-de-cuba` |
| `input` | The name you sent, echoed back | `Banco Nacional de Cuba` |
| `status` | Result for that name, such as `match` | `match` |
| `reason` | Plain-English explanation | `2 SDN entries scored at or above 0.88. Review before acting.` |
| `matchCount` | Number of matches returned | `2` |
| `topScore` | Best similarity score, 0 to 1 | `1` |
| `topMatchName` | Name of the best matching SDN entry | `BANCO NACIONAL DE CUBA` |
| `topMatchPrograms` | Sanctions programs of the best match | `["CUBA"]` |
| `matches` | List of matches with `entNum`, `name`, `matchedName`, `matchedOn`, `type`, `programs`, `score`, `url` | `{ "entNum": 306, "score": 1, "matchedOn": "primary" }` |
| `checkedAt` | When the check ran (ISO 8601) | `2026-11-20T08:56:04.291Z` |
| `source` | Source name and link to the best match's OFAC page | `{ "name": "OFAC SDN List (US Treasury)", "url": "https://sanctionssearch.ofac.treas.gov/Details.aspx?id=306" }` |

### Pricing

| Event | Price |
|---|---|
| Result (one per name screened) | $0.0048 |

There is no start fee, and runs with no results cost nothing.

| Run | Cost |
|---|---|
| 100 names | $0.48 |
| 1,000 names | $4.80 |
| 10,000 names | $48.00 |

### Good to know

- **Limits:** up to 500 names per run and up to 25 matches per name.
- **Source:** the public OFAC SDN list from the US Treasury (treasury.gov). No login or key is needed.
- **Not included:** other sanctions lists such as EU, UK and UN, and adverse media or PEP checks.
- **Fuzzy, not final:** a score is a similarity measure, so a match is a lead to review, not a legal finding.
- **Freshness:** the list is downloaded at the start of each run, so results reflect OFAC's published list at that time.
- **Not affiliated:** this tool isn't affiliated with or endorsed by the US Department of the Treasury or OFAC.

### FAQ

**How do I check if a company is on the OFAC sanctions list?** Put the company name in **Names to screen** and run it. A `status` of `match` means at least one SDN entry scored at or above your minimum score.

**Is there an OFAC SDN API?** Yes. Every run can be started and read through the Apify API, so you can add sanctions list screening to your own onboarding workflow.

**Why did a name I know is sanctioned not match?** Try lowering **Minimum match score**, or check the spelling OFAC uses.

**Why do I see matches for an innocent name?** Similar names can score highly. Raise the minimum score and review each match using its OFAC link.

### Getting the data out

Download results as Excel, CSV or JSON from the Output tab. Send them to Google Sheets, Slack, Zapier, Make or webhooks from the **Integrations** tab. Every run is available through the Apify API, and you can run it on a timetable from **Schedules**.

### Questions or problems

Open an issue on the **Issues** tab and include the run link. I reply within one business day.

### Related tools

- [Companies House Company Scraper](https://apify.com/snappytools/companies-house-uk-scraper): look up UK company records
- [TED Europa Tender Scraper](https://apify.com/snappytools/ted-europa-tender-scraper): collect EU public tenders
- [Bulk Email Syntax and MX Validator](https://apify.com/snappytools/email-syntax-mx-validator): check email lists in bulk

# Actor input Schema

## `names` (type: `array`):

List of company, organisation, vessel or person names to check against the OFAC SDN list, one per line, e.g. "Banco Nacional de Cuba". Up to 500 names per run.

## `minScore` (type: `number`):

Lowest similarity score (0.5 to 1) for an SDN entry to count as a match, e.g. 0.88. Higher means fewer, closer matches.

## `maxMatchesPerName` (type: `integer`):

Most SDN entries returned for each input name, best score first, e.g. 5. Allowed range is 1 to 25.

## Actor input object example

```json
{
  "names": [
    "Banco Nacional de Cuba",
    "Islamic Revolutionary Guard Corps",
    "Acme Widgets Pty Ltd"
  ],
  "minScore": 0.88,
  "maxMatchesPerName": 5
}
```

# Actor output Schema

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

No description

# 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 = {
    "names": [
        "Banco Nacional de Cuba",
        "Islamic Revolutionary Guard Corps",
        "Acme Widgets Pty Ltd"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("snappytools/ofac-sanctions-list-screening").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 = { "names": [
        "Banco Nacional de Cuba",
        "Islamic Revolutionary Guard Corps",
        "Acme Widgets Pty Ltd",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("snappytools/ofac-sanctions-list-screening").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 '{
  "names": [
    "Banco Nacional de Cuba",
    "Islamic Revolutionary Guard Corps",
    "Acme Widgets Pty Ltd"
  ]
}' |
apify call snappytools/ofac-sanctions-list-screening --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,snappytools/ofac-sanctions-list-screening"
        }
    }
}
```

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/QaNbAAOOK2xXhxrQy/builds/Otdjc1eITeHe8IUNV/openapi.json
