# Estonia Company Check (registry code) — KYB & due diligence MCP (`kyb-data/estonia-company-check`) Actor

KYB check of legal entities in Estonia by registry code (registrikood), 8 digits starting with 1, 7, 8 or 9 (EE VAT numbers are not registry codes): official registers, one English JSON schema for AI agents. MCP server.

- **URL**: https://apify.com/kyb-data/estonia-company-check.md
- **Developed by:** [KYB Data](https://apify.com/kyb-data) (community)
- **Categories:** MCP servers, Business, AI
- **Security:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $50.00 / 1,000 company checks

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## Estonia Company Check (registry code)

Check any **Estonia legal entity** by its **registry code (registrikood)** in one call and get a clean **English JSON**
answer with red flags, source attribution and a date on every field. Built for **AI agents** (MCP) and for
**KYB / AML onboarding, counterparty and supplier due diligence, vendor risk and compliance checks**.

- **One number → one answer** from official open registers plus GLEIF Global LEI Index: Level 1 (LEI-CDF), Level 2 (RR-CDF), Reporting Exceptions and Official sanctions lists: US OFAC (SDN and Consolidated non-SDN), EU consolidated financial sanctions (FSF), UK Sanctions List (FCDO) — legal entities only.
- **One schema for every country:** the same fields and flags whether you check one Estonia company or a thousand —
  your agent parses one format.
- **Agent-ready:** an **MCP server** (Streamable HTTP, `/mcp`) with `check_company`, `check_companies` and
  `list_sources`, a plain `GET /check?country=&id=` endpoint, and classic batch runs (list of numbers → dataset).
- **Change history:** registers publish only the current state; we keep our own snapshots, so every answer shows
  what was added or removed since `history_since` (e.g. a status change or a new sanctions listing).
- **Pay per check** ($0.05 per company), no subscription. Malformed numbers, sole traders and individuals are not charged.
  In Standby (MCP / HTTP) mode Apify also bills the small platform usage of the server run, as for every Standby
  Actor. Set a **maximum cost per run** in Apify to cap spending: when it is reached, the Actor returns an error
  instead of data.

### What we check

| Source | Licence | Publisher updates |
|---|---|---|
| [e-Business Register of Estonia (e-äriregister, RIK): basic data of legal persons](https://avaandmed.ariregister.rik.ee/en/downloading-open-data) (EE) | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/legalcode) | daily |
| [e-Business Register of Estonia (RIK): general data of legal persons (activities, capital, status history, legal succession)](https://avaandmed.ariregister.rik.ee/en/downloading-open-data) (EE) | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/legalcode) | daily |
| [e-Business Register of Estonia (RIK): commercial pledges](https://avaandmed.ariregister.rik.ee/en/downloading-open-data) (EE) | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/legalcode) | daily |
| [e-Business Register of Estonia (RIK): annual report data (filing, audit, key indicators)](https://avaandmed.ariregister.rik.ee/en/downloading-open-data) (EE) | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/legalcode) | weekly |
| [e-Business Register of Estonia (RIK): rulings of the registration department (warnings, fines, deletion and compulsory dissolution)](https://avaandmed.ariregister.rik.ee/en/downloading-open-data) (EE) | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/legalcode) | daily |
| [GLEIF Global LEI Index: Level 1 (LEI-CDF), Level 2 (RR-CDF), Reporting Exceptions](https://goldencopy.gleif.org/api/v2/golden-copies/publishes/latest) | [CC0 1.0](https://www.gleif.org/en/meta/lei-data-terms-of-use) | daily |
| [Official sanctions lists: US OFAC (SDN and Consolidated non-SDN), EU consolidated financial sanctions (FSF), UK Sanctions List (FCDO) — legal entities only](https://sanctionslistservice.ofac.treas.gov/api/PublicationPreview/exports/SDN.XML) | Several, see Data licences | daily |

**Data refreshed at least weekly**; every field carries its source date (`provenance`), and every answer lists each source with the date it was loaded (`sources[].loaded_at`; `list_sources` is free).

`flags` — `true` is a red flag: `not_found` (the number is not in the register dump), `not_active`, `insolvency`,
`liquidation`, `sanctions` (match by registration number or LEI), `sanctions_name_match` (same name, same
country: verify manually). `false` means there is no record in the loaded snapshot — it is **not** a clean bill
of health. `null` means unknown. Call `list_sources` (free) for load times.

**Estonia:** RIK open data lists only entities currently entered in the register, in liquidation or in bankruptcy; deleted entities are known only if they filed an annual report for 2019 or later, so a valid code with no record means unknown. A valid registry code without a record therefore returns `not_found: null` (unknown, not fictitious) and is **not charged**.

### Identifiers

| Country | Identifier | Format | Example |
|---|---|---|---|
| Estonia (EE) | registry code (registrikood) | 8 digits starting with 1, 7, 8 or 9 (EE VAT numbers are not registry codes) | `10421629` |

Spaces, dashes and a country prefix are accepted. **Legal entities only**: sole traders and other natural
persons are not supported, not stored and not charged. No data about people (officers, owners, contacts)
is ever returned; addresses are city level only.

### Input

```json
{
  "country": "EE",
  "ids": [
    "10421629"
  ]
}
```

Up to 10,000 numbers per run.

### Output (one dataset item per company, shortened)

```json
{
  "country": "EE",
  "id": "10421629",
  "id_scheme": "EE-REGCODE",
  "name": "…",
  "status": "active",
  "legal_form": {
    "code": "…",
    "name": "…",
    "name_en": "…"
  },
  "address": {
    "city": "…",
    "country": "EE"
  },
  "flags": {
    "not_found": false,
    "not_active": false,
    "insolvency": false,
    "liquidation": false,
    "sanctions": false,
    "sanctions_name_match": false
  },
  "provenance": {
    "status": {
      "source": "register",
      "as_of": "2026-11-05T03:00:00+00:00"
    }
  },
  "history": [],
  "history_since": "2026-11-05",
  "sources": [
    {
      "key": "register",
      "title": "…",
      "license": "…",
      "loaded_at": "…"
    }
  ],
  "disclaimer": "… Not legal advice."
}
```

### Use from an AI agent (MCP)

Add the Actor as a remote MCP server: `https://kyb-data--estonia-company-check.apify.actor/mcp` with your Apify token,
or through `mcp.apify.com`. Tools: `check_company(company_id, country)`, `check_companies(company_ids, country)`
(up to 50), `list_sources()`.

### Data licences

All data comes from official open sources under open licences; attribution (title, dataset URL, licence,
`loaded_at`) is included in the `sources` field of every answer.

- **e-Business Register of Estonia (e-äriregister, RIK): basic data of legal persons, e-Business Register of Estonia (RIK): general data of legal persons (activities, capital, status history, legal succession), e-Business Register of Estonia (RIK): commercial pledges, e-Business Register of Estonia (RIK): annual report data (filing, audit, key indicators), e-Business Register of Estonia (RIK): rulings of the registration department (warnings, fines, deletion and compulsory dissolution)**: [CC BY 4.0 (RIK e-Business Register open data; RIK Terms of use: «By using the open data, the User agrees and undertakes to comply with the published terms and conditions of the licence»; read 2026-11-05). Source: Centre of Registers and Information Systems (RIK), e-Business Register.](https://creativecommons.org/licenses/by/4.0/legalcode)
- **GLEIF Global LEI Index: Level 1 (LEI-CDF), Level 2 (RR-CDF), Reporting Exceptions**: [CC0 1.0 (GLEIF LEI Data Terms of Use, II.3: "The data available through the Access Service are provided under the CC0 licence"; read 2026-11-05)](https://www.gleif.org/en/meta/lei-data-terms-of-use)
- **Official sanctions lists: US OFAC (SDN and Consolidated non-SDN), EU consolidated financial sanctions (FSF), UK Sanctions List (FCDO) — legal entities only**: OFAC: US government work, not subject to copyright (17 U.S.C. 105); EU FSF: © European Union, reuse authorised with acknowledgement (Commission Decision 2011/833/EU, CC BY 4.0); UK: contains public sector information licensed under the Open Government Licence v3.0 (FCDO) (licence text: [www.nationalarchives.gov.uk/doc/open-government-licence/version/3](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/))

### Disclaimer

Data from official open registers and official sanctions lists, as attributed in `sources`, as of the load date
shown. Registers can be incomplete or late. **Not legal advice** — verify important decisions with the original
register.

# Actor input Schema

## `country` (type: `string`):

ISO 3166-1 alpha-2 code of the country the numbers belong to (one country per run).

## `ids` (type: `array`):

Official registration numbers of legal entities, one per line (Estonia: registry code (registrikood), 8 digits starting with 1, 7, 8 or 9 (EE VAT numbers are not registry codes)). Up to 10,000 per run. Sole traders and individuals are not supported and are not charged.

## Actor input object example

```json
{
  "country": "EE",
  "ids": [
    "10421629"
  ]
}
```

# Actor output Schema

## `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 = {
    "ids": [
        "10421629"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("kyb-data/estonia-company-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 = { "ids": ["10421629"] }

# Run the Actor and wait for it to finish
run = client.actor("kyb-data/estonia-company-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 '{
  "ids": [
    "10421629"
  ]
}' |
apify call kyb-data/estonia-company-check --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kyb-data/estonia-company-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/YcgUyBVKTGW4sqYQX/builds/JvBkNYr5mGEgTthAp/openapi.json
