Data Sources

GEThttps://api-vat.dataandapis.com/v1/sources

Data Sources is an endpoint of the VAT Validation API. Validate EU VAT numbers against VIES with registered name and address where disclosed.

Send your key in the X-Api-Key header. Each call costs 2 tokens; a free key includes 500 tokens a month.

Request

This endpoint takes no parameters.

Example request

curl
curl "https://api-vat.dataandapis.com/v1/sources" \
  -H "X-Api-Key: YOUR_API_KEY"
Node.js
const res = await fetch("https://api-vat.dataandapis.com/v1/sources", {
  headers: { "X-Api-Key": process.env.DATAANDAPIS_KEY },
});
const data = await res.json();
Python
import os, requests

r = requests.get(
    "https://api-vat.dataandapis.com/v1/sources",
    headers={"X-Api-Key": os.environ["DATAANDAPIS_KEY"]},
)
data = r.json()

Example response

Example response
{
  "ok": true,
  "sources": [
    {
      "slug": "vies",
      "name": "VIES — VAT Information Exchange System",
      "publisher": "European Commission (DG TAXUD)",
      "licence": "official EU validation service",
      "source_url": "https://ec.europa.eu/taxation_customs/vies/",
      "file_url": "https://ec.europa.eu/taxation_customs/vies/rest-api/check-vat-number",
      "cadence": "live registry lookups; results cached 15 minutes"
    }
  ]
}