Verified directory record
HLFXGB21B31 BIC/SWIFT code
Identify BANK OF SCOTLAND PLC in Bath, United Kingdom, and understand every part of this bank identifier.
- Directory record found
- Branch identifier
- Bath
BIC/SWIFT record
HLFXGB21B31
BANK OF SCOTLAND PLC
GB
Country
B31
Branch
Record overview
Institution and branch details
- Financial institution
- BANK OF SCOTLAND PLC
- Branch
- Branch B31
- City
- Bath
- Country
- United Kingdom (GB)
- Address
- 38 SOUTHGATE
What does HLFXGB21B31 mean?
A BIC is built from an institution code, country code, location code and an optional branch code.
HLFX
01
Institution code
Identifies BANK OF SCOTLAND PLC.
GB
02
Country code
ISO code for United Kingdom.
21
03
Location code
Identifies the institution’s location.
B31
04
Branch code
Identifies this specific branch.
Built for developers
Validate HLFXGB21B31
Validate HLFXGB21B31
through the API
Retrieve this BIC as structured JSON for onboarding, payment routing or data-quality workflows.
curl 'https://api.fincodesapi.com/v2/bic/HLFXGB21B31' \
--header 'X-Api-Key: your-api-key-here' \
--header 'Accept: application/json'
# INSTALLATION
$ composer require guzzlehttp/guzzle
# REQUEST
<?php
require_once('vendor/autoload.php');
$client = new \GuzzleHttp\Client();
$response = $client->request('GET', 'https://api.fincodesapi.com/v2/bic/HLFXGB21B31', [
'headers' => [
'Accept' => 'application/json',
'X-Api-Key' => 'your-api-key-here',
],
]);
echo $response->getBody();
# INSTALLATION
$ python -m pip install requests
# REQUEST
import requests
url = "https://api.fincodesapi.com/v2/bic/HLFXGB21B31"
headers = {
"Accept": "application/json",
"X-Api-Key": "your-api-key-here"
}
response = requests.request("GET", url, headers=headers)
print(response.text)
# INSTALLATION
$ npm install node-fetch --save
// REQUEST
import fetch from 'node-fetch';
const url = 'https://api.fincodesapi.com/v2/bic/HLFXGB21B31';
const options = {
method: 'GET',
headers: {
'Accept': 'application/json',
'X-Api-Key': 'your-api-key-here'
}
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
const options = {
method: 'GET',
headers: {
'Accept': 'application/json',
'X-Api-Key': 'your-api-key-here'
}
};
fetch('https://api.fincodesapi.com/v2/bic/HLFXGB21B31', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));