Validate VAT Number
GEThttps://api-vat.dataandapis.com/v1/vat/validate
Validate VAT Number is an endpoint of the VAT Validation API. Validate EU VAT numbers against VIES with registered name and address where disclosed.
Send your key in the X-Api-Key header. Each call costs 2 tokens; a free key includes 500 tokens a month.
Request
Query parameters
| Parameter | Example | |
|---|---|---|
| country | IE | Optional |
| max_age | 86400 | Optional |
| number | 6388047V | Optional |
| vat | IE6388047V | Optional |
Example request
curl
curl "https://api-vat.dataandapis.com/v1/vat/validate?country=IE&max_age=86400&number=6388047V&vat=IE6388047V" \
-H "X-Api-Key: YOUR_API_KEY"JavaScript / TypeScript (dataandapis package)
// npm install dataandapis
import { DataAndApis } from "dataandapis";
const client = new DataAndApis(); // reads DATAANDAPIS_API_KEY
const data = await client.vat.validateVatNumber({
country: "IE",
max_age: 86400,
number: "6388047V",
vat: "IE6388047V",
});Node.js (fetch)
const res = await fetch("https://api-vat.dataandapis.com/v1/vat/validate?country=IE&max_age=86400&number=6388047V&vat=IE6388047V", {
headers: { "X-Api-Key": process.env.DATAANDAPIS_KEY },
});
const data = await res.json();Python (dataandapis package)
# pip install dataandapis
from dataandapis import DataAndApis
client = DataAndApis() # reads DATAANDAPIS_API_KEY
data = client.vat.validate_vat_number(
country="IE",
max_age=86400,
number="6388047V",
vat="IE6388047V",
)Python (requests)
import os, requests
r = requests.get(
"https://api-vat.dataandapis.com/v1/vat/validate?country=IE&max_age=86400&number=6388047V&vat=IE6388047V",
headers={"X-Api-Key": os.environ["DATAANDAPIS_KEY"]},
)
data = r.json()Guide to the dataandapis npm package →Guide to the dataandapis Python package →
Example response
Example response
{
"ok": true,
"country": "IE",
"country_name": "Ireland",
"vat_number": "IE6388047V",
"valid": true,
"syntax_valid": true,
"name": "GOOGLE IRELAND LIMITED",
"address": "3RD FLOOR, GORDON HOUSE, BARROW STREET, DUBLIN 4",
"request_date": "2026-11-16T07:46:07.311Z",
"checked_at": "2026-11-16T07:46:07.000Z",
"cached": true,
"age_seconds": 674,
"stale": false,
"checked_against": "VIES (EU official registry)"
}