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.
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.
country
requiredTwo-letter country code (ISO 3166-1 alpha-2).
type
optionalVAT rate type. Possible values: standard
, reduced
, super_reduced
, exempted
, parking
.
min_date
optionalFilter results after this date (YYYY-MM-DD format).
max_date
optionalFilter results before this date (YYYY-MM-DD format).
limit
optional premium onlyNumber of results to return (1-30). Default is 5.
offset
optional premium onlyNumber of results to offset for pagination. Default is 0.
X-Api-Key
requiredAPI Key associated with your account.
https://api.api-ninjas.com/v1/vat?country=FR
Headers
X-Api-Key
Log in or sign up to get your API Key
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[
{
"country": "FR",
"type": "standard",
"rate": 20,
"date": "2025-01-01"
},
{
"country": "FR",
"type": "reduced_rate",
"rate": 5.5,
"date": "2025-01-01",
"category": "Domestic care services such as home help and care of the young, elderly, sick or disabled"
},
{
"country": "FR",
"type": "exempted",
"rate": 0,
"date": "2025-01-01",
"category": "Pharmaceutical products of a kind normally used for health care, prevention of illness and as treatment for medical and veterinary purposes, including products used for contraception and sanitary protection"
},
"..."
]
1
2
3
4
5
6
7
8
9
import requests
country = 'FR'
api_url = 'https://api.api-ninjas.com/v1/vat?country={}'.format(country)
response = requests.get(api_url, headers={'X-Api-Key': 'YOUR_API_KEY'})
if response.status_code == requests.codes.ok:
print(response.text)
else:
print("Error:", response.status_code, response.text)
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.