Data tools / Sanctions, KYB and payee checks
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.
&payfirst=1 to the call, send exactly the amount it names (about $0.0216 plus a few millionths of a dollar), then repeat the call with "e=<token>. A transfer without a quote token is never matched to a call; see /pay.curl -i 'https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/validate/vat?vat_number=DE123456789'| Parameter | Required | What it is |
|---|---|---|
vat_number | yes | VAT number with its country prefix (EL for Greece; GR is mapped to EL) |
country_code | no | Country prefix when vat_number has none (e.g. FR) |
Runnable code for JavaScript, Python and LangChain: /integrations. Full schema: OpenAPI.
Top-level fields of the JSON answer, read from the example below:
valid (boolean)format_valid (boolean)vat_number (string)country_code (string)country_name (string)expected_format (string)eu_vies_country (boolean)checks_performed (list)check_digits_checked (boolean)registry_checked (boolean)error (null)as_of (string)note (string){
"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.
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.
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