# Sanctions & PEP Screening API: OFAC, EU, UK (`reclarative_kernel/sanctions-pep-screening-api-ofac-eu-uk`) Actor

Screen names against OFAC (SDN + Consolidated), EU and UK sanctions and PEP lists. Fuzzy + alias matching with explainable match scores. First-pass AML filter.

- **URL**: https://apify.com/reclarative\_kernel/sanctions-pep-screening-api-ofac-eu-uk.md
- **Developed by:** [Marcus AureliusII](https://apify.com/reclarative_kernel) (community)
- **Categories:** AI, Agents
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $80.00 / 1,000 sanctions screenings

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

Sanctions & PEP Screening — OFAC, EU, UK Watchlist Check
Screen a person or company name against official sanctions lists — OFAC SDN + Consolidated, EU, and UK — with fuzzy name matching, alias/AKA expansion, and accent folding. Returns an explainable hit / potential-match / clear result. Built for AML and KYB compliance, due diligence, AI agents and MCP.
Type `Ivan Petrov` (or `Global Arms LLC`) and get back every matching sanctioned entity, each with a similarity score, the exact name/alias that matched, the list it's on, and the sanctions programme — so a human or agent can audit every hit.
What this actor does
OFAC sanctions check — screen against the US Treasury SDN and Consolidated lists.
Multi-list sanctions screening — OFAC + EU + UK in one call, results merged and de-duplicated.
Fuzzy name matching — catches spelling variants (Mohammed / Muhammad), word reordering (Ali, Mohammed), and accents (José / Jose).
Alias / AKA screening — matches against every known alias, not just the primary name.
Explainable results — each match shows the score, match type, and which name matched. No black-box scoring.
Why this beats a raw list crawler
Most sanctions tools just dump the list. The value in screening isn't the data — it's the matching quality, which is exactly what compliance teams pay for:
Source-agnostic matching engine — name normalization, Unicode/accent folding, alias expansion, token-reorder + fuzzy scoring, tuned to reduce false positives.
Explainable, not a black box — every hit reports why it matched and how strongly, which an auditor (or an AI agent) can reason about.
Always-current data — lists are cached with a short TTL and every result is stamped with the data's fetch time, so you never silently screen against stale lists.
Graceful multi-source — OFAC is the rock-solid core; EU/UK are fetched best-effort and report their own status, so one endpoint changing never breaks a screen.
Use cases
AML / KYC onboarding — screen a new customer before activating an account.
KYB supplier & counterparty checks — vet a company and its controllers against sanctions.
AI agent compliance step — an MCP tool an agent calls to screen a name mid-workflow.
Batch / portfolio re-screening — re-check an existing book of customers as lists update.
Transaction pre-checks — screen a payee name before releasing funds.
Input
Field	Type	Description
`query`	string (required)	Person or company name to screen.
`lists`	array	Which lists: `OFAC_SDN`, `OFAC_CONS`, `UK_HMT`, `EU`. Default: all.
`fuzzyThreshold`	integer	Min similarity for a potential match (default `85`).
`exactThreshold`	integer	Score for a strong "hit" (default `95`).
`maxResults`	integer	Max matches returned (default `25`).
`refreshHours`	integer	Re-download a list if cache older than this (default `12`).
`sourceUrlOverrides`	object	Override a list URL if its endpoint changes.
Output (shape)
```json
{
  "query": "Ivan Petrov",
  "riskLevel": "hit",
  "matchCount": 1,
  "matches": [
    {
      "score": 100,
      "matchType": "name_match",
      "matchedName": "Ivan Petrov",
      "entityName": "Ivan Petrov",
      "list": "OFAC_SDN",
      "entityType": "Individual",
      "programs": ["UKRAINE-EO13662"],
      "uid": "OFAC_SDN-12345",
      "remarks": "DOB 01 Jan 1970"
    }
  ],
  "listsScreened": ["OFAC_SDN", "OFAC_CONS", "UK_HMT", "EU"],
  "sources": [
    { "list": "OFAC_SDN", "status": "ok-fresh", "count": 18700, "dataFetchedAt": "2026-06-01T09:00:00Z" }
  ],
  "totalEntriesScreened": 53000,
  "disclaimer": "Screening aid / first-pass filter only. Matches must be confirmed by a human."
}
````

`riskLevel`: hit (≥ exact threshold), potential\_match (≥ fuzzy threshold), clear (nothing above fuzzy threshold). `clear` is not a guarantee — it means no match on the screened lists.
Use as an MCP tool for AI agents
Once published, reachable via the hosted Apify MCP server at mcp.apify.com. An agent passes a name and gets a verdict-ready screening result — ideal as a compliance step inside a KYB workflow (e.g. after resolving a company with the related Companies House actor, screen its directors here).
⚠️ Compliance notice
This actor is a screening aid / first-pass filter, not a regulatory-grade compliance product. Matches are probabilistic and must be confirmed by a human. A `clear` result is not a legal guarantee. Always follow your own regulated AML/sanctions procedures.
Data sources (official, free)
OFAC SDN & Consolidated — US Treasury Sanctions List Service (public, no auth, no rate limit).
UK HMT/OFSI Consolidated List — UK financial sanctions (best-effort; URL overridable).
EU Consolidated List — EU restrictive measures (best-effort; URL/token overridable).
Related actors
Part of a financial-intelligence & compliance actor suite:
UK Companies House Company Check — resolve a UK company, then screen its officers here.
SEC EDGAR Financial Data & Filings — US public-company financials by ticker.
(Add your published Store URLs here once live.)
Run locally

```bash
npm i -g apify-cli
apify run -i '{"query": "Ivan Petrov"}'
```

Notes / limits
Non-Latin scripts (Cyrillic/Arabic) rely on the lists' own romanized aliases; deep transliteration is out of scope.
EU/UK endpoints change periodically; if a source reports `unavailable` or `parsed-empty`, update its URL/columns via `sourceUrlOverrides`.
First run downloads full lists (slower); subsequent runs use the cached index until `refreshHours` elapses.

# Actor input Schema

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

Person or company name to screen against sanctions lists (e.g. 'Ivan Petrov' or 'Global Arms LLC').

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

Which official lists to include. OFAC is rock-solid; EU and UK are best-effort (degrade gracefully if their endpoint changes).

## `fuzzyThreshold` (type: `integer`):

Minimum similarity to report as a potential match. Lower = more matches (more false positives). Default 85.

## `exactThreshold` (type: `integer`):

Score at/above which a match counts as a strong 'hit'. Default 95.

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

Maximum matched entities to return, highest score first.

## `refreshHours` (type: `integer`):

Re-download a list if the cached copy is older than this. Lower = fresher data, slower runs. Default 12.

## `sourceUrlOverrides` (type: `object`):

Override a list's download URL if the official endpoint changes, e.g. {"EU": "https://..."}.

## Actor input object example

```json
{
  "query": "Ivan Petrov",
  "lists": [
    "OFAC_SDN",
    "OFAC_CONS",
    "UK_HMT",
    "EU"
  ],
  "fuzzyThreshold": 85,
  "exactThreshold": 95,
  "maxResults": 25,
  "refreshHours": 12
}
```

# 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 = {
    "query": "Vladimir Putin",
    "lists": [
        "OFAC_SDN",
        "OFAC_CONS",
        "UK_HMT",
        "EU"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("reclarative_kernel/sanctions-pep-screening-api-ofac-eu-uk").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 = {
    "query": "Vladimir Putin",
    "lists": [
        "OFAC_SDN",
        "OFAC_CONS",
        "UK_HMT",
        "EU",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("reclarative_kernel/sanctions-pep-screening-api-ofac-eu-uk").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 '{
  "query": "Vladimir Putin",
  "lists": [
    "OFAC_SDN",
    "OFAC_CONS",
    "UK_HMT",
    "EU"
  ]
}' |
apify call reclarative_kernel/sanctions-pep-screening-api-ofac-eu-uk --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Sanctions & PEP Screening API: OFAC, EU, UK",
        "description": "Screen names against OFAC (SDN + Consolidated), EU and UK sanctions and PEP lists. Fuzzy + alias matching with explainable match scores. First-pass AML filter.",
        "version": "0.0",
        "x-build-id": "lqCHFEpJ0yoimqVqt"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/reclarative_kernel~sanctions-pep-screening-api-ofac-eu-uk/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-reclarative_kernel-sanctions-pep-screening-api-ofac-eu-uk",
                "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/reclarative_kernel~sanctions-pep-screening-api-ofac-eu-uk/runs": {
            "post": {
                "operationId": "runs-sync-reclarative_kernel-sanctions-pep-screening-api-ofac-eu-uk",
                "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/reclarative_kernel~sanctions-pep-screening-api-ofac-eu-uk/run-sync": {
            "post": {
                "operationId": "run-sync-reclarative_kernel-sanctions-pep-screening-api-ofac-eu-uk",
                "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": [
                    "query"
                ],
                "properties": {
                    "query": {
                        "title": "Name to screen",
                        "type": "string",
                        "description": "Person or company name to screen against sanctions lists (e.g. 'Ivan Petrov' or 'Global Arms LLC')."
                    },
                    "lists": {
                        "title": "Lists to screen against",
                        "type": "array",
                        "description": "Which official lists to include. OFAC is rock-solid; EU and UK are best-effort (degrade gracefully if their endpoint changes).",
                        "items": {
                            "type": "string",
                            "enum": [
                                "OFAC_SDN",
                                "OFAC_CONS",
                                "UK_HMT",
                                "EU"
                            ]
                        },
                        "default": [
                            "OFAC_SDN",
                            "OFAC_CONS",
                            "UK_HMT",
                            "EU"
                        ]
                    },
                    "fuzzyThreshold": {
                        "title": "Fuzzy match threshold (0-100)",
                        "minimum": 50,
                        "maximum": 100,
                        "type": "integer",
                        "description": "Minimum similarity to report as a potential match. Lower = more matches (more false positives). Default 85.",
                        "default": 85
                    },
                    "exactThreshold": {
                        "title": "Strong match threshold (0-100)",
                        "minimum": 70,
                        "maximum": 100,
                        "type": "integer",
                        "description": "Score at/above which a match counts as a strong 'hit'. Default 95.",
                        "default": 95
                    },
                    "maxResults": {
                        "title": "Max matches returned",
                        "minimum": 1,
                        "maximum": 200,
                        "type": "integer",
                        "description": "Maximum matched entities to return, highest score first.",
                        "default": 25
                    },
                    "refreshHours": {
                        "title": "List cache refresh (hours)",
                        "minimum": 1,
                        "maximum": 168,
                        "type": "integer",
                        "description": "Re-download a list if the cached copy is older than this. Lower = fresher data, slower runs. Default 12.",
                        "default": 12
                    },
                    "sourceUrlOverrides": {
                        "title": "Source URL overrides (advanced)",
                        "type": "object",
                        "description": "Override a list's download URL if the official endpoint changes, e.g. {\"EU\": \"https://...\"}."
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
