Sales Tax & VAT API logo
FinanceMAINTAINED1 token / call

Sales Tax & VAT API

VAT and GST rates for 52 countries, US state sales tax for all 50 states, and a calculator

VAT and GST standard and reduced rates for 52 countries, US state base sales-tax rates for all 50 states plus DC, and a calculator that splits any amount into net, tax and gross (tax-inclusive or exclusive). Every rate is verified against published government and tax-authority sources (listed in /v1/sources), and known scheduled changes are encoded with their effective dates so the API updates itself the day a rate changes β€” no stale snapshots.

Every call needs an X-Api-Key header. A free key includes 500 tokens a month, no card required. 1 token per call, so the free plan covers about 500 calls a month.

No credit card requiredAccess to 125+ APIsCancel anytime
response.json
{
  "query": "GET /v1/calculate?amount=100&country=DE",
  "rate": 19,
  "rate_source": "Germany VAT standard rate",
  "net": 100,
  "tax": 19,
  "gross": 119,
  "coverage": "52 countries + 50 US states & DC"
}
Production Ready
Battle-tested infrastructure with a 99.9% uptime SLA. Rate limits are generous, responses are consistent.
Simple Integration
Standard REST + JSON. Works with any HTTP client. Copy-ready code snippets in 4 languages.
One Key, 125+ APIs
Your DataAndAPIs subscription unlocks every API on the platform β€” anime, finance, sports, and more.

Use cases for Sales Tax & VAT API

  • Apply the right standard or reduced rate at checkout for customers in 52 countries without maintaining a rate table.

  • Quote US prices with the statewide base rate for the buyer's state on invoices and estimates.

  • Split any amount into net, tax and gross in either direction for receipts and accounting exports.

  • Prepare for scheduled rate changes automatically, since upcoming rates are returned with their effective dates.

Sales Tax & VAT API endpoints

Every endpoint with its parameters and a real example response.

GETCalculate Tax

https://api-sales-tax.dataandapis.com/v1/calculate

Query parameters

ParameterExample
amount100Required
countryDEOptional
inclusivefalseOptional
rate8.25Optional
stateCAOptional

Example request

curl "https://api-sales-tax.dataandapis.com/v1/calculate?amount=100&country=DE&inclusive=false&rate=8.25&state=CA" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "as_of": "2026-09",
  "rate": 19,
  "rate_source": "Germany VAT standard rate",
  "amount_is_inclusive": false,
  "net": 100,
  "tax": 19,
  "gross": 119,
  "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."
}

GETData Sources

https://api-sales-tax.dataandapis.com/v1/sources

This endpoint takes no parameters.

Example request

curl "https://api-sales-tax.dataandapis.com/v1/sources" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "as_of": "2026-09",
  "sources": [
    {
      "name": "VATupdate β€” Global VAT rates by country (mid-year 2026 update)",
      "url": "https://www.vatupdate.com/2026/07/25/global-vat-rates-by-country-2026-standard-and-reduced-rates/",
      "verified": "2026-09-11"
    },
    {
      "name": "Fiscalead β€” VAT rates in Europe 2026",
      "url": "https://www.fiscalead.com/en/vat-rates-in-europe-in-2026-full-review-by-country/",
      "verified": "2026-09-11"
    },
    {
      "name": "Sales Tax Institute β€” State sales tax rates (updated 2026-09-01)",
      "url": "https://www.salestaxinstitute.com/resources/rates",
      "verified": "2026-09-11"
    },
    {
      "name": "Tax Foundation β€” State and Local Sales Tax Rates, Midyear 2026",
      "url": "https://taxfoundation.org/data/all/state/2026-sales-tax-rates-midyear/",
      "verified": "2026-09-11"
    }
  ]
}

GETList VAT Rates

https://api-sales-tax.dataandapis.com/v1/vat

This endpoint takes no parameters.

Example request

