VAT API

The VAT API provides current and historical Value Added Tax (VAT) rates for all countries in the European Union.

For sales/consumption tax rates of non-EU countries, please use the Sales Tax API.

(4.5)

From 9,947 users

2,600+

Applications using this API

API Status

Online - All Systems Operational

API Response Times

Average
P50
P75
P90
P95
360ms397ms415ms821ms1193ms

Didn't find what you were looking for? Suggest an improvement


/v1/vat GET

https://api.api-ninjas.com/v1/vat

Returns VAT rates for a specified EU country. Results include standard rate, reduced rates, super-reduced rates, and any special categories.

By default up to 5 results are returned. Use the limit and offset parameters to paginate through results.

Parameters

  • country  required

    Two-letter country code (ISO 3166-1 alpha-2).

  • type  optional

    VAT rate type. Possible values: standard, reduced, super_reduced, exempted, parking.

  • min_date  optional

    Filter results after this date (YYYY-MM-DD format).

  • max_date  optional

    Filter results before this date (YYYY-MM-DD format).

  • limit  optional premium only

    Number of results to return (1-30). Default is 5.

  • offset  optional premium only

    Number of results to offset for pagination. Default is 0.

Headers

  • X-Api-Key  required

    API Key associated with your account.

Response

Returns an array of VAT rate objects for the requested country. Each object contains:

  • country

    Two-letter country code (ISO 3166-1 alpha-2).

  • type

    VAT rate type (for example standard, reduced, super_reduced, exempted, parking).

  • rate

    VAT rate as a percentage (for example 21 for 21%).

  • date

    The effective date for this VAT rate (YYYY-MM-DD).

  • category

    Optional description of the goods/services category this rate applies to.

Sample Request Live Demo!

country
type
min_date
max_date

Try this API endpoint with all available parameters in our API playground

https://api.api-ninjas.com/v1/vat?country=FR

Headers

X-Api-KeyLog in or sign up to get your API Key

Sample Response

JSON

Code Examples

1 2 curl -X GET "https://api.api-ninjas.com/v1/vat?vat_number=GB123456789" \ -H "X-Api-Key: YOUR_API_KEY"

If your programming language is not listed in the Code Example above, you can still make API calls by using a HTTP request library written in your programming language and following the above documentation.