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
AI agents: the setup steps for Vatlayer are in the Agents section of this page (#agents) and as Markdown at /products/vatlayer/agents.md. Index of every APILayer API: https://apilayer.com/llms.txt
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.
| 6 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 | – | |||
| 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 list/price Calculate a VAT-compliant price/types List product typescurl "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 simple REST-based JSON API offering instant EU VAT number validation, VAT compliant price calculations and VAT rates for all 27 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.
Vatlayer is a product built and maintained by APILayer, the company behind 17 developer APIs, including Exchange Rate API, Numverify and Mailboxlayer. You can learn more on the Why choose APILayer page.
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. When validating a VAT number, the API can return available company information associated with the VAT registration.
Yes. The API provides standard and reduced VAT rates, including type-specific rates where applicable.
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").
See the API's Documentation for details.
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 27 EU member states.
Vatlayer returns VAT information in lightweight JSON, making it compatible with a wide range of programming languages, applications, and backend systems.
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.
See the API's Documentation for details.
Yes. All plans, including Free, access the API through industry-standard 256-bit HTTPS encryption.
Every registered user is assigned a personal Access Key, a unique "password" that can be used to access and query the Vatlayer API. If you are logged in, you can find it in your Account Dashboard and in all interactive links contained in the API's Documentation.
In your Account Dashboard you can reset your Access Key at any given time.
In order to make an API Request, you are required to attach your Access Key to a valid API endpoint URL, e.g: https://api.apilayer.net/vatlayer/validate?access_key=YOUR_ACCESS_KEY
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 API's 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%. At the current stage we are not offering any public statistics, but we will be happy to provide you with recent uptime reports - ask us »
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.
See the API's Documentation for details.
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's IP address directly.
Please note that you must choose only one of the above parameters in order for your query to work.
See the API's Documentation for details.
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.
See the API's Documentation for details.
Yes. The Free plan includes 100 API requests per month and provides access to core VAT functionality for non-commercial use.
The Free Plan is set out to be a "trial version" without a time limit, offering a volume of 100 monthly API requests and a slightly limited set of functionalities.
Paid Subscription Plans feature significantly higher API Request volumes, ensure secure datastreams via 256-bit HTTPS Encryption, include unlimited and prioritised technical support, and offer a variety of must-have API functionalities.
In order to test the API and to get an idea of the product, you can simply sign up for the Free Plan.
As soon as you or your application requires more than 100 API requests per month and more professional API functionality, you would be well-advised to sign up for one of the paid Subscription Plans, starting at only USD 9.99 per month, or at up to 15% Discount - if you decide to pay annually.
Payments can be made via Credit Card (Visa, MasterCard, Discover, Diner's Club). You can change your payment method at any given time in the Payment section of your Account Dashboard.
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.
You can initiate a cancellation or downgrade by selecting a new plan and providing at least one reason for your decision. The customer service team will cancel or downgrade your plan. Downgrades are not effective immediately; your premium subscription will remain active until the end of the current billing period.
To change your subscription from monthly to yearly billing, submit a request on the Contact Us page following these steps:
Step 1: Sign in to your account.
Step 2: Go to the Contact Us page.
Step 3: Fill out the form and choose the “Sales” category for this request.
Step 4: In the text box, include your specific request, for example “Change from Monthly to Yearly subscription.”
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. You can learn more about overages billing here.
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. See the table below for prices per call and an example of an overage billing.
| Plan | Monthly price | Requests / month | Price per extra request | Extra requests | Overage cost |
|---|---|---|---|---|---|
| Starter | $9.99 | 1,000 | $0.03996 | 10,000 | $399.60 |
| Professional | $29.99 | 4,000 | $0.02999 | 10,000 | $299.90 |
| Enterprise | $99.99 | 20,000 | $0.019998 | 10,000 | $199.98 |
Note: For complete details, please refer to the overages documentation here.
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.
You will be charged for your monthly subscription plan, plus any overage fees applied. Your credit card will be billed after the billing period has ended.
In this case, there will be no change to your monthly invoice. Only billing cycles that incur overages will see any difference in monthly charges. The Business Continuity plan is an insurance plan to be used only if needed and guarantees your end users never see a drop in coverage from you.
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. Find out about our pricing plans here.
You can easily upgrade your plan by going to your Dashboard and selecting the new plan that would be more suitable for your business needs. Additionally, you may contact your Account Manager to discuss a custom plan if you expect a continuous increase in usage.
Still have a question?
Contact support