Data tools / Sanctions, KYB and payee checks

IBAN validation API: country format, length and mod-97 checksum, bank code split out

Use when you need to check an IBAN before a payment or onboarding: country format, length, BBAN structure and ISO 7064 mod-97 checksum for 85 countries, with country, check digits, BBAN, bank and branch code split out. No external call; says what was checked, never claims the account exists. Unknown country: refused before any charge. $0.054 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/iban?iban=DE89370400440532013000'
ParameterRequiredWhat it is
ibanyesIBAN, spaces allowed (e.g. GB29 NWBK 6016 1331 9268 19)

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,
  "iban": "DE89370400440532013000",
  "iban_print": "DE89 3704 0044 0532 0130 00",
  "country_code": "DE",
  "country_name": "Germany",
  "check_digits": "89",
  "bban": "370400440532013000",
  "bank_code": "37040044",
  "branch_code": null,
  "expected_length": 22,
  "length": 22,
  "bban_structure": "8n10n",
  "length_valid": true,
  "format_valid": true,
  "checksum_valid": true,
  "error": null,
  "checks_performed": [
    "country_format",
    "length",
    "bban_structure",
    "mod97_checksum"
  ],
  "registry_checked": false,
  "as_of": "2026-12-01T12:00:00.000Z",
  "note": "Computed by P0 from your input only (no external call): country format, length, BBAN structure and the ISO 7064 mod-97 checksum. valid: true does not mean the account exists or is open; bank_code is the field the national format defines, not a looked-up bank."
}

Free sample, no payment: /validate/iban/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 iban_validate. 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