# Sanctions Screening: OFAC Check, AML KYC & LEI Lookup (`moggedhq/sanctions-kyc-screening`) Actor

Screen people and companies against OFAC, UN, EU and UK sanctions lists with fuzzy matching, aliases and source evidence. Add GLEIF LEI identity and parent data for KYC and AML screening. $0.004/name + $0.005/run: 100 names about $0.41. No login or data API key.

- **URL**: https://apify.com/moggedhq/sanctions-kyc-screening.md
- **Developed by:** [mogged](https://apify.com/moggedhq) (community)
- **Categories:** Lead generation, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.20 / 1,000 name screenings

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Check, AML KYC & LEI Lookup

For teams checking customers, suppliers and counterparties, this Actor screens names against the official OFAC, UN, EU and UK sanctions lists and returns the potential matches with their evidence. Optional GLEIF enrichment adds a company's LEI, registered identity, direct parent and ultimate parent.

**$0.004 per screened name, plus $0.005 once per successful run and the $0.00005 platform start charge. Screening 100 distinct names costs about $0.41 at the base price. No source account, login or data API key is needed.** Paid Apify plans receive the discounts shown in the pricing panel.

Results include matched aliases, official identifiers, programmes, countries, birth dates, addresses and source links. OFAC includes SDN and non-SDN; UK uses the current FCDO list.

A score identifies a name to review. It is not a legal determination, an identity verification or a probability that the input is a sanctioned person.

### What you get

| Field | Meaning |
|---|---|
| `verdict` | Readable potential-match, no-name-match or incomplete-screening result |
| `recordType` | `SCREENING`, free `NOTE`, or the run's `SUMMARY` row |
| `status` | `ok` for a completed screening; notes explain invalid inputs or an unavailable source |
| `input` | Submitted name and optional country, date of birth and type |
| `inputIndices`, `references` | Input positions and your external references, including merged duplicates |
| `matched` | `true` when at least one official name meets the threshold; `false` after a complete check with no match; `null` on an incomplete note |
| `bestScore` | Highest returned similarity from 50 to 100; `null` if nothing meets the threshold |
| `matchCount` | Total list entries meeting the threshold before the output cap |
| `matches`, `matchesTruncated` | Ranked evidence and whether additional matches were omitted by your cap |
| `listsChecked` | The exact list files used for the screening |
| `leiStatus`, `lei` | GLEIF lookup status and the selected exact company identity, when found |
| `leiCandidates`, `leiNote` | Ambiguity candidates or an explanation when enrichment cannot be completed |
| `minScore`, `screenedAt` | Applied threshold and result observation time |

Every match contains `list`, `entryId`, `entryName`, `matchedName`, `aliases`, `score`, `type`, `programs`, `country`, `listedOn`, `lastUpdated`, `datesOfBirth`, `addresses`, `identifiers`, `remarks` and `sourceUrl`, where the source supplies them. Fields absent from the source remain empty or null. EU matches also retain regulation references and publication URLs. UK matches preserve historic OFSI Group IDs where the current source includes them.

`countryCheck`, `dateOfBirthCheck` and `typeCheck` expose agreement, disagreement or missing evidence without suppressing matches or changing similarity.

### The official sources

| Selection | Source files |
|---|---|
| `ofac` | U.S. Treasury OFAC Specially Designated Nationals and consolidated non-SDN lists |
| `ofac_sdn` | OFAC SDN only |
| `ofac_non_sdn` | Consolidated non-SDN only, including the programmes published in that file |
| `un` | UN Security Council consolidated list |
| `eu` | European Commission consolidated financial sanctions XML export |
| `uk` | FCDO UK Sanctions List |

Each run fetches official downloads, validates XML and list sizes, checks OFAC declared counts and rejects duplicate identifiers. Published aliases are included.

`SUMMARY` retains publication/generation date, HTTP modification date, observation time, SHA-256, entry count, alias count and source URL. Download time does not imply publisher update time.

In the November 17, 2026 cloud checks, the official files contained 19,565 OFAC SDN entries, 486 non-SDN entries, 1,007 UN entries, 6,269 EU entries and 6,440 UK entries. The EU file reported an October 23 generation date. Those are observations of the published exports, not guaranteed future list sizes or update intervals.

### How to use it

1. Paste names into **Names to screen**, or supply JSON objects under **Names with identity details**. Choose the lists and minimum similarity.
2. Start the Actor. Leave GLEIF enrichment off for name screening alone, or enable it when you need company identity and parent information.
3. Open the results and review the evidence. Export the dataset to JSON, CSV or Excel, or consume it through the API.

The free summary follows the results. Filter `recordType == "SCREENING"` for completed checks; handle `NOTE` rows separately. Views retain recordType for this purpose. Three views show results, matches and company identity. The HTML report displays the first 1,000 screenings; the dataset contains all output.

### Input reference

| Input | Default | Description |
|---|---|---|
| `names` | Three example names in the prefill | Array of people or company names; no default name is inserted into records-only input |
| `records` | None | Objects with `name` and optional `country`, `dateOfBirth`, `type`, `reference` |
| `lists` | `ofac`, `un`, `eu`, `uk` | One or more supported list selections |
| `minScore` | `85` | Minimum string similarity, from 50 to 100 |
| `includeLei` | `false` | Retrieve exact GLEIF company identity and reported parents |
| `maxMatchesPerName` | `5` | Maximum returned matches across all selected files, from 1 to 50 |
| `proxyConfiguration` | Direct cloud requests | Optional explicit Apify or custom proxy configuration |

`names` and `records` are combined. Identical normalized names and country/birth-date/type context are screened once, merging positions and references. Different contexts remain separate. Up to 100,000 submitted inputs are accepted; exceeding the bound produces a note.

Types: `person`, `company`, `vessel`, `aircraft`; synonyms `individual`, `entity`, `organization` are accepted. Birth dates use `YYYY`, `YYYY-MM`, `YYYY-MM-DD`. Use registered company names and ISO countries for GLEIF.

#### Name screening

```json
{
  "names": ["SBERBANK", "BANK MELLI IRAN", "Example Supplier QZX 739"],
  "lists": ["ofac", "un", "eu", "uk"],
  "minScore": 85,
  "maxMatchesPerName": 5
}
```

#### Company screening with LEI identity

```json
{
  "records": [
    {"name": "Apple Inc.", "country": "US", "type": "company", "reference": "supplier-1"},
    {"name": "Google LLC", "country": "US", "type": "company", "reference": "supplier-2"}
  ],
  "includeLei": true
}
```

### How matching works

Names are lowercased, combining accents removed, punctuation converted to spaces and whitespace collapsed. Each official primary name and alias is compared in original and alphabetically sorted word order. The score is the higher normalized Levenshtein similarity: `100 × (1 − edit distance / longer string length)`. A score of 100 means normalized equality, including reordered words.

The threshold is applied before rounding. Results sort by score, list and official identifier. Separate entries on different lists remain separate evidence. This reproducible score is not OFAC's search algorithm. No nickname or transliteration is invented beyond published aliases.

### GLEIF identity and parents

GLEIF enrichment accepts one exact normalized legal or previous name among at most 100 returned search candidates. An ISO country filters the lookup. Multiple exact candidates or a larger search return `ambiguous` rather than an arbitrary identity.

The record includes LEI, legal and other names, addresses, jurisdiction, entity and registration status, registration number and last update. Direct and ultimate parents include identity and the relationship record where supplied. Reporting exceptions are retained separately from missing relationships.

Statuses are `found`, `not_found`, `ambiguous`, `unavailable`, `not_requested` and `not_applicable`. Explicit people, vessels and aircraft skip company lookup. A GLEIF outage is recorded independently from completed sanctions screening.

### Price and spending limits

| Item | Base price | Bronze | Silver | Gold and above |
|---|---:|---:|---:|---:|
| Completed name screening | $0.004 | $0.0038 | $0.0036 | $0.0032 |
| List preparation, once with the first completed screening | $0.005 | $0.00475 | $0.0045 | $0.004 |
| Platform start, minimum one unit | $0.00005 | $0.00005 | $0.00005 | $0.00005 |

At the base price and default memory, one completed name costs $0.00905; two cost $0.01305; 100 cost $0.40505; 1,000 cost $4.00505. GLEIF identity and parent retrieval are included in these prices. There is no extra charge for each candidate match, alias, selected list, retry or duplicate.

Complete no-match checks are charged. Invalid or incomplete screening notes have no screening/preparation fees; the platform start can still apply.

Set maximum charge in Apify run options. All fees for a row must fit before delivery. Preparation is never charged alone. Saved rows and stable charge keys protect delivery through reboot.

### Use from code

Python with `apify-client`:

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("moggedhq/sanctions-kyc-screening").call(run_input={
    "names": ["BANK MELLI IRAN", "Example Supplier QZX 739"],
    "minScore": 85,
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    if row.get("recordType") == "SCREENING":
        print(row["input"]["name"], row["matched"], row["bestScore"])
```

### Use with AI agents (MCP)

Connect MCP to `https://mcp.apify.com/?tools=moggedhq/sanctions-kyc-screening`. Example request: Screen these suppliers against OFAC, UN, EU and UK; include GLEIF identity and match evidence.

Agents should inspect `recordType`, `status`, `listsChecked` and `leiStatus`; an incomplete note differs from a complete no-match check.

### Scheduled screening and integrations

Save input as an Apify task and attach your chosen schedule. Each run downloads official exports and creates its own dataset and list versions. Repeated names are charged again on a new run; duplicates within one run remain free. No previous clearance or cross-run cache is reused.

Use n8n, Make, Zapier or a finished-run webhook to retrieve results. Retain the run identifier, threshold and list hashes with your own review disposition when comparing observations.

### Limits

- Similarity produces review candidates, not legal determinations, identity verification, sanctions clearance or guaranteed absence from every restriction.
- Coverage is the selected official exports. PEPs, adverse media, private watchlists, ownership-derived sanctions and other national regimes are excluded.
- OFAC non-SDN restrictions differ from SDN measures. List membership does not establish identical legal effects.
- Unpublished aliases, initial expansion and inferred transliterations are not generated. Country, birth-date and type differences remain evidence rather than suppressing matches.
- EU `listedOn` is the earliest supplied regulation publication, labelled `listedOnBasis`; it may differ from original designation. OFAC standard XML has no original listing date, so it is null.
- GLEIF requires an exact normalized legal/previous name among at most 100 candidates. Accounting parents do not provide complete beneficial ownership.
- Any required list outage produces free incomplete notes. GLEIF availability is reported separately. Government export delays and source errors remain visible through actual dates and hashes.
- The form accepts 100,000 inputs and 50 matches per name. Completed bulk testing covers 1,100 inputs per run, not the maximum form limit.

### Measured runs and output

Two cloud runs on November 17, 2026 each delivered 1,100 unique screenings. All 1,100 sampled official names matched; the mixed batch returned 965 expected matches and 135 expected negatives. A real reboot recovered three rows with three name charges and one preparation charge. The 1 GB prefill completed in 41 seconds.

Excerpt from recorded run `YMgu0ERPoIrwgnnfm`, with one match shown:

```json
{
  "verdict": "Potential sanctions name match",
  "recordType": "SCREENING",
  "status": "ok",
  "input": {
    "name": "SBERBANK",
    "country": null,
    "dateOfBirth": null,
    "type": null
  },
  "matched": true,
  "bestScore": 100,
  "matches": [
    {
      "list": "eu",
      "entryId": "EU.8537.32",
      "entryName": "Sberbank",
      "score": 100,
      "sourceUrl": "https://webgate.ec.europa.eu/fsd/fsf/public/files/xmlFullSanctionsList_1_1/content?token=dG9rZW4tMjAxNw"
    }
  ]
}
```

### FAQ

**Does no match mean a party is safe to onboard?**
It means no published name in the selected snapshots met your threshold. Identity and applicable measures are separate questions.

**Are both OFAC lists included?**
Yes. `ofac` expands to SDN and consolidated non-SDN. Their originating files and programmes remain distinct in the evidence.

**Is the old OFSI file used?**
No. UK data comes from the current FCDO UK Sanctions List. Historic OFSI Group IDs are retained where supplied.

**What happens on a reboot?**
Source snapshots and input plans stay in run storage. The dataset ledger and platform charge counts are reconciled before delivery continues. Contradictory counts stop further charges instead of being guessed.

**Who provides the data?**
The U.S. Treasury Office of Foreign Assets Control, United Nations Security Council, European Commission, UK Foreign, Commonwealth & Development Office and Global Legal Entity Identifier Foundation. This independent tool normalizes their published data; none endorses it. EU content is attributed under the Commission reuse policy, UK public-sector information under Open Government Licence v3.0, and GLEIF LEI data under CC0.

# Actor input Schema

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

People or company names. Combined with records. Identical name and identity context is screened and charged once.

## `records` (type: `array`):

Objects with name, optional country, dateOfBirth (YYYY, YYYY-MM or YYYY-MM-DD), type (person, company, vessel, aircraft), and reference. Country, birth date and type comparisons are evidence; they do not silently remove name matches.

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

All selected lists must load before any name is charged. OFAC includes SDN and consolidated non-SDN. UK uses the current FCDO UK Sanctions List.

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

Score from 50 to 100. 100 is an exact normalized name or official alias, including reordered words. This is string similarity, not probability or legal risk.

## `includeLei` (type: `boolean`):

Look up exact normalized legal/previous names in GLEIF. Returns identity, registration status, direct and ultimate parent, or reporting exception. People are skipped when type is person. Ambiguities and outages are explicit.

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

Top matches across all selected lists, score descending. matchCount includes matches omitted by this cap.

## `proxyConfiguration` (type: `object`):

Official downloads work directly from Apify cloud. Enable the default Apify proxy or provide your own proxy if your deployment requires it. Explicit proxy groups, country and disable are preserved.

## Actor input object example

```json
{
  "names": [
    "SBERBANK",
    "BANK MELLI IRAN",
    "Example Supplier QZX 739"
  ],
  "lists": [
    "ofac",
    "un",
    "eu",
    "uk"
  ],
  "minScore": 85,
  "includeLei": false,
  "maxMatchesPerName": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

No description

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

No description

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

No description

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

No description

## `report` (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": [
        "SBERBANK",
        "BANK MELLI IRAN",
        "Example Supplier QZX 739"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("moggedhq/sanctions-kyc-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": [
        "SBERBANK",
        "BANK MELLI IRAN",
        "Example Supplier QZX 739",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("moggedhq/sanctions-kyc-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": [
    "SBERBANK",
    "BANK MELLI IRAN",
    "Example Supplier QZX 739"
  ]
}' |
apify call moggedhq/sanctions-kyc-screening --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,moggedhq/sanctions-kyc-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/L9QX9rJIQKkKZuFOm/builds/p5E38eWpkghIoRpVw/openapi.json
