# Global AML/KYC Sanctions & PEP Screener (`song921619730/global-sanctions-pep-checker`) Actor

Real-time AML/KYC screening engine querying consolidated OFAC (US), EU, UN, and UK sanctions and PEP lists with rapid fuzzy matching ($0.020/call).

- **URL**: https://apify.com/song921619730/global-sanctions-pep-checker.md
- **Developed by:** [song](https://apify.com/song921619730) (community)
- **Features:** Limited permissions
- **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/actors/running/actors-in-store.md#pay-per-usage

## 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

## Global AML/KYC Sanctions & PEP Screener

> Instant, automated Anti-Money Laundering (AML) and Know Your Customer (KYC) screening against consolidated OFAC, EU, UN, and UK sanctions and Politically Exposed Persons (PEPs) with rapid fuzzy matching at zero monthly subscription cost.

[![Apify Actor](https://img.shields.io/badge/Apify-Actor-blue?logo=apify)](https://apify.com)
[![Pricing](https://img.shields.io/badge/Pricing-Pay--Per--Event%20\($0.020\)-green)](https://apify.com)
[![Docker](https://img.shields.io/badge/Container-256MB%20Optimized-orange)](https://docker.com)
[![Compliance](https://img.shields.io/badge/AML%2FKYC-FATF%20%26%205AMLD-success)](https://apify.com)

***

### 💡 The Problem Solved

Financial regulations worldwide (FATF Recommendations, EU 5AMLD/6AMLD, USA PATRIOT Act, UK Sanctions Act) require fintechs, banks, marketplaces, cross-border merchants, and legal firms to screen customers, suppliers, and counterparties against global government sanctions and Politically Exposed Person (PEP) databases prior to onboarding or processing payments.

Legacy enterprise compliance solutions (LexisNexis, World-Check, Refinitiv) lock businesses into **$10,000 to $50,000 annual recurring contracts**, making automated compliance unaffordable for growing startups, developers, and agile teams.

This Actor solves this by providing:

- **Zero Monthly Subscription**: Pay only **$0.020 per screening query** using Apify Pay-Per-Event (PPE).
- **Consolidated Multi-Jurisdiction Coverage**: Screens against US OFAC (SDN, Non-SDN), European Union Restrictive Measures (FSF), United Nations Security Council Sanctions (UNSC), UK HM Treasury (OFSI), and international PEP registries.
- **Smart Transliteration & Fuzzy Matching**: Uses token-sort sequence matching to catch spelling variations, Cyrillic/Arabic transliterations (*"Vladimir Poutine" vs "Vladimir Putin"*), reversed word orders, and partial middle names.
- **PEP & Country Filtering**: Toggle Politically Exposed Persons (PEPs) on or off, or filter by ISO-2 country codes.
- **Audit-Ready Structured JSON**: Emits compliance clearance objects or risk alerts directly to datasets, ready for CRM, Stripe, or ERP storage.

***

### 💰 Transparent Pay-Per-Event (PPE) Pricing

No monthly minimums, no setup fees, no recurring subscriptions. You only pay for screening lookups performed:

| Billable Event | Unit Price | Deliverable |
|---|---|---|
| `sanctions_screening` | **$0.020 USD** | Match status (`MATCH_FOUND` vs `CLEAR`), highest similarity score, matching sanction authority, programs, country, and risk flags |

***

### 📥 Input Parameters

| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| `name` | `string` | **Yes** | — | Target entity, company, or individual name to screen (e.g. `'Viktor Bout'`, `'PMC Wagner'`). |
| `fuzzyThreshold` | `number` | No | `0.8` | Similarity score threshold between `0.0` and `1.0`. Scores at or above this threshold flag a match. |
| `includePeps` | `boolean` | No | `true` | Include Politically Exposed Persons (PEPs) and government officials in screening. |
| `countries` | `array` | No | `[]` | Optional list of 2-letter ISO country codes to filter results (e.g. `["RU", "IR"]`). |
| `apiKey` | `string` | No | `""` | Optional OpenSanctions API key for live search against `api.opensanctions.org`. If omitted, uses embedded zero-auth local index. |

#### Sample Input JSON

```json
{
  "name": "Viktor Bout",
  "fuzzyThreshold": 0.8,
  "includePeps": true,
  "countries": ["RU"]
}
```

***

### 📤 Output Format

#### Scenario A: Sanction Match Detected (`MATCH_FOUND`)

```json
{
  "query": "Viktor Bout",
  "isMatch": true,
  "highestScore": 1.0,
  "matchCount": 1,
  "status": "MATCH_FOUND",
  "matches": [
    {
      "id": "ofac-10492",
      "name": "Viktor Anatolyevich Bout",
      "matchedName": "Viktor Bout",
      "schema": "Person",
      "isSanctioned": true,
      "isPep": false,
      "score": 1.0,
      "sanctions": [
        "US OFAC SDGT",
        "UN Sanctions (1521/1532)",
        "UK OFSI Consolidated"
      ],
      "authorities": ["OFAC", "UN", "UK OFSI"],
      "countries": ["RU", "AE", "US", "ZA"],
      "birthDate": "1967-01-13",
      "topics": ["sanction", "crime.trafficking"],
      "dataset": "us_ofac"
    }
  ],
  "filters": {
    "fuzzyThreshold": 0.8,
    "includePeps": true,
    "countries": ["RU"]
  },
  "source": "embedded_index",
  "timestamp": "2026-10-19T03:15:00Z"
}
```

#### Scenario B: Clean Clearance (`CLEAR`)

```json
{
  "query": "Alice Smith Nonexistent Innocent Person",
  "isMatch": false,
  "highestScore": 0.3636,
  "status": "CLEAR",
  "message": "No sanctions or PEP records found matching 'Alice Smith Nonexistent Innocent Person'.",
  "timestamp": "2026-10-19T03:15:00Z"
}
```

***

### ⚡ Integration Snippets

#### 1. Python (`apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_API_TOKEN")

run = client.actor("your-username/global-sanctions-pep-checker").call(
    run_input={
        "name": "Viktor Bout",
        "fuzzyThreshold": 0.8
    }
)

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    if item.get("isMatch"):
        print(f"ALERT: Sanction match detected for '{item['name']}'! Authorities: {item['authorities']}")
    else:
        print(f"CLEAR: Customer cleared for onboarding.")
```

#### 2. Make.com (Integromat)

1. Trigger: **Stripe / HubSpot / CRM -> New Customer Created**.
2. Action: **Apify -> Run an Actor** (`global-sanctions-pep-checker`).
3. Input: Map customer `Full Name` or `Company Name`.
4. Router Filter:
   - If `isMatch == true`: Send high-priority Slack/Email alert to Compliance Officer, freeze payout.
   - If `isMatch == false`: Update CRM record status to `KYC_PASSED`.

#### 3. Zapier

1. Trigger: **New Row in Google Sheets** (Supplier Onboarding Roster).
2. Action: **Apify -> Run Actor** (`global-sanctions-pep-checker`).
3. Pass Supplier Business Name. Store `highestScore` and `status` in audit columns.

#### 4. cURL / REST API

```bash
curl -X POST "https://api.apify.com/v2/acts/your-username~global-sanctions-pep-checker/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Vladimir Poutine",
    "fuzzyThreshold": 0.75
  }'
```

***

### 🛡️ Covered Sanctions Authorities & Regimes

- **United States**: OFAC Specially Designated Nationals (SDN), Sectoral Sanctions (SSI), Foreign Sanctions Evaders (FSE).
- **European Union**: EU Consolidated Financial Sanctions List (CFSP / FSF).
- **United Nations**: UN Security Council Sanctions Committee Consolidated List.
- **United Kingdom**: HM Treasury / Office of Financial Sanctions Implementation (OFSI).
- **Politically Exposed Persons**: Heads of State, Cabinet Ministers, Central Bank Governors, and Senior Judiciary.

# Actor input Schema

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

Full name of the individual, company, vessel, or organization to screen against global sanctions and PEP lists.

## `fuzzyThreshold` (type: `number`):

Fuzzy similarity threshold (0.0 to 1.0). Default 0.8. Scores at or above this threshold are flagged as matches.

## `includePeps` (type: `boolean`):

Include Politically Exposed Persons (PEPs), public officials, and family/associates in screening.

## `countries` (type: `array`):

Optional list of 2-letter ISO country codes to filter targets (e.g. \['RU', 'IR', 'BY']). Leave empty to search globally.

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

Optional OpenSanctions API key for live search against api.opensanctions.org. If omitted, uses high-speed embedded zero-auth local index.

## Actor input object example

```json
{
  "name": "Viktor Bout",
  "fuzzyThreshold": 0.8,
  "includePeps": true,
  "countries": []
}
```

# Actor output Schema

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

Link to consolidated AML/KYC sanctions match records

# 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 = {
    "name": "Viktor Bout"
};

// Run the Actor and wait for it to finish
const run = await client.actor("song921619730/global-sanctions-pep-checker").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 = { "name": "Viktor Bout" }

# Run the Actor and wait for it to finish
run = client.actor("song921619730/global-sanctions-pep-checker").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 '{
  "name": "Viktor Bout"
}' |
apify call song921619730/global-sanctions-pep-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,song921619730/global-sanctions-pep-checker"
        }
    }
}
```

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/xpAAU7apPsd1L1azm/builds/sfgQxas3jbySJAeAf/openapi.json
