VAT Rates API
The VAT Rates API provides current and historical Value Added Tax (VAT) rates for all countries in the European Union.
Need to validate a customer's VAT number? Use the VAT Validation API. For sales/consumption tax rates of non-EU countries, please use the Sales Tax API.
From 9,947 users
Applications using this API
API Status
API Response Times
Average | P50 | P75 | P90 | P95 |
|---|---|---|---|---|
| 358ms | 407ms | 449ms | 727ms | 1138ms |
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.
Standard rates are available to all users. Rate values for all other rate types (reduced, super-reduced, exempted, parking) are available to premium subscribers only — free accounts still see these entries, but the rate field contains a premium-only notice instead of the numeric rate.
By default up to 5 results are returned. Use the limit and offset parameters to paginate through results.
Parameters
countryrequiredTwo-letter country code (ISO 3166-1 alpha-2).
typeoptionalVAT rate type. Possible values:
standard,reduced,super_reduced,exempted,parking. Numeric rate values for types other thanstandardrequire a premium subscription.min_dateoptionalFilter results after this date (YYYY-MM-DD format).
max_dateoptionalFilter results before this date (YYYY-MM-DD format).
limitoptional premium onlyNumber of results to return (1-100). Default is 5.
offsetoptional premium onlyNumber of results to offset for pagination. Default is 0.
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
A JSON array of objects, each containing the following fields, or an error if the request is unsuccessful.
countryTwo-letter country code (ISO 3166-1 alpha-2).
typeVAT rate type (for example
standard,reduced,super_reduced,exempted,parking).rateVAT rate as a percentage (for example
21for 21%). For rate types other thanstandard, the numeric value is shown to premium subscribers only; free accounts receive a premium-only notice in this field.dateThe effective date for this VAT rate (YYYY-MM-DD).
categoryOptional description of the goods/services category this rate applies to.
Sample Request Live Demo!
Try our APIs in the API playground
Sign up for a free API key to get started — no credit card required.
https://api.api-ninjas.com/v1/vat?country=FRHeaders
X-Api-KeyLog in or sign up to get your API KeySample Response
Code Examples
1
2
curl -X GET "https://api.api-ninjas.com/v1/vat?country=FR" \
-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.
Frequently Asked Questions
Can I use the VAT Rates API for commercial purposes?
Yes, but you must have a premium subscription. Commercial use of the VAT Rates API is not permitted on the free tier. See our pricing page to choose a plan that fits your needs.How do I get an API key and start using the VAT Rates API?
Sign up for a free account to instantly get your API key, then pass it in theX-Api-Keyheader on every request. The documentation above includes ready-to-run examples in cURL, Python, JavaScript, Node.js, and more.What happens if I exceed my quota for the month?
Your API requests will simply be denied once you hit your monthly quota — you will never be charged more than the plan you signed up for. To increase your quota, you can upgrade your plan any time on our pricing page.What happens if a request to the VAT Rates API fails?
The API responds with a standard HTTP status code and a JSON error message describing the problem. See our error codes reference for the full list of codes and how to resolve each one, or contact support if you need help.What VAT data does the VAT Rates API provide and which countries are covered?
The VAT Rates API returns current and historical Value Added Tax rates for all countries in the European Union, including the standard rate, reduced rates, super-reduced rates, and special categories. For sales and consumption tax rates of non-EU countries, use the Sales Tax API instead.How do I look up VAT rates for a specific EU country?
Send a GET request to the/v1/vatendpoint with the requiredcountryparameter set to a two-letter ISO 3166-1 alpha-2 code (for exampleFR). You can also filter with the optionaltypeparameter (standard,reduced,super_reduced,exempted, orparking) and review the related Income Tax API for direct tax data.What fields are included in the VAT Rates API response?
The API returns a JSON array of objects, each with acountrycode, the ratetype, therateas a percentage, the effectivedate, and an optionalcategorydescribing the goods or services the rate applies to. If a request is unsuccessful, an error is returned instead.How can I retrieve historical VAT rates or page through results?
Use themin_dateandmax_dateparameters (in YYYY-MM-DD format) to filter rates by their effective date, and the premiumlimit(1-30, default 5) andoffsetparameters to paginate. The premium pagination parameters require a paid plan, which you can compare on the pricing page.Can I check whether a customer's VAT number is valid?
Yes — use the companion VAT Validation API, which validates any EU VAT number with instant format and checksum checks plus live EU registry status, and returns company name, address, and audit-ready consultation numbers on paid plans.