# OFAC Sanctions Screener — Free SDN List Batch Screening API (`ntriqpro/ofac-sanctions-screener`) Actor

Free OFAC sanctions screening API for AML/KYC compliance. Batch screen names and entities against US Treasury SDN list. No API key or subscription required. Essential for fintech, lending, and due diligence workflows. Pay-per-use compliance screening.

- **URL**: https://apify.com/ntriqpro/ofac-sanctions-screener.md
- **Developed by:** [daehwan kim](https://apify.com/ntriqpro) (community)
- **Categories:** AI, Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

$100.00 / 1,000 charged when a sanctions screening scan is successes

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

Screen companies, individuals, and entities against the OFAC Specially Designated Nationals (SDN) list at $0.05 per query — replacing enterprise tools like World-Check ($10K–$80K/yr) for teams that need AML and sanctions compliance data on demand.

### What does Sanctions Screening Intelligence do?

Sanctions Screening Intelligence downloads the live OFAC SDN list directly from the US Department of the Treasury and performs fuzzy-match screening against every entry. Each query returns a risk assessment (clear, possible match, probable match, or confirmed match) with a numeric match score, so you can tune sensitivity to your compliance threshold.

The Actor parses the full SDN XML file — which covers thousands of individually sanctioned persons, companies, vessels, and aircraft across dozens of active sanctions programs — and runs your query against all entries including alternate names and aliases. Results include the matched entity's designation date, sanctions program codes, nationality, and a direct link to the Treasury's published list for audit trail purposes.

Five modes cover different operational needs: single entity screening with detailed match analysis, batch screening of multiple names in one run, program-level lookup to enumerate all entities under a specific sanctions program (e.g., IRAN, CUBA, SDGT), country-level filtering to retrieve all SDN entries associated with a given country, and a summary overview dashboard with total entity counts and program statistics.

#### Key features

- **Live OFAC SDN data** — fetches directly from the US Treasury (treasury.gov) on every run, no stale cache
- **Fuzzy name matching** — configurable match threshold (0–100) to catch name variations, transliterations, and aliases
- **5 screening modes** — entity screen, batch screen, program lookup, country sanctions, and sanctions overview
- **Risk assessment output** — `clear`, `possible_match`, `probable_match`, or `confirmed_match` classification with top score
- **Alias and AKA matching** — SDN entries include alternate names; the actor matches against all of them
- **Batch screening** — pass a comma-separated list of names and receive one result object per entity
- **Program-level enumeration** — list every entity sanctioned under a specific OFAC program code
- **Country filtering** — retrieve all SDN entries for a specific country (e.g., Russia, Iran, North Korea)
- **Audit-ready output** — includes total entries searched, match count, data source citation, and SDN publication metadata
- **No API key required** — OFAC SDN list is freely downloadable from the US Treasury

### Use cases

- **Financial institutions**: Screen new customers and counterparties against OFAC SDN as part of KYC/AML onboarding workflows
- **Trade compliance teams**: Verify suppliers, buyers, and freight partners before executing cross-border transactions
- **Legal and consulting firms**: Run sanctions checks on clients and adverse parties as part of due diligence engagements
- **Fintech and payments companies**: Integrate automated SDN screening into payment approval pipelines via the Apify API
- **HR and hiring teams**: Screen executive candidates against global sanctions lists before senior appointments
- **Real estate and investment firms**: Check beneficial owners and deal counterparties for sanctions exposure

### How to use Sanctions Screening Intelligence

1. **Configure input** — Select a screening mode, then provide a query name for entity screen, a comma-separated list for batch screen, a program code (e.g., `IRAN`, `CUBA`, `SDGT`) for program lookup, or a country name for country sanctions mode. Set the match threshold (default 70) to control sensitivity.
2. **Run the Actor** — Click "Start" in Apify Console or call via the Apify API
3. **Get structured results** — Output is pushed to the Apify dataset as structured JSON

### Input parameters

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `mode` | string | Yes | `entity_screen` | Screening mode: `entity_screen`, `batch_screen`, `program_lookup`, `country_sanctions`, or `sanctions_overview` |
| `query` | string | No | `Banco Nacional De Cuba` | Entity name to screen in `entity_screen` mode |
| `names` | string | No | — | Comma-separated list of names for `batch_screen` mode |
| `program` | string | No | — | OFAC program code for `program_lookup` mode (e.g., `IRAN`, `UKRAINE-EO13662`, `SDGT`) |
| `country` | string | No | — | Country name for `country_sanctions` mode (e.g., `Iran`, `Russia`, `Cuba`) |
| `matchThreshold` | integer | No | `70` | Minimum match score (0–100). Lower = more results, higher = fewer false positives |
| `limit` | integer | No | `50` | Maximum number of results to return (1–500) |

### Output example

```json
{
  "mode": "entity_screen",
  "query": "Banco Nacional De Cuba",
  "sdnMetadata": {
    "publishDate": "2026-03-20",
    "totalEntries": 12847
  },
  "totalEntriesSearched": 12847,
  "matchCount": 3,
  "riskAssessment": {
    "riskLevel": "confirmed_match",
    "topScore": 98,
    "recommendation": "CONFIRMED MATCH — Entity found on OFAC SDN list. Do not proceed."
  },
  "matches": [
    {
      "name": "BANCO NACIONAL DE CUBA",
      "type": "Entity",
      "program": ["CUBA"],
      "nationality": "Cuba",
      "designationDate": "1963-07-08",
      "matchScore": 98,
      "matchedOn": "primary_name",
      "sdnId": "10001",
      "remarks": "Cuba; Gender Male"
    },
    {
      "name": "BANCO NACIONAL DE CUBA",
      "type": "Entity",
      "program": ["CUBA"],
      "nationality": "Cuba",
      "matchScore": 92,
      "matchedOn": "aka_name"
    }
  ],
  "dataSources": ["OFAC SDN List — US Department of the Treasury"],
  "timestamp": "2026-03-21T10:00:00.000Z"
}
````

### Pricing

Each successful screening run costs **$0.05** under Apify's pay-per-event model. You only pay when results are successfully delivered. Failed runs are not charged. [Learn more about pay-per-event pricing](https://docs.apify.com/platform/actors/running/pay-per-event).

Batch screening multiple names in one run counts as a single event. 1,000 screening operations cost $50, compared to World-Check at $10,000–$80,000 per year.

### API and integrations

Call this Actor via the [Apify API](https://docs.apify.com/api/v2) to embed sanctions screening into your onboarding flows, schedule nightly re-screens of your customer database, or connect results to Slack for compliance team alerts. Results are available as JSON, CSV, or Excel from the Apify dataset.

### Limitations

- This Actor screens against the OFAC SDN list only. It does not cover the EU Consolidated Sanctions List, UN Security Council List, or other national sanctions regimes.
- Fuzzy matching reduces false negatives from name variations but cannot guarantee detection of all sanctioned entity aliases, particularly in non-Latin scripts.
- The OFAC SDN file is large; each run downloads the full list. Expect run times of 30–90 seconds depending on Apify infrastructure load.

# Actor input Schema

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

Select the type of sanctions screening to perform

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

Name or entity to screen against OFAC sanctions lists (used in entity\_screen mode).

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

Comma-separated list of names to screen in batch mode (e.g., 'Company A, Person B, Entity C').

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

Sanctions program code to filter by (e.g., 'IRAN', 'UKRAINE-EO13662', 'SDGT', 'CUBA'). Used in program\_lookup mode.

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

Country name to filter sanctioned entities by (e.g., 'Iran', 'Russia', 'Cuba', 'North Korea'). Used in country\_sanctions mode.

## `matchThreshold` (type: `integer`):

Minimum match score (0-100) to include in results. Lower = more results, higher = stricter matching. Default: 70.

## `limit` (type: `integer`):

Maximum number of results to return.

## Actor input object example

```json
{
  "mode": "entity_screen",
  "query": "Banco Nacional De Cuba",
  "matchThreshold": 70,
  "limit": 50
}
```

# 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 = {};

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

# Run the Actor and wait for it to finish
run = client.actor("ntriqpro/ofac-sanctions-screener").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call ntriqpro/ofac-sanctions-screener --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=ntriqpro/ofac-sanctions-screener",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "OFAC Sanctions Screener — Free SDN List Batch Screening API",
        "description": "Free OFAC sanctions screening API for AML/KYC compliance. Batch screen names and entities against US Treasury SDN list. No API key or subscription required. Essential for fintech, lending, and due diligence workflows. Pay-per-use compliance screening.",
        "version": "1.0",
        "x-build-id": "nNab4tkHKuXcBw2Q2"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/ntriqpro~ofac-sanctions-screener/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-ntriqpro-ofac-sanctions-screener",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/ntriqpro~ofac-sanctions-screener/runs": {
            "post": {
                "operationId": "runs-sync-ntriqpro-ofac-sanctions-screener",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/ntriqpro~ofac-sanctions-screener/run-sync": {
            "post": {
                "operationId": "run-sync-ntriqpro-ofac-sanctions-screener",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "mode"
                ],
                "properties": {
                    "mode": {
                        "title": "Screening Mode",
                        "enum": [
                            "entity_screen",
                            "batch_screen",
                            "program_lookup",
                            "country_sanctions",
                            "sanctions_overview"
                        ],
                        "type": "string",
                        "description": "Select the type of sanctions screening to perform",
                        "default": "entity_screen"
                    },
                    "query": {
                        "title": "Entity Name / Query",
                        "type": "string",
                        "description": "Name or entity to screen against OFAC sanctions lists (used in entity_screen mode).",
                        "default": "Banco Nacional De Cuba"
                    },
                    "names": {
                        "title": "Names (Batch)",
                        "type": "string",
                        "description": "Comma-separated list of names to screen in batch mode (e.g., 'Company A, Person B, Entity C')."
                    },
                    "program": {
                        "title": "Sanctions Program",
                        "type": "string",
                        "description": "Sanctions program code to filter by (e.g., 'IRAN', 'UKRAINE-EO13662', 'SDGT', 'CUBA'). Used in program_lookup mode."
                    },
                    "country": {
                        "title": "Country",
                        "type": "string",
                        "description": "Country name to filter sanctioned entities by (e.g., 'Iran', 'Russia', 'Cuba', 'North Korea'). Used in country_sanctions mode."
                    },
                    "matchThreshold": {
                        "title": "Match Threshold (%)",
                        "minimum": 0,
                        "maximum": 100,
                        "type": "integer",
                        "description": "Minimum match score (0-100) to include in results. Lower = more results, higher = stricter matching. Default: 70.",
                        "default": 70
                    },
                    "limit": {
                        "title": "Result Limit",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "Maximum number of results to return.",
                        "default": 50
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
