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.
Try it
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| value | string | Yes | The BIC/SWIFT code to validate |
Example Request
curl -H "Authorization: Bearer YOUR_API_KEY" \ "https://api.isvalid.dev/v0/bic?value=XASXAU2SRTG"
Response Fields
| Field | Type | Description |
|---|---|---|
| valid | boolean | Whether the BIC/SWIFT code is valid |
| bankCode | string | 4-character institution code |
| countryCode | string | ISO 3166-1 alpha-2 country code |
| countryName | string | null | Full English name of the country, or null if the country code is not recognised |
| locationCode | string | 2-character location code |
| branchCode | string | null | 3-character branch code; XXX denotes the primary office. null for 8-character BICs |
| bankName | string | null | Name of the institution if known, or null for institutions not in the built-in directory |
| city | string | null | City of the branch if known, or null if not available |
| branch | string | null | Branch 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"
}