curl "https://api-sales-tax.dataandapis.com/v1/vat" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "as_of": "2026-09",
  "count": 52,
  "rates": [
    {
      "country": "Austria",
      "code": "AT",
      "tax_name": "VAT",
      "standard_rate": 20,
      "reduced_rates": [
        10,
        13
      ],
      "note": "Temporary 5% rate on basic foodstuffs announced from 1 Jul 2026."
    },
    {
      "country": "Belgium",
      "code": "BE",
      "tax_name": "VAT",
      "standard_rate": 21,
      "reduced_rates": [
        6,
        12
      ]
    },
    {
      "country": "Bulgaria",
…
Show full response
{
  "ok": true,
  "as_of": "2026-09",
  "count": 52,
  "rates": [
    {
      "country": "Austria",
      "code": "AT",
      "tax_name": "VAT",
      "standard_rate": 20,
      "reduced_rates": [
        10,
        13
      ],
      "note": "Temporary 5% rate on basic foodstuffs announced from 1 Jul 2026."
    },
    {
      "country": "Belgium",
      "code": "BE",
      "tax_name": "VAT",
      "standard_rate": 21,
      "reduced_rates": [
        6,
        12
      ]
    },
    {
      "country": "Bulgaria",
      "code": "BG",
      "tax_name": "VAT",
      "standard_rate": 20,
      "reduced_rates": [
        9
      ]
    },
    "... 49 more countries omitted from this example"
  ],
  "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."
}

GETUS Sales Tax

https://api-sales-tax.dataandapis.com/v1/sales-tax/us/{state}

Path parameters

ParameterExample
stateCARequired

Example request

curl "https://api-sales-tax.dataandapis.com/v1/sales-tax/us/CA" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "as_of": "2026-09",
  "state": "California",
  "code": "CA",
  "base_rate": 7.25,
  "note": "6% state rate plus the mandatory 1.25% statewide local rate.",
  "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."
}

GETUS Sales Tax (All States)

https://api-sales-tax.dataandapis.com/v1/sales-tax/us

This endpoint takes no parameters.

Example request

curl "https://api-sales-tax.dataandapis.com/v1/sales-tax/us" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "as_of": "2026-09",
  "count": 51,
  "states": [
    {
      "state": "Alabama",
      "code": "AL",
      "base_rate": 4
    },
    {
      "state": "Alaska",
      "code": "AK",
      "base_rate": 0,
      "note": "No state sales tax; localities may levy their own."
    },
    {
      "state": "Arizona",
      "code": "AZ",
      "base_rate": 5.6
    }
  ],
  "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."
}

GETVAT By Country

https://api-sales-tax.dataandapis.com/v1/vat/{country}

Path parameters

ParameterExample
countryDERequired

Example request

curl "https://api-sales-tax.dataandapis.com/v1/vat/DE" \
  -H "X-Api-Key: YOUR_API_KEY"
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."
}

Where the data comes from

Source
Published government and tax-authority rate tables, cross-checked against VATupdate, Fiscalead, the Sales Tax Institute and the Tax Foundation. Scheduled changes encoded with effective dates.
Freshness
Rates verified against the sources on the snapshot date shown in every response; scheduled changes apply themselves on their effective date.

One install. Every endpoint.

No proprietary SDKs needed. Any HTTP client works. Pick your language and paste.

3languages
6endpoints
RESTarchitecture
1key for all APIs
  • Fully typed responses β€” auto-completion in your IDE
  • Tracks the API in lockstep β€” new endpoints land same day
  • One key works across 125+ APIs on the platform
import axios from 'axios';

const { data } = await axios.get(
  'https://api-sales-tax.dataandapis.com/v1/calculate',
  { headers: { 'X-Api-Key': process.env.API_KEY } }
);

Sales Tax & VAT API Β· X-Api-Key

Explore the endpoints

Browse request parameters and inspect live example responses.

Available Endpoints

Request Parameters

API URL

Headers

X-Api-Key

Query Parameters

amount(Required)
country(Optional)
inclusive(Optional)
rate(Optional)
state(Optional)
import axios from 'axios';

const url = 'https://api-sales-tax.dataandapis.com/v1/calculate';
const { data } = await axios.get(url, {
  headers: { 'X-Api-Key': 'YOUR_API_KEY' }
});

One subscription. Every API.

Tokens unlock this API and 125+ others on DataAndAPIs. Switch APIs any time β€” we promote.

FREE

$0/mo

500 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Community support
Start free
Most Popular

STARTER

$6.99/mo

25,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Email support
Subscribe

PRO

$24.99/mo

100,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Priority email support
Subscribe

ULTRA

$99.99/mo

1,000,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Priority support
Subscribe

Need higher volume, dedicated infra, or a custom contract? Talk to sales β†’

Questions about Sales Tax & VAT API

Ship Sales Tax & VAT API this afternoon.

500 free tokens. No card. Plus 125+ other APIs on the same key.