1. Services
  2. Tax

VAT rates and VAT number validation API

VAT and GST rates for 37 countries, a calculator for net, tax and gross, and a VAT or business tax ID check.

GET /v1/tax/calculate1 creditAbout $0.001

Try it

GET/v1/tax/calculate
curl 'https://api.apifor.dev/v1/tax/calculate?country=DE&amount=100' \
  -H 'x-api-key: YOUR_API_KEY'
Example response · 200
{
  "success": true,
  "data": {
    "country": "DE",
    "region": null,
    "rate_type": "standard",
    "rate": 19,
    "inclusive": false,
    "tax_name": "VAT",
    "net": 100,
    "tax": 19,
    "gross": 119,
    "breakdown": [
      {
        "tax": "VAT",
        "rate": 19,
        "amount": 19
      }
    ],
    "rounding": "half_up_to_cents",
    "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."
    }
  }
}

A real response from our OpenAPI file, with long lists and strings shortened.

Endpoints and price

EndpointCreditsAbout
GET /v1/tax/rates1 credit$0.001
GET /v1/tax/calculate1 credit$0.001
GET /v1/tax/validate5 credits$0.005

USD at Starter pack prices ($5 for 5,000 credits). Calls that fail before work starts are refunded.

Limits

  • No US sales tax.
  • Tax ID checks outside the EU are format and check-digit tests. A pass means well formed, not registered.
  • If a registry does not answer you get valid: null with HTTP 503, and no charge.

Questions

Where do the rates come from?

EU rates from the European Commission's TEDB feed, refreshed daily. UK from GOV.UK. Others from each tax authority, reviewed every quarter.

Does it cover US sales tax?

No. There is no free authoritative source we can use.

Is a passed check-digit test proof a company is registered?

No. It means the number is well formed. Only a registry lookup confirms registration.

Other services