# OFAC Sanctions Screening - Bulk SDN List Name Check (`kotablue-tools/ofac-sdn-sanctions-screening`) Actor

Bulk OFAC sanctions screening: check names of people, companies, vessels and aircraft against the U.S. Treasury OFAC SDN list and its aliases, with fuzzy matching, scores, programs, countries and the list date. Screening aid only, not legal advice.

- **URL**: https://apify.com/kotablue-tools/ofac-sdn-sanctions-screening.md
- **Developed by:** [KotaBlue Toolsmith](https://apify.com/kotablue-tools) (community)
- **Categories:** Developer tools, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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

## OFAC Sanctions Screening: Bulk SDN List Name Check

**Paste a list of names of people, companies, vessels or aircraft and screen them all against the U.S. Treasury OFAC Specially Designated Nationals (SDN) list in one run. Each name gets one spreadsheet-ready row: MATCH, POSSIBLE_MATCH or NO_MATCH, a similarity score, the SDN entry and alias that matched, sanctions programs, countries, OFAC remarks and the date of the list used.**

Up to 5,000 names per run. The Actor downloads OFAC's own SDN files once per run and matches locally, with fuzzy matching for spelling and transliteration variants, word order, accents and punctuation. No API key, login, browser or proxy needed. Built for KYC / AML onboarding, vendor and customer list screening, and batch lookups that would take hours in a manual search tool.

### What does this OFAC sanctions screening tool do?

- **Screens names against the full SDN list and its aliases.** Every run downloads the current SDN file (about 19,500 entries), the alias file (about 20,200 a.k.a. / f.k.a. / n.k.a. names) and the address file from OFAC's Sanctions List Service.
- **Fuzzy name matching, not just exact text.** Names are normalised (case, accents, punctuation, legal forms such as LTD, LLC or S.A.) and compared word by word in any order, so `Nicolas Maduro Moros` matches `MADURO MOROS, Nicolas`. Typos (`Madura`), transliteration variants (`Hezbollah` vs `HIZBALLAH`, `Mohammed` vs `Muhammad`) and spacing variants (`Alqaida` vs `AL QA'IDA`) are scored with a Jaro-Winkler similarity and a consonant-skeleton check.
- **Clear status per name.** `MATCH` (identical after normalisation), `POSSIBLE_MATCH` (score at or above your minimum), `NO_MATCH`, `INVALID` (empty or too short) or `REPEAT` (same name earlier in the run).
- **Full context for review.** The best match comes with the SDN UID, primary name, matched alias, entry type, sanctions programs (for example `SDGT`), countries, OFAC remarks (dates of birth, IDs, IMO numbers), vessel details and a link to OFAC's record. Up to 20 ranked matches per name.
- **Optional filters.** Limit screening to certain entry types, or give a country to flag and rank its matches first.
- **Shows the list date.** Every row carries the OFAC list's last-updated date and download time. The run summary checks each file against OFAC's published SHA-256 hash.

### Who is this for?

- **KYC / AML and onboarding teams.** Batch-screen new customers, beneficial owners or counterparties, then send only possible matches to an analyst.
- **Compliance teams at small firms.** Re-screen a customer or vendor list when OFAC updates the SDN list, without a full screening platform.
- **Procurement and vendor management.** Screen suppliers and subcontractors during vendor due diligence.
- **Fintech and payments developers.** Screen user-entered names or payees in bulk from the Apify API.
- **Shipping and logistics teams.** Screen vessels, shipping companies and consignees; vessel rows include call sign, type, flag and owner where OFAC lists them.
- **Exporters.** Check buyers, end users and freight forwarders before a shipment.
- **Nonprofits and universities.** Screen grantees, partners and foreign collaborators.
- **Journalists and researchers.** Check long name lists from filings or registries in one go.

### How to use it

1. Open the Actor and paste names into **Names to screen**, one per line (for example `Nicolas Maduro Moros`, `National Bank of Cuba`, `Acme Widgets Ltd`).
2. Keep **Minimum match score** at 0.85, lower it (minimum 0.70) to catch more variants, or set 1.00 for exact matches only.
3. Optionally set **Max matches per name**, **Only these SDN entry types** and **Country**, then click **Start**.
4. Open the **Output** tab, filter on `status`, and review every `MATCH` and `POSSIBLE_MATCH` against `remarks` (dates of birth, IDs) and OFAC's record at `ofacDetailsUrl`.
5. Export as CSV, Excel or JSON, or schedule the Actor to re-screen a list against the newest SDN data.

### Input

| Field | Description |
|---|---|
| `names` | Names to screen, one per line. Max 5,000 per run. |
| `minScore` | Lowest score that counts as a possible match, 0.70 to 1.00. Default **0.85**. |
| `maxMatchesPerName` | How many ranked SDN entries to list per name (1 to 20). Default **3**. |
| `entityTypes` | Optional: `individual`, `entity`, `vessel`, `aircraft`. Empty = all. |
| `country` | Optional country for all names in the run (for example `Venezuela`). |
| `excludeOtherCountries` | Drop matches whose OFAC countries don't include `country`. Default **false**. |

Example input (one known SDN name, one alias, one clean name and one empty line):

```json
{
  "names": [
    "Nicolas Maduro Moros",
    "National Bank of Cuba",
    "Acme Widgets Ltd",
    ""
  ],
  "maxMatchesPerName": 3
}
```

### Output

Each input name gives one dataset row. Fields:

`input, inputIndex, normalizedInput, status, firstStatus, message, bestScore, sdnUid, sdnName, matchedName, matchedOn (PRIMARY_NAME | ALIAS), matchedAlias, sdnType, programs, countries, countryMatch, title, remarks, vesselCallSign, vesselType, vesselFlag, vesselOwner, ofacDetailsUrl, matchCount, matches, listLastUpdated, listDownloadedAt, sourceUrl, verifyAt, screenedAt`

Below are real rows from a cloud run on Nov 4, 2026 with the example input above (OFAC list last updated 2026-10-28). Empty fields and timestamps are left out.

A primary-name match, with the words in a different order than OFAC's:

```json
{
  "input": "Nicolas Maduro Moros",
  "normalizedInput": "maduro moros nicolas",
  "status": "MATCH",
  "bestScore": 1,
  "sdnUid": 22790,
  "sdnName": "MADURO MOROS, Nicolas",
  "matchedOn": "PRIMARY_NAME",
  "sdnType": "individual",
  "programs": "VENEZUELA; IRAN-CON-ARMS-EO",
  "countries": "Venezuela",
  "title": "President of the Bolivarian Republic of Venezuela",
  "remarks": "DOB 23 Nov 1962; POB Caracas, Venezuela; citizen Venezuela; Gender Male; Cedula No. 5892464 (Venezuela); President of the Bolivarian Republic of Venezuela.",
  "ofacDetailsUrl": "https://sanctionssearch.ofac.treas.gov/Details.aspx?id=22790",
  "matchCount": 1,
  "listLastUpdated": "2026-10-28"
}
```

An alias match (the English a.k.a. of a Cuban bank):

```json
{
  "input": "National Bank of Cuba",
  "status": "MATCH",
  "bestScore": 1,
  "sdnUid": 306,
  "sdnName": "BANCO NACIONAL DE CUBA",
  "matchedName": "NATIONAL BANK OF CUBA",
  "matchedOn": "ALIAS",
  "matchedAlias": "NATIONAL BANK OF CUBA",
  "sdnType": "entity",
  "programs": "CUBA",
  "countries": "Switzerland; Spain; Japan; Panama",
  "remarks": "a.k.a. 'BNC'.",
  "matchCount": 1
}
```

In the same run, `Acme Widgets Ltd` came back `NO_MATCH` ("No SDN name or alias scored 0.85 or more.") and the empty line came back `INVALID` ("Empty name.").

Possible `status` values:

- **MATCH**: the name is identical to an SDN name or alias after normalisation (case, accents, punctuation, legal forms, word order).
- **POSSIBLE_MATCH**: the best score is at or above `minScore` but below 1.
- **NO_MATCH**: no SDN name or alias scored `minScore` or more (after your type and country filters).
- **INVALID**: the name is empty, has fewer than 2 letters or digits, or is longer than 250 characters.
- **REPEAT**: the same name (after normalisation) appeared earlier in the run; the row copies the earlier result and `firstStatus` shows its status.

`countries` comes from OFAC addresses, nationality and citizenship remarks and vessel flags, so it can include branch countries (as for the Cuban bank above). A run summary (counts, settings, list date, SHA-256 checks) is saved as `OUTPUT` in the key-value store.

### Pricing

- **This Actor is currently free to use.** There is no Actor fee; runs use your normal Apify platform credits for compute.

### Limits and performance

- Up to 5,000 names per run. Extra names are skipped with a warning in the log.
- One download of three OFAC files per run (about 5.8 MB SDN, 1.1 MB aliases, 1.7 MB addresses), parsed as it streams. Names are matched locally, with no request per name and no proxy.
- Default memory is 128 MB.
- In a local test, matching 1,000 names took about 4 seconds once the list was loaded.
- Downloads are retried with backoff on timeouts, 429 and 5xx errors. If the SDN or alias file can't be downloaded, the run fails rather than return incomplete results. If only the address file fails, countries come from remarks and vessel flags.
- Scope: the SDN list only. OFAC's non-SDN lists, other countries' lists and OFAC's 50 Percent Rule (entities owned by SDNs) are not covered.

### Data source and disclaimer

Sanctions data comes from the **OFAC Specially Designated Nationals and Blocked Persons (SDN) List**, published by the Office of Foreign Assets Control of the **U.S. Department of the Treasury** through its Sanctions List Service (`SDN.CSV`, `ALT.CSV`, `ADD.CSV`). It is U.S. government data in the public domain. Each row shows the OFAC list's last-updated date (`listLastUpdated`) and when the Actor downloaded it (`listDownloadedAt`).

This Actor is **independent and is not affiliated with, endorsed by, or approved by the U.S. Department of the Treasury or OFAC**. The following are computed by this Actor, not by OFAC: `status`, `bestScore` and all match scores, `normalizedInput`, the ranking of matches, `countryMatch`, `countries` (collected from OFAC address, remark and vessel fields) and all summary counts.

**This is a screening aid only. It is not legal advice and not a compliance determination.** A `MATCH` means the names are the same, not that the person or company is the same. A `NO_MATCH` does not prove a party is not sanctioned. Every `MATCH` and `POSSIBLE_MATCH` must be reviewed by a person against OFAC's own [Sanctions List Search](https://sanctionssearch.ofac.treas.gov/), using other identifying details such as date of birth, address and ID numbers. Your legal obligations depend on your situation, so ask a qualified adviser.

### FAQ

**Does word order matter?**
No. `Nicolas Maduro Moros` and `MADURO MOROS, Nicolas` both score 1.0, and inputs that differ only in word order are a REPEAT.

**How is the score calculated?**
Each word in your name is matched with its closest word in the SDN name (exact, a Jaro-Winkler score of 0.9 or more, or 0.92 for transliteration variants with the same consonants). Missing words lower the score: missing words from your input count 60% and extra words in the SDN name count 40%. So `Nicolás Maduro` scores 0.867 against `MADURO MOROS, Nicolas`.

**What minimum score should I use?**
0.85 is a balanced default. Use 0.80 or lower for more spelling variants (and more false positives), or 1.00 for exact name matches only.

**Why did a common name return many possible matches?**
Common names such as `Mohammed Ali` match many SDN entries. Check `matchCount`, raise `maxMatchesPerName`, and compare dates of birth in `remarks`.

**Does it cover OFAC's non-SDN lists or the EU / UN / UK lists?**
No, only the OFAC SDN list. A party can be sanctioned elsewhere, or owned by an SDN, without appearing on it.

**How fresh is the data?**
Each run downloads OFAC's files at the start; `listLastUpdated` shows the list date.

**Which export formats are supported? Can I use the API?**
CSV, Excel, JSON, JSONL, XML and HTML. You can also start runs from the Apify API, schedule them, or connect them to Make, Zapier, n8n or webhooks.

**Is this an official OFAC service?**
No. It is an independent tool that reads OFAC's public SDN files.

### Related tools

Other free tools for public official data from the same publisher:

- [ISIN / CUSIP / Ticker to FIGI + LEI Mapper](https://apify.com/kotablue-tools/figi-lei-identifier-mapper): map ISIN, CUSIP, SEDOL, ticker or FIGI identifiers to OpenFIGI and GLEIF LEI records.
- [LEI Lookup & LEI Renewal Checker (GLEIF)](https://apify.com/kotablue-tools/gleif-lei-renewal-checker): bulk LEI status, next renewal date and lapsed-LEI flags from the GLEIF register.
- [SEC EDGAR Company Lookup](https://apify.com/kotablue-tools/sec-edgar-company-lookup): ticker or CIK to company name, EIN, SIC, state of incorporation and latest filings.
- [Bulk VIN Decoder & Recall Checker (NHTSA)](https://apify.com/kotablue-tools/nhtsa-vin-decoder): decode VINs in bulk to make, model and year, with NHTSA recall campaigns.
- [ClinicalTrials.gov NCT Lookup](https://apify.com/kotablue-tools/clinicaltrials-study-status-checker): bulk trial status, sponsor portfolios and a results-due estimate for lists of NCT numbers.

# Actor input Schema

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

One name per line: people, companies, vessels or aircraft (for example Nicolas Maduro Moros, National Bank of Cuba). Word order, case, accents and punctuation don't matter. Empty or too-short names are returned as INVALID; a name repeated in the same run is returned as REPEAT. Max 5,000 per run.

## `minScore` (type: `string`):

Lowest similarity (0.70 to 1.00) that counts as a POSSIBLE_MATCH. Default 0.85. Lower finds more spelling and transliteration variants but gives more false positives; 1.00 returns exact name matches only.

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

How many SDN entries to list in the matches array for each name (best first). The total number of entries above the score is in matchCount.

## `entityTypes` (type: `array`):

Optional. Leave empty to screen against all SDN entries.

## `country` (type: `string`):

Optional country for all names in this run, e.g. Venezuela or Russia. Each match gets countryMatch true/false (null if OFAC lists no country for it), from OFAC addresses, nationality/citizenship remarks and vessel flags. Matches in that country rank first among equal scores. It does not drop matches unless you tick the box below.

## `excludeOtherCountries` (type: `boolean`):

Off by default because OFAC country data is incomplete. Matches with no country data are always kept.

## Actor input object example

```json
{
  "names": [
    "Nicolas Maduro Moros",
    "National Bank of Cuba",
    "Acme Widgets Ltd"
  ],
  "minScore": "0.85",
  "maxMatchesPerName": 3,
  "excludeOtherCountries": false
}
```

# Actor output Schema

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

One row per input name with status (MATCH, POSSIBLE_MATCH, NO_MATCH, INVALID, REPEAT), best score, SDN entry, matched alias, type, programs, countries and the OFAC list date.

## `summary` (type: `string`):

Counts per status, settings used, and OFAC list metadata (last-updated date, file sizes, SHA-256 checks).

# 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": [
        "Nicolas Maduro Moros",
        "National Bank of Cuba",
        "Acme Widgets Ltd"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("kotablue-tools/ofac-sdn-sanctions-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": [
        "Nicolas Maduro Moros",
        "National Bank of Cuba",
        "Acme Widgets Ltd",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("kotablue-tools/ofac-sdn-sanctions-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": [
    "Nicolas Maduro Moros",
    "National Bank of Cuba",
    "Acme Widgets Ltd"
  ]
}' |
apify call kotablue-tools/ofac-sdn-sanctions-screening --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kotablue-tools/ofac-sdn-sanctions-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/lufnDXDOwEg77FfX3/builds/KdH0KiCr9exwSyAc3/openapi.json
