Free
For testing and side projects
$0forever
No credit card
No overage charges
100 requests / month
Includes:
- VAT number validation
- VAT rates
- Price calculation
- HTTPS 256-bit
VAT validation & EU VAT rates API · by APILayer
Free plan · 100 requests / month · no card
Overview
Automate VAT number validation, VAT rate lookups, company information, and VAT-compliant price calculations with a simple, developer-friendly REST API.
curl --request GET \
--url "https://api.apilayer.net/vatlayer/validate?access_key=YOUR_ACCESS_KEY&vat_number=LU26375245"
{
"valid": true,
"database": "ok",
"format_valid": true,
"query": "LU26375245",
"country_code": "LU",
"vat_number": "26375245",
"company_name": "AMAZON EUROPE CORE S.A R.L.",
"company_address": "38, AVENUE JOHN F. KENNEDY L-1855 LUXEMBOURG"
}Connect to a straightforward REST API using an HTTP GET request and receive lightweight JSON responses. Integrate VAT data into your ecommerce platform, billing system, SaaS product, accounting software, or internal tools.
Verify EU VAT numbers in real time and retrieve available company information. Give your application an automated way to check whether a customer’s VAT registration is valid before completing a transaction.
Retrieve current VAT rates for individual EU member states or access VAT-rate information for all the 27 EU countries.
VAT rules can vary depending on the type of goods or services being sold. Vatlayer provides access to standard and applicable reduced VAT rates, helping applications account for different tax categories.
Request VAT rates using a country code, a custom IP address, or the client’s IP address, making it possible to build location-aware pricing and checkout experiences.
Interactive documentation, lightweight JSON responses, accessible via HTTP GET Method, usage statistics, and a simple endpoint structure make Vatlayer easy to integrate into modern applications.
Pricing
Start free. Upgrade when you go live.
For testing and side projects
$0forever
No credit card
No overage charges
100 requests / month
Includes:
For your first live product
$9.99/ month
Billed monthly
Then $0.03996 per extra request, up to 2,000 extra a month
For growing traffic
$29.99/ month
Billed monthly
Then $0.02999 per extra request, up to 8,000 extra a month
4,000 requests / month
Everything in Starter, plus:
For high volume
$99.99/ month
Billed monthly
Then $0.019998 per extra request, up to 40,000 extra a month
20,000 requests / month
Everything in Professional, plus:
Need more? Contact sales for custom needs.
| 7 features | Free$0Get free key | Starter$9.99/moSubscribe | Professional$29.99/moSubscribe | Enterprise$99.99/moSubscribe |
|---|---|---|---|---|
| VAT number validation | ||||
| VAT rates | ||||
| Price calculation | ||||
| HTTPS 256-bit | ||||
| Commercial use | – | |||
| Standard support | – | |||
| Custom solutions | – | – | – | – |
| Price per extra request after the monthly limit | None | $0.03996 | $0.02999 | $0.019998 |
Playground
Build a request in your browser and see the response it returns.
Agents
Steps for AI coding agents that add Vatlayer to a project.
A person creates the account: an agent cannot sign up. Sign up at app.apilayer.com and subscribe to Vatlayer. The Free plan includes 100 requests / month and needs no credit card.
Copy the API key from the APILayer dashboard and give it to the agent as an environment variable (step 2).
Read the key from an environment variable named APILAYER_ACCESS_KEY. Do not write the key into source code, commit it to git, or paste it into a chat.
Call Vatlayer from server code. The key travels in the request URL, so a request sent from a browser shows the key to every visitor.
# add .env to .gitignore
APILAYER_ACCESS_KEY=your_api_keyhttps://api.apilayer.net/vatlayeraccess_key query parameter/validate Validate VAT number/rate VAT rate/rate_list Rate listcurl "https://api.apilayer.net/vatlayer/validate?access_key=$APILAYER_ACCESS_KEY&vat_number=LU26375245"The API info tab shows the response this request returns.
Each plan adds features to the plan before it. Check that the account's plan includes a feature before writing code that uses it.
| Plan | Requests / month | Adds |
|---|---|---|
| Free | 100 | VAT number validation, VAT rates, Price calculation, HTTPS 256-bit |
| Starter | 1,000 | Commercial use, Standard support |
| Professional | 4,000 | Same features as Starter |
| Enterprise | 20,000 | Same features as Professional |
Prices are in the Pricing tab.
FAQs
Here are the answers you might be seeking
Vatlayer is a REST-based JSON API for automating EU VAT number validation, VAT rate lookups, VAT-compliant price calculations, and related VAT information.
You can validate EU VAT numbers, retrieve company information, request VAT rates for individual countries, retrieve VAT rates across the supported EU countries, and calculate VAT-compliant prices.
Yes. The validate endpoint allows you to submit an EU VAT number and receive validation results and available company information in JSON format.
Yes. When validating a VAT number, the API can return available company information associated with the VAT registration.
Yes. The VAT-rate endpoint allows you to specify a country using a two-letter country code. You can also determine the country using an IP address.
Yes. Vatlayer provides a dedicated rate_list endpoint for retrieving VAT-rate information for the supported EU member states.
Yes. The API provides standard and reduced VAT rates, including type-specific rates where applicable.
Vatlayer uses multiple data sources and a fallback and validation system. Its published sources include databases from the European Commission.
Vatlayer states that EU VAT number validations, VAT-compliant price calculations, and EU VAT rates are delivered or performed in real time.
Vatlayer returns VAT information in lightweight JSON, making it compatible with a wide range of programming languages, applications, and backend systems.
Vatlayer is a simple REST-based JSON API offering instant EU VAT number validation, VAT compliant price calculations and VAT rates for all 28 current member states of the European Union. Its system is secured by HTTPS and focused on ease of use & integration, delivering all VAT data in lightweight and highly portable JSON format.
This level of compatibility, paired with startup- and developer-friendly pricing and a full stack of features makes the vatlayer API a perfect VAT rate automation and number validation tool for individuals, businesses and merchants selling and buying goods in and around the European Union.
At vatlayer we aim to provide the highest possible level of data accuracy and response speed possible. In order to achieve this for every API request, the vatlayer API relies on multiple servers and a distinct "fallback & validation" mechanism, consisting of a fairly large number of different data sources (instances), which include the European Commission's databases. If one instance fails to deliver an accurate data response (which does not even occur in 99.9% of the cases), the next highest one is assigned with the respective request. Only this way can we provide a consistent service and API living up to our customer's expectations.
All EU VAT number validations, VAT compliant price calculations and EU VAT rates are delivered and performed in real-time. The vatlayer API's average response time is around 0.50 seconds.
Yes. You may access accurate VAT information and execute all existing functions for all 28 EU member states.
A country's standard rate is the VAT rate applying to the vast majority of circulating products (e.g. a VAT of 20% in the UK). However, each country defines certain types of goods falling into reduced VAT categories (e.g: In the United Kingdom, there is no VAT for medical products, and a VAT percentage of 5% for "property renovations").
Yes. All you have to do to validate a EU VAT number is append it to the API's validate endpoint URL as a query parameter. API results are returned in simple and easily parseable JSON format.
There are three different parameters that can be attached to the API's rate endpoint in order to define the country to obtain VAT rates for. First of all, you can specify a standard 2-letter country_code (e.g. GB). Alternatively, you may provide a custom ip_address and have our API locate the corresponding country. The third option for defining the country is appending the API's use_client_ip parameter and setting it to 1, which will cause our system to locate the client't IP address directly.
Please note that you must choose only one of the above parameters in order for your query to work.
Yes. All plans, including Free, access the API through industry-standard 256-bit HTTPS encryption.
Pricing is based on the number of monthly API Requests offered for each individual Subscription Plan. Accessing any type of the API's EU VAT data using a valid API Access Key and one of the 4 main API endpoints counts as one "API Request".
The vatlayer API's system status is being closely monitored around the clock. Since every effort is made to ensure the highest possible level of consistency, we are happy to announce that our API's uptime is at around 99.9%.
Yes. Using the API's rate_list endpoint, you may request an entire set of EU VAT rates in a single API call. Please note that requesting this endpoint results in a significantly larger response size, which may have a negative impact on your application's performance.
Yes. The price endpoint can calculate VAT-compliant prices based on an amount, country, and applicable product type. It also supports reverse calculations when the supplied amount already includes VAT.
Yes. The Free plan includes 100 API requests per month and provides access to core VAT functionality for non-commercial use.
Yes. Using the API's price endpoint, you may provide an amount, define a country and request the API to calculate a VAT compliant price on your behalf. You may also provide a specific type of product (according to the API's types endpoint) or, in case the amount you provided already includes a VAT percentage, perform reverse price calculations.
Yes. If you choose annual billing, the total price of your subscription plan will be up to 15% lower than the total amount you would pay with a monthly payment frequency.
If your usage consistently surpasses the set limits each month, you may face additional charges for the excess usage. Nevertheless, as your monthly usage reaches a certain threshold, it becomes more practical to consider upgrading to the next plan. By doing so, you ensure a smoother and more accommodating experience for your growing customer base.
Vatlayer notifies users at 75%, 90%, and 100% of their monthly allowance. Once the allowance is exceeded, overage fees can apply so applications can continue running without interruption.
Users will be automatically notified via e-mail and on their Account Dashboard once at least 75%, 90%, and 100% of their monthly API Request allowance has been reached. After reaching 100% of the allowance, overages fees will apply so we make sure you won’t experience any disruptions and your website/application will keep running smoothly.
An overage occurs when you go over a quota for your API plan. When you reach your API calls limit, we will charge you a small amount for each new API call so we can make sure there will be no disruption in the service we provide to you and your website or application can continue running smoothly.
Prices for additional API calls will vary based on your plan.
Overage fees allow customers to continue using an API once a quota limit is reached. We want to make sure your website or application continues running at all times, so charges will apply if you go over your monthly quota limit. If you notice you are going over your quota limit each month, look on your dashboard for an upgraded plan to help with larger request limits.
When you are close to reaching your API calls limit for the month, you will receive an automatic notification (at 75%, 90%, and 100% of your monthly quota). You can keep track of your quota usage to prevent overages by tracking the number of API calls you make and checking the dashboard for up-to-date usage statistics.
Still have a question?
Contact support