x402

SWIFT/BIC Validation (x402)

Validate a SWIFT/BIC code. Checks format, length, and country code. Extracts bank code, location, and branch. Pure algorithmic — instant and cheap.

get/x402/v2/swift-validate

Request

  • Base URL: https://api.strale.io
  • URL: https://api.strale.io/x402/v2/swift-validate
  • Auth: none required

Query parameters

swiftstring required

SWIFT/BIC code (e.g. DABASESX)

Response

Success

validboolean
bank_codestring
swift_codestring
country_codestring
is_head_officeboolean

Example response

{
  "valid": true,
  "bank_code": "COBA",
  "swift_code": "COBADEFFXXX",
  "branch_code": "XXX",
  "country_code": "DE",
  "location_code": "FF",
  "is_head_office": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.