# Global Sanctions & KYC Screening API (OFAC, EU, UN, GLEIF) (`francogb/global-sanctions-kyc-screening-api`) Actor

Fast, browserless HTTP API screening individuals and companies against official US OFAC SDN, OFAC Consolidated, EU Financial Sanctions, UN Security Council lists, and GLEIF LEI registry.

- **URL**: https://apify.com/francogb/global-sanctions-kyc-screening-api.md
- **Developed by:** [Franco García Bailez](https://apify.com/francogb) (community)
- **Categories:** Business, Automation, Lead generation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 screened entity

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

## Global Sanctions & KYC Screening API (OFAC, EU, UN, GLEIF)

High-speed, zero-browser Pay-Per-Event Apify Actor for **AML/KYC compliance screening** against official government sanctions lists (**US OFAC SDN**, **OFAC Consolidated**, **EU Financial Sanctions FSF**, **UN Security Council Consolidated List**) enriched with live **GLEIF LEI** corporate registry metadata.

### Covered Official Compliance Feeds

| List Key | Official Authority | Coverage |
| :--- | :--- | :--- |
| `OFAC_SDN` | [US Treasury OFAC](https://ofac.treasury.gov/) | Specially Designated Nationals, aliases (`alt.csv`), and addresses/countries (`add.csv`) |
| `OFAC_CONSOLIDATED` | [US Treasury OFAC](https://ofac.treasury.gov/) | Non-SDN Consolidated Sanctions (`cons_prim.csv`) |
| `EU_SANCTIONS` | [European Commission FSF](https://finance.ec.europa.eu/) | EU Financial Sanctions consolidated list, aliases, regulations & programmes |
| `UN_SANCTIONS` | [UN Security Council](https://www.un.org/securitycouncil/) | UN Consolidated Sanctions individuals & entities XML (`consolidated.xml`) |
| **LEI Enrichment** | [GLEIF Global LEI API v1](https://api.gleif.org/) | Legal Entity Identifier (`gleifLei`), legal name, entity status & jurisdiction |

### Example Input

```json
{
  "queries": ["Sberbank", "Aerocaribbean Airlines", "ASML Holding"],
  "lists": ["OFAC_SDN", "OFAC_CONSOLIDATED", "EU_SANCTIONS", "UN_SANCTIONS"],
  "entityType": "ALL",
  "minMatchScore": 82,
  "maxMatchesPerQuery": 5,
  "enrichWithGleif": true
}
```

### Example Output Record

```json
{
  "query": "Aerocaribbean Airlines",
  "screeningStatus": "MATCH_FOUND",
  "riskLevel": "HIGH",
  "totalMatches": 1,
  "highestScore": 100.0,
  "matchedLists": ["OFAC_SDN"],
  "topMatchName": "AEROCARIBBEAN AIRLINES",
  "topMatchList": "OFAC_SDN",
  "topMatchProgram": "CUBA",
  "topMatchEntityType": "ENTITY",
  "topMatchCountries": ["Cuba"],
  "topMatchId": "OFAC-36",
  "topMatchRemarks": "",
  "matches": [...],
  "gleifLei": null,
  "gleifLegalName": null,
  "gleifEntityStatus": null,
  "gleifJurisdiction": null,
  "screenedAt": "2026-11-30T10:45:00+00:00"
}
```

### How Much Does It Cost?

Transparent **Pay-Per-Event (PPE)** pricing with zero proxies:

| Event | Free | Bronze | Silver | Gold / Platinum / Diamond |
| :--- | :---: | :---: | :---: | :---: |
| **Actor Start** (`apify-actor-start`) | `$0.005` | `$0.005` | `$0.005` | `$0.005` |
| **Screened entity** (`apify-default-dataset-item`) | `$0.004` | `$0.0035` | `$0.003` | `$0.0025` |

- **Example cost for 100 entities**: **`$0.405`** on Free (`$0.005 + 100 × $0.004`) down to **`$0.255`** on Gold+ (`$0.005 + 100 × $0.0025`).
- **Strict Budget Protection**: Honors `maxTotalChargeUsd` before and after screening so automated KYB pipelines never overspend.

### Use with AI Agents (Apify MCP Server — Claude Desktop & Cursor)

```json
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com/?actors=francogb/global-sanctions-kyc-screening-api"
    }
  }
}
```

**Example AI prompt:**

> *"Screen `["Sberbank", "ASML Holding"]` against OFAC, EU, and UN sanctions lists using `francogb/global-sanctions-kyc-screening-api` and report risk levels plus GLEIF LEI status."*

### Python SDK (`apify-client`) & cURL

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("francogb/global-sanctions-kyc-screening-api").call(
    run_input={
        "queries": ["Sberbank", "Aerocaribbean Airlines", "ASML Holding"],
        "lists": ["OFAC_SDN", "OFAC_CONSOLIDATED", "EU_SANCTIONS", "UN_SANCTIONS"],
        "enrichWithGleif": True,
    }
)
items = list(client.dataset(run["defaultDatasetId"]).iterate_items())
print(f"Screened {len(items)} entities")
```

```bash
curl -X POST "https://api.apify.com/v2/acts/francogb~global-sanctions-kyc-screening-api/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "queries": ["Sberbank", "ASML Holding"],
    "enrichWithGleif": true
  }'
```

### Compliance Disclaimer

This Actor fetches and fuzzy-matches data directly from official public government feeds (US OFAC, European Commission FSF, UN Security Council, and GLEIF) for automated pre-screening and compliance workflows. Output does not constitute formal legal or regulatory advice; always perform human compliance review on flagged matches.

### FAQ

- **Does this Actor rely on third-party paid aggregators?**
  No. It downloads and parses official government feeds directly from US Treasury OFAC, European Commission FSF, UN Security Council XML, and GLEIF v1.
- **How are false positives on generic words like "Holding" or "Bank" prevented?**
  Scoring combines Unicode NFKD accent stripping, `rapidfuzz.token_sort_ratio`, and distinctive-token matching that excludes generic corporate suffixes (`HOLDING`, `GROUP`, `LTD`, `BANK`, etc.) from subset inflation.

### More Fast, Official-API Actors by `francogb`

- **[EU Public Tenders & Procurement API (TED, TenderNed, BOAMP, UK)](https://apify.com/francogb/eu-public-tenders-aggregator)**
- **[EU Company, VAT (VIES) & LEI Verifier & Enricher API](https://apify.com/francogb/eu-company-vat-lei-verifier)**
- **[US Stock Insider (Form 4), FINRA Dark Pools & Odd-Lots API](https://apify.com/francogb/us-stock-insider-darkpool-altdata)**
- **[B2B Domain Tech Stack, DNS/DMARC, RDAP & Email Verifier API](https://apify.com/francogb/b2b-domain-techstack-dns-email-intel)**
- **[ClinicalTrials.gov v2 & openFDA Pharma / Biotech Data API](https://apify.com/francogb/clinical-trials-openfda-pharma-api)**
- **[US Federal Contracts & Grants API (USASpending & Grants.gov)](https://apify.com/francogb/us-federal-contracts-grants-api)**

# Actor input Schema

## `queries` (type: `array`):

List of individual or company names to screen against official sanctions lists (e.g. \['Sberbank', 'Aerocaribbean Airlines', 'ASML Holding']).

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

Official government/intergovernmental lists to screen against. Allowed values: OFAC_SDN, OFAC_CONSOLIDATED, EU_SANCTIONS, UN_SANCTIONS.

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

Restrict matches by subject type (ALL, INDIVIDUAL, ENTITY).

## `minMatchScore` (type: `integer`):

Minimum fuzzy match score (0-100) to flag as a potential/confirmed sanctions match.

## `maxMatchesPerQuery` (type: `integer`):

Maximum number of candidate sanctions matches included in the 'matches' array per screened query (1-25).

## `enrichWithGleif` (type: `boolean`):

When enabled, looks up corporate legal entity status and LEI code in the official GLEIF database.

## Actor input object example

```json
{
  "queries": [
    "Sberbank",
    "Aerocaribbean Airlines",
    "ASML Holding"
  ],
  "lists": [
    "OFAC_SDN",
    "OFAC_CONSOLIDATED",
    "EU_SANCTIONS",
    "UN_SANCTIONS"
  ],
  "entityType": "ALL",
  "minMatchScore": 82,
  "maxMatchesPerQuery": 5,
  "enrichWithGleif": true
}
```

# Actor output Schema

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

No description

## `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 = {
    "queries": [
        "Sberbank",
        "Aerocaribbean Airlines",
        "ASML Holding"
    ],
    "lists": [
        "OFAC_SDN",
        "OFAC_CONSOLIDATED",
        "EU_SANCTIONS",
        "UN_SANCTIONS"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("francogb/global-sanctions-kyc-screening-api").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 = {
    "queries": [
        "Sberbank",
        "Aerocaribbean Airlines",
        "ASML Holding",
    ],
    "lists": [
        "OFAC_SDN",
        "OFAC_CONSOLIDATED",
        "EU_SANCTIONS",
        "UN_SANCTIONS",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("francogb/global-sanctions-kyc-screening-api").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 '{
  "queries": [
    "Sberbank",
    "Aerocaribbean Airlines",
    "ASML Holding"
  ],
  "lists": [
    "OFAC_SDN",
    "OFAC_CONSOLIDATED",
    "EU_SANCTIONS",
    "UN_SANCTIONS"
  ]
}' |
apify call francogb/global-sanctions-kyc-screening-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,francogb/global-sanctions-kyc-screening-api"
        }
    }
}
```

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/XbbHKPVgzjK1WICPT/builds/hQg8jr7f2LvIVOUZW/openapi.json
