- Guides
- best VAT number validation API
Best VAT number validation APIs in 2026
For EU numbers, the European Commission's VIES REST API is free and needs no key. For UK numbers, HMRC publishes a VAT registered companies API. Vatstack includes 100 checks a month on its free Launch plan, vatlayer has 100 free requests a month for non-commercial use, and APIFor checks EU numbers live via VIES for 5 credits and other countries' formats for 1 credit.
Last checked . Official free registries first, then commercial APIs ordered by free allowance. APIFor is our product.
How we chose
- We read each provider's own page on 1 Dec 2026. The VIES call was tested the same day.
- A live registry check and a format check are different things. The table says which one each option does.
- Abstract's VAT API was left out because its page was not readable for us on the day. APIFor is our product and is listed with its real limits.
Comparison table
| Name | Coverage | Free use | Paid | Access |
|---|---|---|---|---|
| EU VIES REST API | EU member states | Free, no key | None | No key |
| HMRC VAT registered companies API | UK VAT numbers | Published by HMRC; see its Developer Hub terms | None listed | HMRC Developer Hub; sandbox and production base URLs |
| Vatstack | EU numbers plus multiregional checks; EU rates | Developer plan: unlimited dummy validations. Launch: $0 a month with 100 validations included | Launch $0.09 per extra check; Small Business from $15 a month (500 included, then $0.03); Enterprise from $150 a month (15,000 included, then $0.01) | API key |
| vatlayer | EU numbers and EU VAT rates | 100 requests a month, non-commercial use | $9.99 a month for 1,000; $29.99 for 4,000; $99.99 for 20,000, with overage fees | API key |
| APIFor | EU live via VIES; format and check-digit tests for GB, AU, NZ, CH, NO, BR, IN and SG | 1,000 free credits once, after email verification | 5 credits a live EU check, 1 credit a format-only check; prepaid packs from $5 for 5,000 credits to $149 for 400,000 | API key; REST and MCP |
Figures come from each provider's own page on 1 Dec 2026. Prices and limits change, so confirm them there.
1. EU VIES REST API
- Coverage: EU member states.
- Free use: Free, no key.
- Paid: None.
- Licence: European Commission service.
- On 1 Dec 2026 a GET to /vies/rest-api/ms/NL/vat/004495445B01 returned isValid true with the company name.
- Validates numbers only; no VAT rates.
- A member state's system can be unavailable, so plan for retries.
Pick it if you only need EU numbers and can handle downtime yourself.
2. HMRC VAT registered companies API
- Coverage: UK VAT numbers.
- Free use: Published by HMRC; see its Developer Hub terms.
- Paid: None listed.
- Licence: HMRC service.
- Version 2.0, status beta, page dated 23 Nov 2026.
- Mock VAT numbers are provided for sandbox tests.
Pick it if you need the official UK check.
3. Vatstack
- Coverage: EU numbers plus multiregional checks; EU rates.
- Free use: Developer plan: unlimited dummy validations. Launch: $0 a month with 100 validations included.
- Paid: Launch $0.09 per extra check; Small Business from $15 a month (500 included, then $0.03); Enterprise from $150 a month (15,000 included, then $0.01).
- Licence: Commercial terms.
- Bulk validation and CSV import and export on every plan.
- EU data centre region.
- Also does VAT OSS and EC Sales List reports.
Pick it if you want EU VAT validation with evidence records and reporting.
4. vatlayer
- Coverage: EU numbers and EU VAT rates.
- Free use: 100 requests a month, non-commercial use.
- Paid: $9.99 a month for 1,000; $29.99 for 4,000; $99.99 for 20,000, with overage fees.
- Licence: Commercial terms (APILayer).
- Validation, company lookup and EU VAT rates in one API.
- Run by APILayer.
Pick it if you want validation and rates from one subscription.
5. APIFor (ours)
- Coverage: EU live via VIES; format and check-digit tests for GB, AU, NZ, CH, NO, BR, IN and SG.
- Free use: 1,000 free credits once, after email verification.
- Paid: 5 credits a live EU check, 1 credit a format-only check; prepaid packs from $5 for 5,000 credits to $149 for 400,000.
- Licence: VIES for EU checks; VAT rates from TEDB (CC BY 4.0).
- valid is null when the registry could not answer, so treat null as unknown.
- Returns the registered name and address when VIES shares them.
- The same key gives VAT and GST rates for 42 countries and a tax calculator.
Pick it if you check numbers from several countries and want rates on the same key.
FAQ
Is there a free VAT number validation API?
Yes. The EU's VIES REST API is free and needs no key for EU numbers. Vatstack's Launch plan includes 100 checks a month at $0, and vatlayer has a free plan of 100 requests a month for non-commercial use.
Can I validate UK VAT numbers through VIES?
No. GB numbers are not in VIES since Brexit; Northern Ireland XI numbers are. HMRC has its own VAT registered companies API. APIFor runs a format and check-digit test on GB numbers by default.
What is the difference between a live check and a format check?
A live check asks the tax registry whether the number is registered. A format check only tests the pattern and check digits, so a well-formed but unregistered number still passes.
Sources
- EU VIES REST API, checked 1 Dec 2026
- HMRC VAT registered companies API, checked 1 Dec 2026
- Vatstack, checked 1 Dec 2026
- vatlayer, checked 1 Dec 2026
- APIFor, checked 1 Dec 2026