# OFAC Sanctions Intelligence — SDN Screening & Normalization (`wakey7dev/ofac-sanctions-intelligence`) Actor

Screen names, companies, vessels and aircraft against the live US Treasury OFAC SDN sanctions list. Returns normalized entities with deduplicated aliases, addresses, IDs, DOBs and match confidence for AML/KYC compliance. Free, no API key.

- **URL**: https://apify.com/wakey7dev/ofac-sanctions-intelligence.md
- **Developed by:** [Chris Wakefield](https://apify.com/wakey7dev) (community)
- **Categories:** Business
- **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/platform/actors/running/actors-in-store#pay-per-usage

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

![Chris The Dev](https://raw.githubusercontent.com/chriswakefield87/appstore-screenshot-translator/main/assets/actor-banner.png)

## OFAC Sanctions Intelligence — SDN Screening, Aliases & Entity Resolution

Screen any name, company, vessel or aircraft against the **live US Treasury OFAC Specially Designated Nationals (SDN) sanctions list** — the authoritative list used for AML/KYC, trade-compliance and due-diligence screening worldwide.

Instead of dumping raw CSV rows, this Actor downloads OFAC's official XML export, parses every one of the ~19,000 sanctioned entities into a clean, normalized record, and runs **alias-aware matching** so a query that hits an "a.k.a." / "f.k.a." alias resolves to the correct canonical entity.

### What makes this different

- **Alias-aware matching** — matches against primary names *and* every alias (a.k.a. / f.k.a.), with per-alias strength (strong/weak) retained.
- **Entity resolution** — each result is one canonical entity with its aliases, addresses, IDs, dates of birth, nationalities, programs and vessel info consolidated into a single record.
- **Confidence scoring** — every match carries a 0–1 score and a match type (`exact`, `alias`, `substring`, `token`, `fuzzy`).
- **Normalized fields** — title-cased names, split program lists, structured addresses/IDs, deduplicated aliases.

### Input

| Field | Type | Required | Description |
|---|---|---|---|
| `searchQuery` | string | ✅ | Name, company, vessel or individual to screen (e.g. `Gazprombank`, `Viktor Vekselberg`). |
| `entityType` | select | — | Filter by type: `Individual`, `Entity`, `Vessel`, `Aircraft`. |
| `program` | string | — | Filter by sanctions program code (e.g. `SDGT`, `RUSSIA-EO14024`, `IRAN`). |
| `minScore` | number | — | Minimum match confidence 0–1 (default `0.6`). |
| `maxResults` | integer | — | Max entities to return (default `20`, max `100`). |

### Example input

```json
{
  "searchQuery": "Gazprombank",
  "maxResults": 5
}
```

### Example output

```json
{
  "ofacId": "14985",
  "name": "Gazprombank OAO",
  "nameNormalized": "Gazprombank Oao",
  "entityType": "Entity",
  "programs": ["RUSSIA-EO14024"],
  "programCount": 1,
  "aliases": [
    { "name": "GPB (OAO)", "type": "a.k.a.", "category": "strong" },
    { "name": "Gazprombank", "type": "a.k.a.", "category": "strong" }
  ],
  "aliasCount": 2,
  "addresses": [
    { "address1": "16 Nametkina St.", "city": "Moscow", "postalCode": "117420", "country": "Russia" }
  ],
  "matchScore": 1.0,
  "matchType": "exact",
  "matchedOn": "Gazprombank OAO"
}
```

### Use cases

- **AML / KYC onboarding** — screen customer and counterparty names during onboarding and periodic review.
- **Trade & export compliance** — check counterparties, vessels and carriers against sanctions programs.
- **Due diligence** — quick entity-resolution lookup for M\&A, lending and vendor vetting.
- **Watchlist monitoring** — batch-screen names and alert on new designations.

### Data source

US Department of the Treasury, Office of Foreign Assets Control (OFAC) — Sanctions List Service. Public, free, no API key required. The SDN list is updated daily; this Actor downloads the latest export on every run.

**Disclaimer:** Screening results are provided as-is for reference and are not a substitute for a licensed sanctions-screening product or legal advice. Always verify against the official OFAC source.

# Actor input Schema

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

Name, company, vessel or individual to screen against the OFAC SDN list (e.g. 'Gazprombank', 'Viktor Vekselberg', 'Rosneft', 'Alfa Bank').

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

Filter matches by entity type. Leave on 'All types' to search everything.

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

Filter by OFAC sanctions program code (e.g. 'SDGT', 'RUSSIA-EO14024', 'SDNTK', 'IRAN', 'CUBA'). Leave empty for all programs.

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

Minimum match confidence 0.0–1.0 (default 0.6). Lower values surface fuzzier candidates; higher values are stricter.

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

Maximum number of matched entities to return (default: 20, max: 100).

## Actor input object example

```json
{
  "searchQuery": "Gazprombank",
  "entityType": "",
  "minScore": 0.6,
  "maxResults": 20
}
```

# Actor output Schema

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

Complete normalized entity records with aliases, addresses, IDs, DOBs, programs and match scores.

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

Human-readable summary table of matched entities with type and program breakdowns.

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

Aggregate statistics: total screened, matches, entity type and program distributions.

# 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 = {
    "searchQuery": "Gazprombank"
};

// Run the Actor and wait for it to finish
const run = await client.actor("wakey7dev/ofac-sanctions-intelligence").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 = { "searchQuery": "Gazprombank" }

# Run the Actor and wait for it to finish
run = client.actor("wakey7dev/ofac-sanctions-intelligence").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 '{
  "searchQuery": "Gazprombank"
}' |
apify call wakey7dev/ofac-sanctions-intelligence --silent --output-dataset

```

## MCP server setup

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

```

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/HuDcIzBBVcsp812SI/builds/ogfjWyJ7yUCsS4lx9/openapi.json
