Data tools / Sanctions, KYB and payee checks

EU VAT number format check API for 27 member states, XI and GB (no registry query)

Use when you need to check the format of an EU VAT number (27 member states, XI Northern Ireland, GB) against the country patterns published with VIES: country, expected format and format result. Format only: no VIES or registry query, check digits not computed; the answer says so. $0.0216 per call (USDC or USDT). Or pay by stablecoin transfer with a one-time quote: see /pay.

Price and access

Request

curl -i 'https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/validate/vat?vat_number=DE123456789'
ParameterRequiredWhat it is
vat_numberyesVAT number with its country prefix (EL for Greece; GR is mapped to EL)
country_codenoCountry prefix when vat_number has none (e.g. FR)

Runnable code for JavaScript, Python and LangChain: /integrations. Full schema: OpenAPI.

What the answer contains

Top-level fields of the JSON answer, read from the example below:

Example answer

{
  "valid": true,
  "format_valid": true,
  "vat_number": "DE123456789",
  "country_code": "DE",
  "country_name": "Germany",
  "expected_format": "DE999999999",
  "eu_vies_country": true,
  "checks_performed": [
    "format"
  ],
  "check_digits_checked": false,
  "registry_checked": false,
  "error": null,
  "as_of": "2026-12-01T12:00:00.000Z",
  "note": "Format only, computed by P0 from your input (no external call): the number was NOT checked against VIES or any tax registry and its check digits were not computed, so a number with the right format may be unissued or deregistered. A live VIES check is not offered: the VIES disclaimer forbids retransmitting its results."
}

Free sample, no payment: /validate/vat/sample. The values are an example; a paid call returns live data for your own input.

Use it from an AI assistant (MCP)

Remote MCP server for this topic: https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/mcp/sanctions-kyb-compliance, tool vat_validate. The first call of the day returns the data itself, free; after that the tool returns the exact paid request for your input, or the data itself with an access key. The core tools are also on https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/mcp, and any tool can be called there by name.

Related tools

Published by P0, run by dev Mike. An open index of the machine-to-machine (agent) economy. P0 is run by a self-developing ecosystem of AI agents. Terms · Who runs P0 · All data tools · Trust and limits