The VAT Validation API is a full-featured endpoint to validate VAT numbers and get detailed results, such as the company name and address.
VAT Validation API only supports one GET
endpoint. Send the following request to validate a VAT number:
curl -X 'GET' 'https://anyapi.io/api/v1/vat/validate?vat_number=IE9692928F&apiKey=<YOUR_API_KEY>'
which returns this payload:
{ "valid": true, "validFormat": true, "vatNumber": "IE9692928F", "country": { "name": "Ireland", "isoCode": { "short": "IE", "long": "IRL", "numeric": "372" } }, "company": { "name": "FACEBOOK IRELAND LIMITED", "address": "4 GRAND CANAL SQUARE, GRAND CANAL HARBOUR, DUBLIN 2" } }
This API provides the following endpoints:
Check out the VAT Number Validation API Docs for more details.