# Sanctions Screening: OFAC, UN & UK Lists, Fuzzy Names (`lx112/sanctions-screening`) Actor

Screen people, companies, vessels and aircraft against the OFAC SDN and non-SDN lists, the UN Security Council list and the UK Sanctions List (about 27,000 entries with aliases). Fuzzy matching ignores word order, accents and legal forms. Each match: score, list, name, programs, aliases, birth date.

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

## Pricing

from $3.00 / 1,000 name 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

## Sanctions Screening: OFAC, UN & UK Lists, Fuzzy Names

Screen **people, companies, vessels and aircraft** against three official sanctions sources: the US
Treasury's **OFAC** lists (SDN and consolidated non-SDN), the **UN Security Council** consolidated
list and the **UK Sanctions List**, about **27,000 entries with their aliases**. Fuzzy matching handles word order (`Putin Vladimir`), accents
(`Société`), punctuation, legal forms (`Ltd`, `LLC`, `S.A.`) and spelling variants (`Hezbollah` →
`HIZBALLAH`). Each match comes with a **0-100 score**, the listed name, type, programs, aliases,
birth date, nationality and a link to OFAC's record for OFAC entries.

- **Every name gets a result**, `match: true` or `false`, so the output doubles as an audit log.
- **Tunable:** raise the minimum score for fewer false positives, lower it for broader screening, or
  limit matches to individuals, entities, vessels or aircraft.
- **Fast:** the lists ship with the actor, so screening 10,000 names takes seconds and sends nothing
  about them to third parties.

### Who uses this

- **Fintech, crypto and payments compliance:** screen customers and counterparties at onboarding
  and re-screen periodically.
- **Exporters, logistics and shipping:** screen consignees, vessels and business partners.
- **Marketplaces and HR:** check sellers, vendors or contractors before paying them.
- **AI agents:** a structured first-pass screening as JSON.

### Input

| Field | Example | Notes |
|---|---|---|
| Names to screen | `Banco Nacional de Cuba`, `Vladimir Putin` | One result per name |
| Minimum match score | `85` | 50-100 |
| Entry type | All | individual, entity, vessel or aircraft |
| Lists | All | OFAC, UN, UK |

### Output (one dataset item per name)

```json
{
  "input": "Banco Nacional de Cuba",
  "query": "Banco Nacional de Cuba",
  "match": true,
  "matches": [
    {
      "score": 100,
      "matchedName": "BANCO NACIONAL DE CUBA",
      "name": "BANCO NACIONAL DE CUBA",
      "type": "entity",
      "list": "OFAC SDN",
      "listId": "306",
      "programs": ["CUBA"],
      "aliases": ["NATIONAL BANK OF CUBA"],
      "dateOfBirth": null,
      "nationality": null,
      "url": "https://sanctionssearch.ofac.treas.gov/Details.aspx?id=306"
    }
  ],
  "minScore": 85,
  "listAsOf": "2026-11-08",
  "lists": ["OFAC SDN", "OFAC consolidated (non-SDN)", "UN Security Council", "UK Sanctions List"],
  "entriesScreened": 27476,
  "checkedAt": "2026-11-08T17:20:00.000Z",
  "error": null
}
```

### Pricing

Pay per event: charged per **name screened**, match or not. Names that can't be screened (fewer than
3 letters) carry an error and aren't charged.

### Limits

- OFAC, UN and UK lists; the EU list isn't included yet. `listAsOf` shows the lists' date; they're
  refreshed with each release of the actor.
- A match is a lead to review, not a determination: compare birth date, nationality and other
  identifiers. Common names produce false positives at lower scores.
- This is a screening tool, not legal advice.

# Actor input Schema

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

People, companies, vessels or aircraft, one per line. Each name is one screening and one result.

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

Lowest score (50-100) a match needs to be returned. 85 catches spelling variants; lower it for broader screening.

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

Only match this kind of entry (leave empty for all).

## `lists` (type: `array`):

Lists to screen against (leave empty for all).

## Actor input object example

```json
{
  "names": [
    "Banco Nacional de Cuba",
    "Vladimir Putin",
    "Acme Widgets Inc"
  ],
  "minScore": 85,
  "type": ""
}
```

# Actor output Schema

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

One item per name with match (true/false) and the matches found.

# 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",
        "Vladimir Putin",
        "Acme Widgets Inc"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("lx112/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": [
        "Banco Nacional de Cuba",
        "Vladimir Putin",
        "Acme Widgets Inc",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("lx112/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": [
    "Banco Nacional de Cuba",
    "Vladimir Putin",
    "Acme Widgets Inc"
  ]
}' |
apify call lx112/sanctions-screening --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,lx112/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/frlRqZD35JWwqIhYh/builds/9tDEMGDbuNPEB0EDD/openapi.json
