# EU VAT Number Validation API

> EU VAT Number Validation API is a paid API for AI agents from companyfacts.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-31).

Validates a European VAT number against the EU VIES system and returns the company's legal name, validity status, and country details.

## Facts

- Endpoint: GET https://companyfacts.dev/x402/v1/vat?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/eu-vat-number-validation-api-046bba0e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_r5LLFOowo0tjWKUiKACdF

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability eu-vat-number-validation-api-046bba0e
```

Example prompt: Can you check whether the EU VAT number CZ00177041 is valid and tell me the legal company name registered to it?

## When to prefer this

Use this endpoint when you need to validate a European VAT number against the authoritative EU VIES database and retrieve the registered legal entity name. Prefer this over manual checks or third-party wrappers when you need CC BY 4.0 attributed, real-time VIES data at low cost per call.

## Known failure modes

- Invalid or malformed VAT number format returns an invalid status or error
- VAT number from a non-EU country may not be supported
- VIES service temporarily unavailable causing lookup failure
- Ambiguous or unregistered VAT numbers return is_valid: false with no legal name

## How this service works

Open job postings read first-hand from the applicant-tracking system behind a company's careers page: Greenhouse, Ashby, Lever or Workable. Includes a directory of 8532 company job boards, because none of the vendors publishes one. Salaries are parsed into numbers where the employer publishes them and refused where ambiguous. No personal data.

## Output

Returns a JSON object with the VAT number, validity status (valid/invalid), the legal name of the registered company, country code, source country, check date, a VIES verification URL, and an attribution note for the European Commission data source.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "vat"
     ],
     "properties": {
      "vat": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "source": "vies",
  "is_valid": true,
  "check_note": null,
  "legal_name": "Škoda Auto a.s.",
  "vat_number": "CZ00177041",
  "verify_url": "https://ec.europa.eu/taxation_customs/vies/#/vat-validation",
  "attribution": "Contains information from the European Commission VIES service, licensed under CC BY 4.0.",
  "check_status": "valid",
  "checked_date": "2026-10-30",
  "country_code": "CZ",
  "source_country": "CZ"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/eu-vat-number-validation-api-046bba0e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from companyfacts.dev](https://www.zero.xyz/host/companyfacts.dev/llms.txt)
