GET
/
v1
/
validate
curl --request GET \
  --url https://vat.abstractapi.com/v1/validate
{
    "vat_number": "SE556656688001",
    "valid": true,
    "company": {
        "name": "GOOGLE SWEDEN AB",
        "address": "GOOGLE IRLAND LTD \nM COLLINS, GORDON HOUSE \nBARROW STREET, DUBLIN 4 \nIRLAND"
    },
    "country": {
        "code": "SE",
        "name": "Sweden"
    }
}

Getting started

Base URL

https://vat.abstractapi.com/v1/validate

Validation endpoint

The validate endpoint simply requires your unique API key and the VAT number you’d like to check:

https://vat.abstractapi.com/v1/validate
? api_key = YOUR_UNIQUE_API_KEY
& vat_number = SE556656688001

This was a successful request, and the details below are included in the response:

Request parameters

api_key
String
required

Your unique API key. Note that each user has unique API keys for each of Abstract’s APIs, so your VAT Validation and Rates API key will not work for your IP Geolocation API, for example.

vat_number
String
required

The VAT number to validate.

Response parameters

The API response is returned in a universal and lightweight JSON format.

vat_number
String

The VAT number to validate.

is_vat_valid
Boolean

Is true if the submitted VAT number is valid.

company_name
String

The name of the company associated with the VAT number.

company_address
String

The address of the company associated with the VAT number.

company_country
String

The country of the company associated with the VAT number.

company_country_code
String

The two letter ISO 3166-1 alpha-2 code of the country associated with the VAT number.