# KYB Business Verification – Registry, Sanctions & VAT Check (`gazidev/kyb-business-verification`) Actor

Verify companies in one call: match the name or number in official registers (UK, France, Norway, Finland, Czechia, Estonia, Brazil, 6 US states, GLEIF LEI), screen against OFAC and UK sanctions, validate the EU VAT number, and get risk flags. Bulk, with sources.

- **URL**: https://apify.com/gazidev/kyb-business-verification.md
- **Developed by:** [Cemal Atakli](https://apify.com/gazidev) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 company verifieds

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

## KYB Business Verification – Company Registry, Sanctions & EU VAT Check

**KYB Business Verification** checks a list of companies in one run and returns **one verdict row per company**:

1. **Registry match** in an official company register (by registry number or by name), with status, incorporation date, address and legal form.
2. **LEI** from the GLEIF index.
3. **EU VAT check** in the European Commission's **VIES** service (valid/invalid, registered name and address).
4. **Sanctions screening** of the company name against the **US OFAC SDN list** and the **UK Sanctions List** (the **EU consolidated list** is optional).
5. **Risk flags** (`dissolved`, `incorporated_lt_6m`, `name_mismatch`, `vat_invalid`, `vat_name_mismatch`, `sanctions_hit`, `no_lei` …) and a `riskLevel` of `low`, `review` or `high`.

Every row lists its `sources` and `licences`. All data comes from government registers, GLEIF, the EC and the sanctions-list publishers. Nothing is scraped from commercial websites.

> **Screening aid, not legal advice.** A sanctions hit is a fuzzy name match. Confirm every hit on the official list, and every registry match in the official register, before you act on it.

### Coverage: what is checked where

Please read this before you buy. The registry part covers **7 countries, 6 US states and the GLEIF LEI index**. It is **not** a 50-state US Secretary-of-State search.

| Country | Register | Name search | Number lookup |
|---|---|---|---|
| France (FR) | SIRENE / RNE (recherche-entreprises.api.gouv.fr) | yes | SIREN, SIRET, FR VAT |
| Norway (NO) | Enhetsregisteret (data.brreg.no) | yes | org number |
| Finland (FI) | PRH / YTJ open data | yes | Business ID 1234567-8 |
| Czechia (CZ) | ARES | yes | IČO |
| Estonia (EE) | e-Business Register open-data bulk file (daily) | yes | registry code, EE VAT |
| United Kingdom (GB) | Companies House Basic Company Data (**monthly** snapshot) | **no**: give the company number | company number |
| Brazil (BR) | Receita Federal CNPJ open data | **no**: give the CNPJ | CNPJ |
| United States: **NY, CO, CT, OR, PA, TX only** | state open-data portals | "name starts with" | state entity ID (`"country": "US-NY"`) |
| **Any other country** (DE, NL, IT, ES, CH …) | **GLEIF LEI index only** | legal name | LEI-registered number |

- For other countries the Actor can only find companies that hold an **LEI**. Most large and listed companies, banks and funds have one. Most small businesses do not, so they come back as `not_found`.
- **The other 44 US states and DC are not covered.** A US company that is not registered in one of the six states comes back as `not_found`.
- The UK snapshot is monthly, so a company incorporated in the last few weeks may not be in it yet.

**Sanctions lists:** US OFAC SDN (public domain), UK Sanctions List (FCDO, OGL v3) and, optionally, the EU consolidated financial sanctions list (EC reuse notice). Only **entity** designations are screened, not individuals or vessels. **The UN list is not used** because its terms forbid commercial reuse; the UK and EU lists implement UN designations. Officers and owners are **not** screened.

**VAT:** VIES covers the 27 EU member states and Northern Ireland (XI). UK GB numbers, Norwegian MVA numbers and other non-EU numbers are not checked.

### How a company is matched

- **With `registryId`:** the number is checked against the country's check-digit rule and looked up. If you also give a `name` that does not match the registered name, you get `name_mismatch`. If the number is not found, the Actor searches by name and adds `registry_id_not_found`.
- **With a name only:** the register is searched. If exactly one company has the same name (legal-form words such as Ltd, AS, Oyj, AG or Aktiengesellschaft are ignored), the result is `verified`. If there are several, the result is `ambiguous` and you get the top 5 `candidates`; add the registry number to settle it. If nothing matches, the result is `not_found`.

### Input example

```json
{
  "companies": [
    {"name": "Equinor ASA", "country": "NO"},
    {"name": "Monzo Bank Limited", "country": "GB", "registryId": "09446231"},
    {"name": "Danone", "country": "FR", "vatNumber": "FR27552032534"},
    {"name": "Siemens AG", "country": "DE"},
    {"name": "Banco Nacional de Cuba", "country": "CU"}
  ],
  "screenSanctions": true,
  "sanctionsLists": ["ofac", "uk"],
  "sanctionsMinScore": 90,
  "checkVat": true
}
```

`country` is a 2-letter ISO code. For the US, use `US-NY`, `US-CO`, `US-CT`, `US-OR`, `US-PA` or `US-TX`. If you leave out `country` but give a VAT number, the country is taken from the VAT prefix.

### Output example (shortened)

```json
{
  "input": {"name": "Banco Nacional de Cuba", "country": "CU"},
  "matchStatus": "not_found",
  "riskLevel": "high",
  "riskFlags": ["not_found", "sanctions_hit"],
  "summary": "Banco Nacional de Cuba: not found; risk high (not_found, sanctions_hit).",
  "sanctions": {
    "isHit": true, "bestScore": 1.0,
    "hits": [{"list": "ofac", "listEntryId": "306", "matchedName": "BANCO NACIONAL DE CUBA", "score": 1.0,
              "programs": ["CUBA"], "countries": ["Switzerland", "Spain", "Japan", "Panama"]}],
    "listsScreened": ["ofac", "uk"], "listVersions": {"ofac": "2026-11-05", "uk": "03/11/2026"}
  },
  "chargedEvent": "company-screened"
}
```

A verified row also contains `registry`: the full normalized register record (name, other names, legal form, status, incorporation and dissolution dates, address, activity codes, VAT ID, registry URL, source and licence). It also has `lei` and `vat` {`vatNumber`, `source`, `valid`, `status`, `name`, `address`, `nameMatch`}. The table view shows the flat fields: `matchStatus`, `riskLevel`, `riskFlags`, `matchedName`, `registryId`, `companyStatus`, `incorporationDate`, `lei`, `vatValid` and `sanctionsHit`.

### Risk flags

| Flag | Meaning | Risk level |
|---|---|---|
| `sanctions_hit` | Name similar to an entity on a selected sanctions list (score ≥ threshold) | high |
| `dissolved` | Register says deleted, dissolved, bankrupt or in liquidation | high |
| `name_mismatch` | Your name differs from the registered name for the number you gave | review |
| `vat_invalid` | The VAT number you gave is not valid in VIES or fails its check digit | review |
| `vat_name_mismatch` | The VIES name differs from the registered name | review |
| `incorporated_lt_6m` | Incorporated less than 6 months ago | review |
| `registry_id_not_found` | Your registry number was not found | review |
| `not_found` / `ambiguous_match` | No unique register match | review |
| `no_lei` | No LEI found (informational: most small companies have none) | does not raise the level |

### Pricing (pay per event)

| Event | When | Price |
|---|---|---|
| `company-verified` | A unique register match was found (includes LEI, VIES and sanctions screening) | **$0.003** |
| `company-screened` | No register match, but the name was screened against sanctions lists | $0.0005 |
| Actor start | once per run | $0.00005 |

**Free:** `ambiguous` rows, error rows, invalid input, and `not_found` rows when sanctions screening is off. That is $3 per 1,000 verified companies. The run stops cleanly at your maximum charge, and the `OUTPUT` record says how many companies were not processed.

| Alternative on Apify Store | What it does | Price |
|---|---|---|
| US business-entity searches (several) | US Secretary-of-State registry rows only (more US states) | ≈ $0.002 per row |
| Sanctions-only screening Actors | OFAC or OpenSanctions name search | $0.002 – $0.01 per name |
| **KYB Business Verification** | Registry + LEI + VIES + OFAC/UK/EU sanctions + risk flags in one row | **$0.003 per verified company** |

### Use cases

- **Customer / merchant onboarding (KYB):** check that the company exists, is active and is not on a sanctions list before you open an account.
- **Vendor and supplier risk:** run your whole supplier list each quarter and filter `riskLevel != "low"`.
- **Marketplaces and B2B SaaS:** check seller VAT numbers and company status in bulk.
- **Feeding a manual review queue:** the `summary` and `riskFlags` fields tell a reviewer what to look at.

### Use with AI agents (Apify MCP)

Add `gazidev/kyb-business-verification` to Claude, Cursor or any MCP client through the [Apify MCP server](https://mcp.apify.com). An agent can then answer "Is this supplier real, active and not sanctioned?" with a single tool call. The `summary` field is a one-sentence answer, and `sources`/`licences` let the agent cite where each fact came from.

### FAQ

**How fresh are the sanctions lists?** The official files are downloaded on the first run of each day and cached for 24 hours in a key-value store named `kyb-sanctions-cache` in **your own** Apify account. Later runs that day start in about a second. The list dates are in `sanctions.listVersions`. If a publisher is unreachable, the Actor uses the most recent cached copy, or screens the remaining lists, and says so in `sanctions.listErrors`.

**How does sanctions matching work?** Names are normalized (accents, punctuation and legal-form words such as Ltd, LLC, PJSC or AG are removed) and compared with every name and alias on the list using a token-sorted similarity score. When the names are not identical, the distinctive words must match too, so "NMP Trading" does not hit "M and S Trading". Names with 5 characters or fewer only hit on an exact match. Lower `sanctionsMinScore` to see more possible matches.

**Can it screen directors or owners?** Not in this version. Officers are not fetched, and only entity designations are screened.

**Is this scraping?** No. Every source is an official API or open-data file published for reuse, and each source's rate limits are respected. The User-Agent names this Actor.

**Licences.** France: Licence Ouverte 2.0. Norway: NLOD 2.0. Finland and Estonia: CC BY 4.0. UK Companies House and UK Sanctions List: OGL v3. GLEIF: CC0. OFAC: US public domain. EU list and VIES: European Commission reuse notice. Czechia, Brazil and the US states: public government open data. Keep the `sources`/`licences` fields when you pass the data on.

# Actor input Schema

## `companies` (type: `array`):

One object per company: {"name", "country", "registryId", "vatNumber"}. Give at least a name or a registryId. country = 2-letter ISO code; for the US use "US-NY", "US-CO", "US-CT", "US-OR", "US-PA" or "US-TX". Name search works in FR, NO, FI, CZ, EE and the 6 US states; for GB (UK) and BR give the registry number (company number / CNPJ). Any other country is matched in the worldwide GLEIF LEI index only. A plain string is read as a company name.

## `screenSanctions` (type: `boolean`):

Fuzzy-match the company name (input, registered and VIES names, plus former names) against entity designations on the selected official sanctions lists. A screening aid - confirm every hit on the official list.

## `sanctionsLists` (type: `array`):

ofac = US OFAC SDN list, uk = UK Sanctions List (FCDO), eu = EU consolidated financial sanctions list (adds a 25 MB download on the first run of the day). The UN list is not offered (its terms forbid commercial reuse); the UK and EU lists implement UN designations.

## `sanctionsMinScore` (type: `integer`):

Minimum name similarity (token-sorted, legal-form words like Ltd/LLC/PJSC ignored) for a sanctions hit. Lower = more hits to review.

## `checkVat` (type: `boolean`):

Checks the vatNumber you give (or, if none, the VAT ID published by the register, e.g. France) in the European Commission's VIES service: valid/invalid plus the registered name and address where the member state shares them.

## `maxItems` (type: `integer`):

Process at most this many companies from the list (0 = all).

## Actor input object example

```json
{
  "companies": [
    {
      "name": "Equinor ASA",
      "country": "NO"
    },
    {
      "name": "Monzo Bank Limited",
      "country": "GB",
      "registryId": "09446231"
    },
    {
      "name": "Banco Nacional de Cuba",
      "country": "CU"
    }
  ],
  "screenSanctions": true,
  "sanctionsLists": [
    "ofac",
    "uk"
  ],
  "sanctionsMinScore": 90,
  "checkVat": true,
  "maxItems": 0
}
```

# Actor output Schema

## `verification` (type: `string`):

No description

## `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 = {
    "companies": [
        {
            "name": "Equinor ASA",
            "country": "NO"
        },
        {
            "name": "Monzo Bank Limited",
            "country": "GB",
            "registryId": "09446231"
        },
        {
            "name": "Banco Nacional de Cuba",
            "country": "CU"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("gazidev/kyb-business-verification").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 = { "companies": [
        {
            "name": "Equinor ASA",
            "country": "NO",
        },
        {
            "name": "Monzo Bank Limited",
            "country": "GB",
            "registryId": "09446231",
        },
        {
            "name": "Banco Nacional de Cuba",
            "country": "CU",
        },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("gazidev/kyb-business-verification").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 '{
  "companies": [
    {
      "name": "Equinor ASA",
      "country": "NO"
    },
    {
      "name": "Monzo Bank Limited",
      "country": "GB",
      "registryId": "09446231"
    },
    {
      "name": "Banco Nacional de Cuba",
      "country": "CU"
    }
  ]
}' |
apify call gazidev/kyb-business-verification --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,gazidev/kyb-business-verification"
        }
    }
}
```

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/IU6TfdkgyRV2S1Wac/builds/vRSPZGhvWNETEKi3J/openapi.json
