Introduction

A suite of VAT APIs which let you validate VAT ID numbers with official government services, look up VAT rates by ISO country code and calculate price quotes compliant with official VAT rules.

Introduction to the Vatstack API

The Vatstack API is organized around REST. Our VAT API has predictable resource-oriented URLs, accepts form-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.

The JSON format ensures maximum compatibility with industry-standard web application frameworks and programming languages. Using the POST method, you can perform requests and retrieve data using the GET method.

API Specifications

Unique API Access Key

A unique API key is assigned to you during registration. It is your gateway to interact with Vatstack’s API endpoints. Use your key to authenticate all your requests using one of the two authentication methods.

The key can be reset anytime from within your dashboard. This can be useful in the event that your key has been compromised. Please mind that resetting a key can break your application if it is not updated there at the same time.

Sample API Response

All results are returned in industry-standard JSON format which can be easily read by your application. Here is a sample response from the validations POST endpoint:

{
"id": "5d1ded3128ca7a842aaf5ed4",
"company_address": "3RD FLOOR, GORDON HOUSE, BARROW STREET, DUBLIN 4",
"company_name": "GOOGLE IRELAND LIMITED",
"consultation_number": "WAPIAAAAW21qsOHW",
"country_code": "IE",
"query": "IE6388047V",
"valid": true,
"valid_format": true,
"vat_number": "6388047V",
"requested": "2019-07-04T00:00:00.000Z",
"created": "2019-07-04T12:12:33.322Z",
"updated": "2019-07-04T12:12:33.322Z"
}