AAAPIS.COM - Free APIs for developers

EU VAT number validation API

This free API service for EU VAT number validation enables authorized users to authenticate and confirm the legitimacy of a European Union VAT number.

Request example

Method: POST
Content Type: application/json
Endpoint: https://aaapis.com/api/v1/validate/eu-vat/

curl --L --X POST 'https://aaapis.com/api/v1/validate/eu-vat/' \ 
--H 'Authorization: Token YOUR_TOKEN' \ 
--H 'Content-Type: application/json' \ 
--data-raw '{ 
    "vat_number":"FR15100000017"
}'
EU VAT number validator API Response

The EU VAT number validation API provides a response indicating the validity of the given EU VAT number, represented as a boolean value under the key "valid."

{
                    "valid": true
}

EU VAT validator API Parameters

ParameterTypeOptionnalDescription
vat_numberstringNoUsed to specify the EU VAT number to be validated.

HTTP Response Status Codes

Aaapis employs standard HTTP response codes to signify the outcome, whether successful or unsuccessful, of an API request.Typically, codes falling within the 2xx range signify success. Codes within the 4xx range indicate an error attributable to inadequate information provided (e.g., a missing required parameter). Codes in the 5xx range denote an error related to Aaapis' servers.

CodeDescription
200This status code indicates that the request was successful. The server successfully processed the request and is sending back the requested data.
401This status code indicates that the request requires user authentication. The server received the request, but it needs authentication to fulfill it. This could mean that the Authorization header is missing or invalid.
400This status code indicates that the server could not understand the request due to invalid syntax. This could mean that the JSON object in the request is malformed or missing required fields. The client must modify the request and try again.
500This status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request. This could be due to a problem with the server itself. The client should not modify the request and can try again later.

Explore our guides for the EU VAT validator API: