Data tools / Sanctions, KYB and payee checks

BIC/SWIFT code validation API: ISO 9362 structure, country, location and branch

Use when you need to check a BIC/SWIFT code before an international transfer: ISO 9362 structure (8 or 11 characters), ISO 3166 country, and the bank, country, location and branch parts split out, with head-office and test-BIC flags. No external call; format only, says that no BIC directory was read. $0.0324 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/bic?swift=DEUTDEFF500'
ParameterRequiredWhat it is
swiftyesBIC/SWIFT code, 8 or 11 characters (bic= is accepted too)

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,
  "swift_code": "DEUTDEFF500",
  "bic11": "DEUTDEFF500",
  "bank_code": "DEUT",
  "country_code": "DE",
  "country_name": "Germany",
  "location_code": "FF",
  "branch_code": "500",
  "is_head_office": false,
  "test_bic": false,
  "passive_participant": false,
  "length": 11,
  "error": null,
  "checks_performed": [
    "structure",
    "length",
    "country_code"
  ],
  "registry_checked": false,
  "as_of": "2026-12-01T12:00:00.000Z",
  "note": "Computed by P0 from your input only (no external call): ISO 9362 structure and the ISO 3166 country code. valid: true does not mean the BIC is assigned to a bank (no BIC directory was read)."
}

Free sample, no payment: /validate/bic/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 bic_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