Validate an EU VAT number via VIES (paid $0.003)
validate_vatValidate EU/EEA VAT numbers: format/checksum pre-check plus live VIES lookup returns registration status and, when available, company name and address. Requires x402 payment.
Instructions
PAID $0.003 (x402, USDC on Base). FLAGSHIP. Validate an EU/EEA VAT number: give {country_code, vat_number} and get a per-country format + checksum pre-check AND a LIVE lookup against the official VIES service — returning valid/registered plus the registered company name & address when VIES provides them (cached ~1h to shield the flaky VIES). Without payment returns the x402 challenge; pass x_payment to settle.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x_payment | No | x402 payment payload (base64) for this PAID validation. If supplied it is forwarded as the X-PAYMENT header to settle the call and return the real result instead of a 402 challenge. Omit to get the price challenge first. | |
| vat_number | Yes | The VAT number without the country prefix (prefix is tolerated and stripped). | |
| country_code | Yes | 2-letter EU VAT country code (e.g. IE, DE, FR; GB/XI for Northern Ireland; GR accepted as EL). |