Skip to content

EU and UK VAT number checks with audit evidence

Validate a VAT number against VIES for the EU and Northern Ireland, or HMRC for Great Britain, through one endpoint. Keep the consultation number and timestamp as proof that you checked.

$0.03/call · 10 free calls a day, no signup · REST and MCP

curl https://api.kanagu.dev/v1/vat/verify \
  -H "Content-Type: application/json" \
  -d '{"vatNumber":"DE143454214"}'
const res = await fetch("https://api.kanagu.dev/v1/vat/verify", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.KANAGU_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "vatNumber": "DE143454214"
  }),
});
if (!res.ok) throw new Error((await res.json()).error.message);
const result = await res.json();
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "vat.verify",
    "arguments": {
      "vatNumber": "DE143454214"
    }
  }
}

Why

What it solves

EU numbers are checked in VIES and UK numbers with HMRC, through two different APIs, and HMRC requires registered application credentials. Both have outages, and an auditor wants to see when you checked. Kanagu puts both behind one call, checks the checksum first, and keeps a record of each verification for your account.

Built for

  • Checkout and billing systems that apply the EU reverse charge to B2B customers
  • Marketplaces and platforms onboarding business sellers
  • Finance teams that need evidence of each check for audits
One endpoint for EU and UK
VIES for the 27 member states and Northern Ireland (XI), HMRC for Great Britain (GB). Prefixes, spaces and dots are normalized.
Audit evidence
Pass your own VAT number to get a consultation number from the registry. Keyed checks get a verificationId you can look up later with vat.audit.
No charge for outages
Invalid checksums are answered locally without an upstream call. When VIES or HMRC fails, the call errors and is not billed.

Example

What goes in, what comes out

In: A VAT number with its country prefix, and optionally your own VAT number. Out: valid, source registry, registered name and address where shared, consultation number, timestamps.

Request · POST /v1/vat/verify
{
  "vatNumber": "DE143454214",
  "requesterVat": "DE123456789"
}
Response · illustrative values
{
  "verificationId": "0f8c2a51-6a3e-4c55-9d43-2b6a1f0c9e77",
  "vatNumber": "DE143454214",
  "country": "DE",
  "valid": true,
  "source": "vies",
  "checkedAt": "2026-11-24T09:12:03.512Z",
  "upstreamDate": "2026-11-24",
  "consultationId": "WAPIAAAAZ…",
  "rawStatus": "VALID"
}

Values are illustrative. Name and address appear when the registry shares them; Germany does not.

Try it

Run it on the live API

The sample request is ready to run. No key needed for 10 calls a day.

$0.03/call

No key needed · 10 free calls per IP per day

Response

Run the request to see the live response here.

Reference

Operations

OperationPrice
vat.audit

Retrieve completed VAT verifications and their consultation numbers for your account.

$0.03/call
vat.verify

Verify an EU or UK VAT number and return audit evidence. Upstream failures are unbilled.

$0.03/call
curl https://api.kanagu.dev/v1/vat/verify \
  -H "Authorization: Bearer $KANAGU_KEY" \
  -H "Content-Type: application/json" \
  -d '{"vatNumber":"DE143454214"}'
const res = await fetch("https://api.kanagu.dev/v1/vat/verify", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.KANAGU_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "vatNumber": "DE143454214"
  }),
});
if (!res.ok) throw new Error((await res.json()).error.message);
const result = await res.json();
claude mcp add --transport http kanagu https://api.kanagu.dev/mcp \
  --header "Authorization: Bearer $KANAGU_KEY"
{
  "mcpServers": {
    "kanagu": {
      "url": "https://api.kanagu.dev/mcp",
      "headers": {
        "Authorization": "Bearer ${env:KANAGU_KEY}"
      }
    }
  }
}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "vat.verify",
    "arguments": {
      "vatNumber": "DE143454214"
    }
  }
}

Every field, error and schema is in the vat.verify reference.

Coverage

Limits and coverage

Countries
AT, BE, BG, CY, CZ, DE, DK, EE, EL (GR), ES, FI, FR, HR, HU, IE, IT, LT, LU, LV, MT, NL, PL, PT, RO, SE, SI, SK, XI (VIES) and GB (HMRC)
Consultation number
Needs a requester VAT number from the same registry: EU or XI for VIES, GB for HMRC
History
vat.audit lists your account's completed verifications with their consultation numbers. Needs an API key.
Data
The VAT numbers and registry result of keyed checks are stored for your audit history. See the privacy policy.

Compare

Compared with the usual approaches

Ways teams usually check VAT numbers:

ApproachWhat you take on
Call VIES and HMRC directlyIntegrate two APIs, register for HMRC OAuth credentials, handle each one's outages, and store your own evidence.
Checksum onlyCatches typos, but cannot tell you whether the number is registered today.
KanaguOne request shape for both registries, checksum first, and a stored record of each keyed check.

Pricing

$0.03/call, billed only on success

$1 of usage free every month after sign-in. Then pay as you go with no monthly fee, or the $9/month Bundle with $9 of usage included, shared across every Kanagu product. Compare plans

Sign in, create a key and use $1 of calls free each month, no card needed. Subscribe from your dashboard when you need more. Polar is the merchant of record and handles payment, tax and invoices.

10 free calls a day
Start without a key
Try every call above for free. When it works, sign in for a key with $1 of usage free every month.

FAQ

VAT validation questions

Which registry is used?
VIES for EU member states and Northern Ireland (XI), HMRC for Great Britain (GB). The source field says which answered.
Why are name and address sometimes missing?
Some member states, including Germany, do not share them through VIES. Kanagu returns them whenever the registry does.
Am I billed when VIES is down?
No. Upstream failures return an error and are not billed. Retry later with the same Idempotency-Key.
What counts as proof of a check?
The consultation number from the registry, returned when you pass requesterVat, plus checkedAt. Keyed checks can be listed again with vat.audit.

More APIs with the same key