VAT By Country
GEThttps://api-sales-tax.dataandapis.com/v1/vat/{country}
VAT By Country is an endpoint of the Sales Tax & VAT API. VAT and GST rates for 52 countries, US state sales tax for all 50 states, and a calculator.
Send your key in the X-Api-Key header. Each call costs 1 token; a free key includes 500 tokens a month.
Request
Path parameters
| Parameter | Example | |
|---|---|---|
| country | DE | Required |
Example request
curl
curl "https://api-sales-tax.dataandapis.com/v1/vat/DE" \
-H "X-Api-Key: YOUR_API_KEY"JavaScript / TypeScript (dataandapis package)
// npm install dataandapis
import { DataAndApis } from "dataandapis";
const client = new DataAndApis(); // reads DATAANDAPIS_API_KEY
const data = await client.salesTaxVat.vatByCountry({ country: "DE" });Node.js (fetch)
const res = await fetch("https://api-sales-tax.dataandapis.com/v1/vat/DE", {
headers: { "X-Api-Key": process.env.DATAANDAPIS_KEY },
});
const data = await res.json();Python (dataandapis package)
# pip install dataandapis
from dataandapis import DataAndApis
client = DataAndApis() # reads DATAANDAPIS_API_KEY
data = client.sales_tax_vat.vat_by_country(country="DE")Python (requests)
import os, requests
r = requests.get(
"https://api-sales-tax.dataandapis.com/v1/vat/DE",
headers={"X-Api-Key": os.environ["DATAANDAPIS_KEY"]},
)
data = r.json()Guide to the dataandapis npm package →Guide to the dataandapis Python package →
Example response
Example response
{
"ok": true,
"as_of": "2026-09",
"country": "Germany",
"code": "DE",
"tax_name": "VAT",
"standard_rate": 19,
"reduced_rates": [
7
],
"disclaimer": "Rates are state/country base rates as of 2026-09; local surcharges and category-specific rates may apply. Verify before relying on them for tax filings."
}