# Validate VAT Number

> Validate VAT Number is a paid API for AI agents from api.gadgethumans.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-20).

Validates EU or UK VAT number format and checksum, returning the country and normalised form

## Facts

- Endpoint: GET https://api.gadgethumans.com/vat-validate?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/validate-vat-number-06ef54d8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hVz-sjeKT1bJB9uLMippZ

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 validate-vat-number-06ef54d8
```

Example prompt: Can you check whether the VAT number GB123456789 is valid and tell me what country it belongs to and its normalised form?

## When to prefer this

Use this endpoint when you need a fast, pure-CPU, offline-style VAT number syntax and checksum validation without hitting the official EU VIES lookup service — ideal for pre-validation before submitting to VIES, checking user input at checkout, or batch-normalising VAT numbers without rate-limit concerns. Prefer over VIES when you only need format/checksum validity and don't need real-time active registration status.

## Known failure modes

- Malformed or completely non-VAT string returns ok: false
- Unsupported country prefix returns failure or false
- Empty or missing 'vat' query parameter causes a 400-level error
- Non-EU/UK VAT formats (e.g. US EIN) are not supported

## How this service works

Validate an EU or UK VAT number format and checksum and return the country and normalised form. Pure CPU, instant.

## Output

A JSON object with an 'ok' boolean indicating validity, plus the detected country code and normalised (standardised) form of the VAT number when valid. Invalid numbers return ok: false.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "queryParams": {
     "type": "object",
     "required": [
      "vat"
     ],
     "properties": {
      "vat": {
       "type": "string",
       "description": "VAT number to validate"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "ok": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/validate-vat-number-06ef54d8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.gadgethumans.com](https://www.zero.xyz/host/api.gadgethumans.com/llms.txt)
