code402 / tools / swift-bic-check

SWIFT/BIC Structure & Country Code Check — pay-per-call API

$0.000999 per call · 20 free calls/day · no signup · pay with card credits or a signed USDC voucher (x402)

Validate a SWIFT/BIC code by ISO 9362 structure (bank code, ISO country, location, optional branch). Run before foreign wire transfer dispatch to prevent routing rejection. Returns signed XDR-1 receipt.

Honest scope: Format-only: no public check digit exists for this identifier, so "valid" means well-formed, not mathematically proven. Existence of the record is not checked. Bank/branch existence needs a registry lookup we do not do.

Try it (first 20 calls/day free)

curl -X POST https://code402.dev/v1/tools/swift-bic-check/call \
  -H "content-type: application/json" \
  -d '{"bic":"DEUTDEFF500"}'

No key needed for the free tier. When the free quota is used up, the API replies HTTP 402 with the exact price — agents sign the x402 voucher and retry; humans buy card credits. Every paid response carries a signed receipt you can verify offline.

Run it in the playground (free)Pay by card — credits, no crypto

Input parameters

FieldTypeMeaning
bic (required)stringSWIFT/BIC code, 8 or 11 characters; spaces/dashes allowed.

Response

Top-level fields: tool, valid, normalized, country, reason, scope. Paid responses also carry a signed XDR-1 receipt.

All code402 tools

iban-checklei-checkvat-mod97-checkcompany-number-formataba-routing-checkein-format-checkifsc-checkabn-checkgstin-checkisin-checksedol-checkisbn-checkean13-checkluhn-checke164-checkpre-disbursement-guardvendor-onboarding-packrent-deposit-guardrental-listing-riskrental-verdictsettlement-history-checkbalance-checkerc20-balancetx-activityblock-infobatch-validatecontext-distillcrypto-ticker

Machine-readable catalog: llms-full.txt · MCP manifest · OpenAPI. Operated by JUANA LIMITED (UK Co. No. 14043409). Non-custodial: USDC settles payer→seller directly on Base.