- Guides
- free VAT rates API
Free VAT rates API: VAT and GST rates as JSON
GET /v1/tax/rates?country=DE returns the standard, reduced and special VAT rates for Germany as JSON, and the same call works for every EU member state plus the UK, Norway, Switzerland, Australia, Japan, Singapore and more. New accounts get 1,000 free requests, and each rates call costs 1 credit after that.
Last checked . Service: VAT rates and VAT number validation API. Reference: endpoint docs.
What the endpoint returns
One object per country. standard_rate is the headline rate, and reduced_rates, super_reduced_rates, parking_rates and special_rates hold the rest. The rates array repeats each rate with the goods and services it applies to, so a 7% reduced rate in Germany comes with categories such as FOODSTUFFS, NEWSPAPERS and TRANSPORT_PASSENGERS.
Every rate carries source_url, effective_from and checked_at. EU rates are refreshed daily from the European Commission's Taxes in Europe Database (TEDB). Rates for countries outside the EU are curated from the tax authority's own page, linked in source_url, and reviewed quarterly. Canada takes a region parameter (ON, QC, BC and so on) because provincial sales tax differs.
The country list is at GET /v1/tax/coverage, which is free. US sales tax is not covered, since it is set by states and cities rather than one national rate.
Request
Send your key in the x-api-key header. New accounts get 1,000 free requests after email verification; the quickstart takes about a minute.
curl 'https://api.apifor.dev/v1/tax/rates?country=DE' \
-H 'x-api-key: YOUR_API_KEY'import os
import requests
r = requests.get(
"https://api.apifor.dev/v1/tax/rates",
params={
"country": "DE",
},
headers={"x-api-key": os.environ["APIFOR_API_KEY"]},
timeout=30,
)
r.raise_for_status()
print(r.json()["data"])const res = await fetch("https://api.apifor.dev/v1/tax/rates?country=DE", {
headers: { "x-api-key": process.env.APIFOR_API_KEY },
});
const { data } = await res.json();
console.log(data);Response
This is the example recorded from the live API and published in our OpenAPI spec. Long lists and strings are shortened here. The full spec is at api.apifor.dev/v1/openapi.json.
{
"success": true,
"data": {
"country": "DE",
"region": null,
"tax_name": "VAT",
"standard_rate": 19,
"components": [
{
"tax": "VAT",
"rate": 19
}
],
"reduced_rates": [
7
],
"super_reduced_rates": [],
"parking_rates": [],
"special_rates": [],
"zero_rated": false,
"effective_from": "2026-07-01",
"effective_from_basis": "tedb_version",
"source": "EC TEDB",
"source_url": "https://ec.europa.eu/taxation_customs/tedb/#/vat-search-result",
"checked_at": "2026-11-28",
"rates": [
{
"type": "standard",
"rate": 19,
"tax": "VAT",
"categories": [],
"note": null,
"effective_from": "2026-07-01",
"effective_from_basis": "tedb_version",
"source": "EC TEDB",
"source_url": "https://ec.europa.eu/taxation_customs/tedb/#/vat-search-result",
"checked_at": "2026-11-28"
},
{
"type": "reduced",
"rate": 7,
"tax": "VAT",
"categories": [
"ACCOMMODATION",
"CULTURAL_EVENTS"
],
"note": null,
"effective_from": "2026-07-01",
"effective_from_basis": "tedb_version",
"source": "EC TEDB",
"source_url": "https://ec.europa.eu/taxation_customs/tedb/#/vat-search-result",
"checked_at": "2026-11-28"
}
]
},
"meta": {
"attribution": {
"source": "European Commission, Taxes in Europe Database (TEDB)",
"license": "CC BY 4.0",
"license_url": "https://creativecommons.org/licenses/by/4.0/",
"source_url": "https://ec.europa.eu/taxation_customs/tedb/#/vat-search-result",
"attribution_page": "https://commission.europa.eu/legal-notice_en",
"notice": "© European Union. APIFor groups TEDB entries into one rate per type and simplifies categories."
}
}
}Add or remove VAT from an amount
GET /v1/tax/calculate?country=DE&amount=100 returns net 100, tax 19 and gross 119, rounded half up to cents. Pass inclusive=true when the amount already includes tax and you want the net back out. Use rate_type=reduced for a reduced rate, and rate to pick one when a country has two, for example France's 10% and 5.5%. A calculation costs 1 credit.
Check a VAT number
GET /v1/tax/validate?country=NL&id=NL004495445B01 checks an EU VAT number live against VIES and returns the registered name and address when VIES shares them. UK, Australian, New Zealand, Swiss, Norwegian, Brazilian, Indian and Singapore numbers get a format and check-digit test by default. valid is null when the registry could not answer, so treat null as unknown, never as invalid. A live check costs 5 credits; a checksum-only check costs 1.
Errors, limits and cost
A missing or wrong key returns 401, bad parameters return 400 with an error.code, and an unknown id returns 404. Rate limits are per key: a limited request gets 429 with a Retry-After header in seconds, so wait that long and retry. Calls that fail before any work starts are refunded. Details are in errors and rate limits.
This request costs 1 credit. Pricing is prepaid: 1,000 free requests once after email verification, then packs from $5 for 5,000 requests to $149 for 400,000. Credits never expire and there is no subscription. See pricing.
From an AI assistant
The same data is available as a tool on the APIFor MCP server at https://mcp.apifor.dev/mcp. Add it as a remote server in any client that supports remote MCP, sign in with OAuth or send your API key as a Bearer token, and ask in plain language. MCP calls use the same key and credits as REST. Setup steps are on the MCP page.
Alternatives
- European Commission TEDB: The official source for EU VAT rates, free to search in the browser. It is the source APIFor reads for EU rates.
- VIES REST API: Free and keyless for checking EU VAT numbers. On 1 Dec 2026 a GET to /vies/rest-api/ms/NL/vat/004495445B01 returned isValid true with the company name. It validates numbers only and has no rates.
Facts about other services come from their own pages or a test call on 1 Dec 2026. Prices and limits change, so confirm them there.
Source and licence
EU rates: © European Union, Taxes in Europe Database (TEDB), CC BY 4.0. APIFor groups TEDB entries into one rate per type and simplifies categories. Other countries: the tax authority page linked in each rate's source_url.
Every APIFor response carries the same attribution in meta.attribution. All sources are listed on sources and licences.
FAQ
Is there a free VAT rates API?
Yes. APIFor gives 1,000 free requests once after email verification, and a rates call costs 1 credit. After that, prepaid packs start at $5 for 5,000 requests. The EU's own TEDB site is free to browse but has no simple JSON endpoint for rates.
How current are the EU VAT rates?
EU rates are refreshed daily from TEDB. Each rate has effective_from and checked_at fields so you can see what changed and when we last looked.
Does it cover US sales tax?
No. US sales tax is set by states, counties and cities, and the tax service does not hold it today. GET /v1/tax/coverage lists the countries that are covered.