# EU Company KYB Check: Register, VAT (VIES), Sanctions, LEI (`spellzcode/eu-company-kyb-check`) Actor

One row per company with four checks: official register status (Sweden, Norway, Finland), live EU VAT validation in VIES, OFAC sanctions name screening and the GLEIF LEI record, plus plain flags such as "deregistered" or "VAT number not valid". Any EU VAT number works. $0.02 per company checked.

- **URL**: https://apify.com/spellzcode/eu-company-kyb-check.md
- **Developed by:** [SpellzCode](https://apify.com/spellzcode) (community)
- **Categories:** Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $14.00 / 1,000 company checkeds

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

## EU Company KYB Check: register, VAT (VIES), sanctions and LEI in one row

A know-your-business check for European companies that answers the four questions a finance or compliance person asks before paying, invoicing or onboarding a company, **in one row per company**:

**Try it now:** press **Start**. The example input is already filled in. **$20 per 1,000 company checks** ($0.02 each), and Apify's free $5 monthly credit covers about 250.

1. **Does it exist and is it in good standing?** Official register facts for Swedish, Norwegian and Finnish companies: status, bankruptcy, liquidation or reconstruction, legal form, registration date, address.
2. **Is its VAT number valid?** A live check in the European Commission's VIES service, for **any EU member state**, with the name and address VIES holds.
3. **Is its name on the US sanctions list?** The company's names compared with the entity entries and aliases of OFAC's SDN list (refreshed every six hours).
4. **Does it have an LEI?** The GLEIF record: the LEI, whether its registration is current, and the entity status.

On top come plain-language **flags**, so a list of 500 suppliers can be sorted by what needs a human: `company deregistered (2024-03-11)`, `bankruptcy (konkurs) since 2026-02-03`, `VAT number not valid in VIES`, `name partly matches an OFAC SDN entry: review`, `LEI registration lapsed`.

### Input

`Companies`, one per line:

- an **EU VAT number** from any member state: `DE811907980`, `FR40303265045`, `SE556703748501`
- or a **Swedish, Norwegian or Finnish company number**: `556703-7485`, `923609016`, `0112038-9`

Four switches turn each check on or off (all on by default).

| The line is | Register | VAT (VIES) | Sanctions | LEI |
|---|---|---|---|---|
| Swedish or Finnish number or VAT number | yes | yes | yes | yes |
| Norwegian number | yes | no (Norway is outside VIES) | yes | yes |
| VAT number from another EU country | no | yes | yes, on the name VIES returns | yes, by that name |

Germany and Spain do not share names through VIES, so for those two countries only the VAT check itself can be made.

### Output

```json
{
  "query": "SE556703748501",
  "result": "checked",
  "country": "SE",
  "name": "Spotify AB",
  "flags": [],
  "flagCount": 0,
  "register": {
    "companyId": "556703-7485", "name": "Spotify AB", "legalForm": "Aktiebolag (limited company)",
    "companyStatus": "registered", "active": true, "registered": "2006-05-10", "ended": null, "proceedings": [],
    "taxActive": true, "industryCodes": [{ "code": "60.100", "description": null }],
    "address": { "street": "Regeringsgatan 19", "postcode": "11153", "city": "STOCKHOLM", "country": "SE" },
    "dataAsOf": "2026-11-09", "source": "Bolagsverket and SCB open data (värdefulla datamängder), weekly bulk files"
  },
  "vat": { "vatNumber": "SE556703748501", "valid": true, "name": "Spotify AB", "address": "REGERINGSGATAN 19, 111 53 STOCKHOLM", "checkedAt": "2026-11-14T06:31:25.217Z", "source": "EU VIES (European Commission), live check" },
  "sanctions": { "verdict": "no-match", "matches": [], "list": "OFAC SDN list, entity entries and aliases (US Treasury)", "listDate": "2026-11-14T06:20:12.000Z" },
  "lei": { "lei": "5493004INDUJX1TDHI57", "legalName": "Spotify AB", "entityStatus": "ACTIVE", "registrationStatus": "ISSUED", "nextRenewal": "2027-03-07", "registeredAs": "556703-7485", "country": "SE", "source": "GLEIF (CC0)", "matchedBy": "registration number" },
  "checksNotCompleted": [],
  "note": "Register facts and list comparisons only. Not a credit report, a rating or a legal determination."
}
```

If a source was down, the row still comes back with the checks that did answer, and `checksNotCompleted` names the ones that did not. A line that cannot be read at all comes back as `"result": "invalid-input"`.

### What it is not

- **Not a credit report**, credit score or rating, and no financial statements.
- **Not a legal sanctions determination.** The screening is a name comparison against OFAC's SDN entity entries; EU, UK and UN lists, individuals, owners and directors are not screened. A `possible-match` is a prompt for a human to look.
- **No people.** Sole traders are refused; board members and owners are never returned.

### Pricing

**$0.02 per company checked** (that is $20 per 1,000) on Apify's free plan, with 10% off on Starter, 20% on Scale and 30% on Business plans. Lines that cannot be read, and lines where no check answered, are free. Apify adds its standard $0.00005 start fee per run. There is no monthly fee, and the run stops at the maximum charge you set. Apify's free $5 monthly credit covers about 250 results.

### Sources

Bolagsverket and SCB open data (Sweden); Brønnøysundregistrene, NLOD 2.0 (Norway); Finnish Patent and Registration Office, YTJ open data, CC BY 4.0 (Finland); European Commission VIES; US Treasury OFAC SDN list; GLEIF LEI data (CC0). This Actor is not affiliated with or endorsed by any of them.

### Questions and problems

Open an issue on the Issues tab with the run ID. Wrong or missing data is treated as a bug.

# Actor input Schema

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

One per line: an EU VAT number from any member state (DE811907980, FR40303265045, SE556703748501) or a Swedish, Norwegian or Finnish company number (556703-7485, 923609016, 0112038-9).

## `checkRegister` (type: `boolean`):

Official register facts: status, bankruptcy or liquidation, legal form, registration date, address.

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

Live validation in the European Commission's VIES service, with the name and address it holds.

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

Compares the company's names with the entity entries and aliases on the US Treasury's SDN list.

## `checkLei` (type: `boolean`):

Finds the company's Legal Entity Identifier and its registration status.

## Actor input object example

```json
{
  "companies": [
    "SE556703748501",
    "923609016",
    "FI01120389",
    "IE6388047V"
  ],
  "checkRegister": true,
  "checkVat": true,
  "checkSanctions": true,
  "checkLei": true
}
```

# Actor output Schema

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

One item per company with the register, VAT, sanctions and LEI checks and a list of flags, or an uncharged item saying why it could not be checked.

# 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": [
        "SE556703748501",
        "923609016",
        "FI01120389",
        "IE6388047V"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("spellzcode/eu-company-kyb-check").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": [
        "SE556703748501",
        "923609016",
        "FI01120389",
        "IE6388047V",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("spellzcode/eu-company-kyb-check").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": [
    "SE556703748501",
    "923609016",
    "FI01120389",
    "IE6388047V"
  ]
}' |
apify call spellzcode/eu-company-kyb-check --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,spellzcode/eu-company-kyb-check"
        }
    }
}
```

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/ZN7TQyC2j38V4LV5K/builds/Fm2ilRFE5cNRDAR6n/openapi.json
