Check an EU VAT number offline
agent402.tools/api/vat-validate
Check an EU VAT number offline: the country prefix, the national format and the published check-digit rule where the number carries one, for all 27 member states plus XI (Northern Ireland). Format and check digits only: it does not query any registry, so it does not confirm that a number is registered or active.
POST
https://agent402.tools/api/vat-validateUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agent402.tools/api/vat-validate", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"vat":"DE 123 456 788"}),
});
console.log(await res.json());Example input
{
"vat": "DE 123 456 788"
}More from EU VAT number checkProvider status
- api.vextorium.com/v1/eu-vat-validateEU VAT number format validation for all member states (plus Spanish check digit). Does not query VIES.0.0023
- flat-rate-llm.kikoribera03.workers.dev/v1/util/vatUse when an agent must decide whether a company's tax number is usable before invoicing: validates one EU VAT number offline - country prefix, the format that country uses, and the published check-digit algorithm where one exists. Says explicitly whether the check digits were verified or only the format. Deterministic, no network call. Built for cleaning a list of companies one at a time.0.005
