# EU VAT Number Validator: Bulk VIES Check, Name & Address (`spellzcode/eu-vat-number-validator-vies`) Actor

Validate EU VAT numbers in bulk against the official VIES service: valid or not, the registered name and address where the member state shares them, and the check time. Patient retries when a member state is busy. Invalid formats and failed checks are never charged. $0.004 per number.

- **URL**: https://apify.com/spellzcode/eu-vat-number-validator-vies.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 $2.80 / 1,000 vat number 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 VAT Number Validator: bulk VIES check with name and address

Validate a list of EU VAT numbers against **VIES**, the European Commission's VAT Information Exchange System, the same source tax authorities point businesses to. For each number you get: valid or not, the registered **name and address** where the member state shares them, and the time of the check.

**Try it now:** press **Start**. The example input is already filled in. **$4 per 1,000 VAT numbers** ($0.004 each), and Apify's free $5 monthly credit covers about 1,200.

### Why this one

- **It waits for busy member states.** VIES often answers "too many concurrent requests" (France, Germany and Spain most of all). This Actor asks again, alternating VIES's two endpoints, for up to 30 seconds per number, instead of handing you an error.
- **You never pay for nothing.** A wrong format, a non-EU country code or a number VIES would not answer for comes back as its own row and is not a chargeable result.
- **A complete list back.** Every line you send produces exactly one row, in a stable format, so it joins back onto your sheet or CRM.

### What it is for

- Check customers' VAT numbers **before issuing a reverse-charge (0% VAT) invoice** inside the EU.
- **Clean a customer or supplier list** and find numbers that have been deregistered.
- Onboarding and KYB flows, marketplaces and checkout forms that must verify a business buyer.
- Give an AI agent or a workflow (n8n, Make, Zapier, MCP) a dependable VAT check.

### Input

`VAT numbers`: one per line, starting with the country code, for example `SE556703748501`, `DE811907980`, `FR40303265045`. Spaces, dots and dashes are ignored; `GR` is read as `EL`.

### Output

```json
{
  "query": "SE556703748501",
  "result": "checked",
  "vatNumber": "SE556703748501",
  "countryCode": "SE",
  "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"
}
```

Rows that could not be checked have `"result": "invalid-input"` (wrong shape or a country outside VIES) or `"error"` (VIES did not answer in time), a `message`, and `"valid": null`.

### Good to know

- **Covered:** the 27 EU member states and Northern Ireland (`XI`). Great Britain, Norway and Switzerland are not in VIES.
- **Name and address:** Germany and Spain do not share them through VIES; those fields are then `null` while `valid` is still answered.
- **Each check is live.** Nothing is cached or stored by the Actor beyond your own run's dataset.
- **No consultation number.** VIES issues a consultation number only when the requester gives its own VAT number; this Actor does not send one. If you need that legal proof for a tax audit, make the check on the VIES site with your own number.
- A VIES answer says whether the number is registered for intra-EU trade **at the time of the check**. It is not tax advice.

### Pricing

**$0.004 per VAT number answered** (that is $4 per 1,000) on Apify's free plan, with 10% off on Starter, 20% on Scale and 30% on Business plans. Wrong formats, countries outside VIES and numbers VIES would not answer for 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 1,250 results.

### Source

European Commission, VIES. The Commission and the member states accept no liability for the data. This Actor is not affiliated with or endorsed by the European Commission.

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

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

One per line, starting with the two-letter country code: SE556703748501, DE811907980, FR40303265045, NL004495445B01. Spaces, dots and dashes are ignored. Greek numbers may start with GR or EL; Northern Ireland uses XI.

## Actor input object example

```json
{
  "vatNumbers": [
    "SE556703748501",
    "FI01120389",
    "IE6388047V"
  ]
}
```

# Actor output Schema

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

One item per VAT number: valid or not, with the name and address VIES holds, 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 = {
    "vatNumbers": [
        "SE556703748501",
        "FI01120389",
        "IE6388047V"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("spellzcode/eu-vat-number-validator-vies").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 = { "vatNumbers": [
        "SE556703748501",
        "FI01120389",
        "IE6388047V",
    ] }

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,spellzcode/eu-vat-number-validator-vies"
        }
    }
}
```

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/7wp44DzGvVC1iwccM/builds/tfacHlc3VUmnGHYa8/openapi.json
