BIC / SWIFT

GET/v0/bic

Validates a Bank Identifier Code (BIC), also known as a SWIFT code. BIC codes are 8 or 11 characters long and identify financial institutions worldwide.

Guides: Node.js · Python

Try it

Query Parameters

ParameterTypeRequiredDescription
valuestringYesThe BIC/SWIFT code to validate

Example Request

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://api.isvalid.dev/v0/bic?value=XASXAU2SRTG"

Response Fields

FieldTypeDescription
validbooleanWhether the BIC/SWIFT code is valid
bankCodestring4-character institution code
countryCodestringISO 3166-1 alpha-2 country code
countryNamestring | nullFull English name of the country, or null if the country code is not recognised
locationCodestring2-character location code
branchCodestring | null3-character branch code; XXX denotes the primary office. null for 8-character BICs
bankNamestring | nullName of the institution if known, or null for institutions not in the built-in directory
citystring | nullCity of the branch if known, or null if not available
branchstring | nullBranch name if known, or null if not available

Example Response

{
  "valid": true,
  "bankCode": "XASX",
  "countryCode": "AU",
  "countryName": "Australia",
  "locationCode": "2S",
  "branchCode": "RTG",
  "bankName": "ASX Operations Pty Limited",
  "city": "Sydney",
  "branch": "RTGS Settlement"
}