Docker-ready microservice wrapping EuroValidate API with Redis caching
- Get a free API key at eurovalidate.com
- Clone this repo:
git clone https://github.com/eurovalidate/vat-validation-microservice.git - Copy
.env.exampleto.envand add your API key - Install dependencies and run (see below)
npm install && npm startDocker-ready microservice wrapping EuroValidate API with Redis caching. Uses the EuroValidate API for real-time validation against official EU government sources (VIES, HMRC, GLEIF).
{
"vat_number": "NL820646660B01",
"country_code": "NL",
"status": "valid",
"company_name": "ABN AMRO BANK N.V.",
"meta": {
"confidence": "high",
"source": "vies_cached",
"cached": true,
"response_time_ms": 2
}
}| VAT | Country | Expected |
|---|---|---|
| NL820646660B01 | Netherlands | Valid |
| FR40303265045 | France | Valid |
| IT00159560366 | Italy | Valid |
| DE000000000 | Germany | Invalid |
- EuroValidate API Docs
- Get Free API Key (no credit card)
- Python SDK (
pip install eurovalidate) - Node.js SDK (
npm install @eurovalidate/sdk) - PHP SDK (
composer require eurovalidate/sdk)
MIT