# EU KYB & Compliance Screener (VIES VAT, GLEIF LEI & Sanctions) (`sviat-boilo-tools/eu-kyb-compliance-screener`) Actor

Zero-browser B2B KYB compliance screener: validates EU VAT numbers via official VIES REST API, enriches GLEIF LEI legal entity data, and screens against official OFAC & UN sanctions lists. Built for fintech, e-commerce, n8n, Clay, and MCP agents.

- **URL**: https://apify.com/sviat-boilo-tools/eu-kyb-compliance-screener.md
- **Developed by:** [Sviat Boilo](https://apify.com/sviat-boilo-tools) (community)
- **Categories:** Business, Lead generation, MCP servers
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 entities screened

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

## EU KYB & Compliance Screener (VIES VAT, GLEIF LEI & Sanctions)

Zero-browser **Know Your Business (KYB)** and B2B compliance verification Actor built on official European and international public registries. In a single API call, validate **EU VAT numbers via the European Commission VIES REST API**, enrich **GLEIF Legal Entity Identifiers (LEI)**, and screen company names against **US Treasury OFAC (SDN + Consolidated Non-SDN)** and **UN Security Council Consolidated** sanctions lists.

![EU KYB & Compliance Screener Output Table Preview](https://api.apify.com/v2/key-value-stores/u2Vj4IdgFvaYvqxpV/records/eu-kyb-compliance-screener-preview.png)

### What It Checks Per Entity

- **Official EU VIES VAT Validation:** Accepts EU VAT numbers in any formatting (`IE 638-8047V`, `DE811128135`, etc.), returns live `vatValid` boolean status, company name, and registered address (automatically normalizing placeholder dashes `---` returned by Germany and other member states).
- **GLEIF LEI Enrichment:** Accepts direct 20-character LEI codes or matches resolved company names via the official **GLEIF REST API v1**, returning `lei`, `leiEntityStatus` (`ACTIVE` / `INACTIVE`), `leiRegistrationStatus`, `leiLegalName`, `leiJurisdiction`, `leiCountry`, and `leiCity`.
- **OFAC & UN Sanctions Screening:** Downloads and indexes official OFAC SDN, OFAC Non-SDN Consolidated, and UN Security Council Consolidated lists in memory, normalizing legal suffixes (`Ltd`, `GmbH`, `s.r.o.`, `LLC`, etc.) and diacritics to catch exact and near-exact matches with zero external API keys.
- **Deterministic Risk & Compliance Flags:** Outputs `verified`, `riskLevel` (`low`, `medium`, `high`, `unknown`), and actionable `complianceFlags` (`sanctions_match`, `invalid_eu_vat`, `lei_entity_inactive`, `vies_gateway_unavailable`).

### Popular Use Cases

1. **EU B2B E-Commerce & SaaS Checkout:** Verify customer EU VAT IDs before issuing reverse-charge 0% VAT invoices, with graceful handling of national VIES gateway outages.
2. **Fintech & Marketplace KYB Onboarding:** Combine VIES registration checks, GLEIF LEI corporate status, and OFAC/UN sanctions screening in one automated step via **n8n**, **Make**, or **Clay**.
3. **Scheduled Monthly Vendor Audits:** Run recurring monthly Apify Schedules on your supplier/customer list to detect lapsed LEIs, deactivated VAT numbers, or new sanctions hits.
4. **AI Compliance Agents (MCP):** Clean flat JSON inputs and outputs make this Actor ready for autonomous compliance checks via Apify MCP.

### Input Parameters

| Field | Type | Default | Description |
|---|---|---|---|
| `entities` | `string[]` | `["IE6388047V", "DE811128135", "Apify Technologies s.r.o."]` | EU VAT numbers, 20-char LEIs, or company names (optionally `Name | CC`). |
| `checkVies` | `boolean` | `true` | Validate EU VAT inputs against the official VIES REST API. |
| `checkGleif` | `boolean` | `true` | Enrich entity records from the official GLEIF LEI registry. |
| `checkSanctions` | `boolean` | `true` | Screen resolved names against OFAC & UN sanctions feeds. |
| `sanctionsMatchThreshold` | `number` | `0.85` | Minimum normalized token similarity (`0.70`–`1.00`) for sanctions hits. |
| `maxConcurrency` | `integer` | `4` | Concurrent entities screened (`1`–`10`). |
| `requestTimeoutSecs` | `integer` | `12` | Per-request timeout in seconds (`5`–`30`). |
| `maxEntities` | `integer` | `500` | Maximum unique entities screened per run (`1`–`10000`). |

### Output Example

```json
{
  "input": "IE6388047V",
  "inputType": "eu_vat",
  "normalizedQuery": "IE6388047V",
  "status": "ok",
  "billable": true,
  "verified": true,
  "riskLevel": "low",
  "complianceFlags": [],
  "countryCode": "IE",
  "vatNumber": "IE6388047V",
  "viesStatus": "ok",
  "vatValid": true,
  "viesCompanyName": "GOOGLE IRELAND LIMITED",
  "resolvedCompanyName": "GOOGLE IRELAND LIMITED",
  "gleifStatus": "ok",
  "lei": "1FN51LDHILXJ06W1QN20",
  "leiEntityStatus": "ACTIVE",
  "sanctionsStatus": "ok",
  "sanctionsHit": false,
  "sanctionsMatchCount": 0,
  "error": null,
  "checkedAt": "2026-11-26T14:00:00.000Z"
}
```

### Pay-Per-Event Pricing

| Event | Price (USD) | Charged When |
|---|---|---|
| `entity-screened` | `$0.005` | Entity is screened with `status: "ok"` or `status: "not_found"` |

- **100 entities:** `~$0.50`
- **1,000 entities:** `~$5.00`
- **10,000 entities:** `~$50.00`
- **Never charged:** Invalid inputs (`invalid_input`) and runs where all enabled upstream gateways are unavailable (`service_unavailable`) are never billed.

### Legal & GDPR Notice

This Actor queries exclusively official public regulatory endpoints (European Commission VIES, Global Legal Entity Identifier Foundation GLEIF, US Treasury OFAC public sanctions files, and UN Security Council public consolidated list). It processes public corporate compliance data and does not persist client input payloads outside standard ephemeral Apify run storage.

### Ready-to-Import n8n Template, MCP & Clay Integration

- **Open-source n8n Data Table Template (JSON):** [08-eu-kyb-compliance-screener.json](https://github.com/sviatBoilo/apify-b2b-n8n-mcp-templates/blob/main/templates/08-eu-kyb-compliance-screener.json)
- **Full 9-Template Showcase & Setup Guide:** [sviatBoilo/apify-b2b-n8n-mcp-templates](https://github.com/sviatBoilo/apify-b2b-n8n-mcp-templates)
- **Apify MCP Endpoint (Claude / Cursor / Windsurf):** `https://mcp.apify.com/?actors=sviat-boilo-tools/eu-kyb-compliance-screener`
- **Clay / n8n Sync API:** `POST https://api.apify.com/v2/acts/Sviat-boilo-tools~eu-kyb-compliance-screener/run-sync-get-dataset-items`

### Complete B2B & Automation Suite by Sviat Boilo Tools

| Actor | Best For | Pricing |
| :--- | :--- | :--- |
| **[Domain Trust, Deliverability & B2B Infrastructure Profiler](https://apify.com/sviat-boilo-tools/domain-trust-profiler)** | Cold-email MX/SPF/DMARC/DKIM, DNS age & SaaS stack detection | `$2.00 / 1,000 domains` |
| **[AI-Readiness (llms.txt), AI-Bot Access & Schema.org GEO Auditor](https://apify.com/sviat-boilo-tools/ai-readiness-auditor)** | Auditing `/llms.txt`, `GPTBot`/`ClaudeBot` rules & Schema.org GEO signals | `$3.00 / 1,000 websites` |
| **[SEC EDGAR Newly Funded Startups (Form D) & Hiring Signals](https://apify.com/sviat-boilo-tools/sec-funded-startups)** | Fresh SEC Form D venture rounds + Greenhouse/Lever/Ashby ATS detection | `$15.00 / 1,000 startups` |
| **[Shopify Store Analyzer, App Stack & Marketing Gap Profiler](https://apify.com/sviat-boilo-tools/shopify-store-gap-profiler)** | Shopify verification, app stack & DTC marketing outreach hooks | `$5.00 / 1,000 stores` |
| **[Remote Tech Jobs Feed (Himalayas, RemoteOK, Remotive & More)](https://apify.com/sviat-boilo-tools/remote-tech-jobs-feed)** | Aggregated & deduplicated remote tech jobs across 5 official JSON APIs | `$2.00 / 1,000 jobs` |
| **[Public Tenders Monitor (EU TED, UK Find a Tender & Prozorro)](https://apify.com/sviat-boilo-tools/public-tenders-monitor)** | Daily EU, UK & Ukraine government tender alerts via official APIs | `$5.00 / 1,000 tenders` |
| **[Package Release, Breaking Changes & CVE Security Radar (MCP)](https://apify.com/sviat-boilo-tools/package-release-cve-radar)** | Auditing npm, PyPI, Crates.io & Go dependencies + live OSV.dev CVEs | `$2.00 / 1,000 packages` |
| **[EU New Company Registrations Feed (Norway, Finland & GLEIF)](https://apify.com/sviat-boilo-tools/eu-new-companies-feed)** | Daily newly incorporated European companies from 3 official registries | `$4.00 / 1,000 companies` |

# Actor input Schema

## `entities` (type: `array`):

List of EU VAT IDs (e.g., IE6388047V), 20-character LEI codes, or company names (optionally with country code like 'Acme GmbH | DE'). Duplicates are removed automatically.

## `checkVies` (type: `boolean`):

Validate EU VAT numbers against the official European Commission VIES REST API.

## `checkGleif` (type: `boolean`):

Look up LEI status, jurisdiction, legal name, and address via the official GLEIF REST API.

## `checkSanctions` (type: `boolean`):

Screen resolved entity names against official US Treasury OFAC (SDN + Non-SDN) and UN Security Council Consolidated sanctions lists.

## `sanctionsMatchThreshold` (type: `number`):

Minimum normalized token similarity score (0.70 to 1.00) required to flag a sanctions match.

## `maxConcurrency` (type: `integer`):

Maximum number of entities screened concurrently.

## `requestTimeoutSecs` (type: `integer`):

Timeout per upstream API request in seconds.

## `maxEntities` (type: `integer`):

Safety cap on the maximum number of unique entities screened per run.

## Actor input object example

```json
{
  "entities": [
    "IE6388047V",
    "DE811128135",
    "Apify Technologies s.r.o."
  ],
  "checkVies": true,
  "checkGleif": true,
  "checkSanctions": true,
  "sanctionsMatchThreshold": 0.85,
  "maxConcurrency": 4,
  "requestTimeoutSecs": 12,
  "maxEntities": 500
}
```

# Actor output Schema

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

No description

## `summary` (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 = {
    "entities": [
        "IE6388047V",
        "DE811128135",
        "Apify Technologies s.r.o."
    ],
    "checkVies": true,
    "checkGleif": true,
    "checkSanctions": true,
    "sanctionsMatchThreshold": 0.85,
    "maxConcurrency": 4,
    "requestTimeoutSecs": 12,
    "maxEntities": 500
};

// Run the Actor and wait for it to finish
const run = await client.actor("sviat-boilo-tools/eu-kyb-compliance-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 = {
    "entities": [
        "IE6388047V",
        "DE811128135",
        "Apify Technologies s.r.o.",
    ],
    "checkVies": True,
    "checkGleif": True,
    "checkSanctions": True,
    "sanctionsMatchThreshold": 0.85,
    "maxConcurrency": 4,
    "requestTimeoutSecs": 12,
    "maxEntities": 500,
}

# Run the Actor and wait for it to finish
run = client.actor("sviat-boilo-tools/eu-kyb-compliance-screener").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 '{
  "entities": [
    "IE6388047V",
    "DE811128135",
    "Apify Technologies s.r.o."
  ],
  "checkVies": true,
  "checkGleif": true,
  "checkSanctions": true,
  "sanctionsMatchThreshold": 0.85,
  "maxConcurrency": 4,
  "requestTimeoutSecs": 12,
  "maxEntities": 500
}' |
apify call sviat-boilo-tools/eu-kyb-compliance-screener --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sviat-boilo-tools/eu-kyb-compliance-screener"
        }
    }
}
```

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/8yxGOltcQ54k2EevM/builds/gR6A50JGd8oqBE260/openapi.json
