Verify EU VAT Number

FREEMIUM
By Top-Rated
Updated 4 months ago
Commerce
5.7/10
Popularity Score
280ms
Latency
-
Success Rate

Verify EU VAT Number API Documentation

This API will help you to easily detect if a VAT number is valid in the EU or not. If the country supports it, you will also be able to get the name of the company.

View API Details
GETDetect EU VAT Number
GETDetect EU VAT Number

This API will allow you to easily detect if a VAT number is valid in the EU or not.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
vatSTRING
REQUIREDThe VAT number to check/verify.
Optional Parameters
countrySTRING
OPTIONALIf you know the country, you can optionally supply this parameter. It will help by detecting the country prefix to the VAT number.
Code Snippet
unirest.get("https://euvatnumber.p.rapidapi.com/?country=Sweden&vat=SE556012579001")
.header("X-RapidAPI-Host", "euvatnumber.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://euvatnumber.p.rapidapi.com/
Request Method: GET
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://euvatnumber.p.rapidapi.com/?country=Sweden&vat=SE556012579001")
.header("X-RapidAPI-Host", "euvatnumber.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication