# EU VAT (VIES) Validator & EUR-Lex Compliance Scraper (`grimbles/eu-vies-vat-eurlex-compliance-intel`) Actor

Validate EU intra-community VAT IDs via the European Commission VIES REST API enriched with GLEIF LEI and French INSEE SIRENE data, and monitor EU Regulations & Directives (AI Act, DORA, CSRD, GDPR) via the official EU Publications Office EUR-Lex SPARQL API. Built for FinTech, RegTech & MCP.

- **URL**: https://apify.com/grimbles/eu-vies-vat-eurlex-compliance-intel.md
- **Developed by:** [Grimbles Data Labs](https://apify.com/grimbles) (community)
- **Categories:** Lead generation, Automation, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.13 / 1,000 eu vies vat or eur-lex record extracteds

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 VIES VAT Validator & EUR-Lex Regulation Scraper

**Verify EU intra-community VAT IDs against the European Commission VIES REST API with GLEIF LEI & French INSEE SIRENE KYB enrichment, and monitor EU Regulations & Directives (AI Act, DORA, CSRD, GDPR, NIS2) directly from the EU Publications Office EUR-Lex CELLAR SPARQL API.**

Built for **FinTech/ERP invoice compliance, KYB onboarding teams, RegTech & LegalTech researchers, n8n/Make workflows, and AI compliance agents (MCP)** — 100% official EU government APIs with zero API keys or proxies required.

***

### Key Features

- **Real-Time EU VIES VAT Validation**: Queries `ec.europa.eu/taxation_customs/vies/rest-api/check-vat-number` (with REST GET fallback) to verify VAT validity, official registered company name, registered street address, and `viesRequestIdentifier` tax-audit reference.
- **Cross-Registry KYB Enrichment (GLEIF + INSEE SIRENE)**: Automatically cross-links verified EU companies with GLEIF 20-character `LEI` codes and (for `FR` VAT numbers) INSEE `SIREN`, `NAF` code, and executive directors.
- **Official EUR-Lex Legislation Radar**: Queries `publications.europa.eu/webapi/rdf/sparql` (Common Data Model ontology) for EU Regulations and Directives in `ENG`, `FRA`, `DEU`, `SPA`, or `ITA` with `CELEX` IDs, publication dates, compliance topic tags, and direct EUR-Lex links.

***

### Sample Output JSON

```json
{
  "recordType": "EU_VIES_VAT_CHECK",
  "identifier": "FR40303265045",
  "titleOrEntityName": "TOTALENERGIES SE",
  "countryCode": "FR",
  "vatValid": true,
  "viesRequestIdentifier": "WAPIAAAAZ1234567",
  "registeredAddress": "2 PLACE JEAN MILLIER LA DEFENSE 6\n92400 COURBEVOIE",
  "lei": "529900S21EQ1BO4ESM68",
  "siren": "542051180",
  "nafCode": "70.10Z",
  "primaryDirectorName": "Patrick Pouyanné (Président du conseil d'administration)",
  "actType": null,
  "documentDate": "2026-11-22",
  "complianceTopics": ["EU VAT Validated"],
  "complianceScore": 100,
  "officialUrl": "https://ec.europa.eu/taxation_customs/vies/#/vat-validation"
}
```

***

### AI Agent (MCP) & n8n Automation Integration

#### Apify MCP Server (Claude Desktop / Cursor / Windsurf)

```json
{
  "mcpServers": {
    "eu-vies-vat-eurlex-compliance-intel": {
      "url": "https://mcp.apify.com/?tools=grimbles/eu-vies-vat-eurlex-compliance-intel",
      "headers": {
        "Authorization": "Bearer <YOUR_APIFY_API_TOKEN>"
      }
    }
  }
}
```

#### n8n / Make HTTP Run-Sync Integration

```json
{
  "method": "POST",
  "url": "https://api.apify.com/v2/acts/grimbles~eu-vies-vat-eurlex-compliance-intel/run-sync-get-dataset-items",
  "headers": {
    "Authorization": "Bearer <YOUR_APIFY_API_TOKEN>",
    "Content-Type": "application/json"
  },
  "body": {
    "mode": "both",
    "vatNumbers": ["FR40303265045", "NL809702899B01"],
    "eurlexKeywords": ["artificial intelligence", "DORA"],
    "languageCode": "ENG",
    "maxResults": 25
  }
}
```

# Actor input Schema

## `mode` (type: `string`):

Run EU VIES VAT verification + KYB enrichment, EUR-Lex EU legislation tracking, or both.

## `vatNumbers` (type: `array`):

List of EU VAT numbers with 2-letter country prefix (e.g. 'FR40303265045', 'NL809702899B01', 'IE9825613N').

## `eurlexKeywords` (type: `array`):

Optional keywords to filter EU Regulations and Directives (e.g. 'artificial intelligence', 'cybersecurity', 'sustainability'). Leave empty for latest acts.

## `euActTypes` (type: `array`):

Filter EUR-Lex queries to 'Regulation' and/or 'Directive'.

## `languageCode` (type: `string`):

EU official language code for legislative titles (ENG, FRA, DEU, SPA, ITA).

## `enrichGleifAndSirene` (type: `boolean`):

Cross-check verified EU VAT entities against GLEIF Global LEI and French INSEE SIRENE registries.

## `maxResults` (type: `integer`):

Maximum number of VIES VAT verifications and EUR-Lex acts combined to return.

## Actor input object example

```json
{
  "mode": "both",
  "vatNumbers": [
    "FR40303265045",
    "NL809702899B01"
  ],
  "eurlexKeywords": [],
  "euActTypes": [
    "Regulation",
    "Directive"
  ],
  "languageCode": "ENG",
  "enrichGleifAndSirene": true,
  "maxResults": 25
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset containing validated EU VAT numbers, GLEIF/SIRENE links, and EUR-Lex legislative acts.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("grimbles/eu-vies-vat-eurlex-compliance-intel").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("grimbles/eu-vies-vat-eurlex-compliance-intel").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 '{}' |
apify call grimbles/eu-vies-vat-eurlex-compliance-intel --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,grimbles/eu-vies-vat-eurlex-compliance-intel"
        }
    }
}
```

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/nsTETTKxbExcSBqT4/builds/jdcwb6cLvmuyWDTad/openapi.json
