Verified directory record
HLFXGB21R02 BIC/SWIFT code
Identify BANK OF SCOTLAND PLC in Penicuik, United Kingdom, and understand every part of this bank identifier.
- Directory record found
- Branch identifier
- Penicuik
BIC/SWIFT record
HLFXGB21R02
BANK OF SCOTLAND PLC
GB
Country
R02
Branch
Record overview
Institution and branch details
- Financial institution
- BANK OF SCOTLAND PLC
- Branch
- Branch R02
- City
- Penicuik
- Country
- United Kingdom (GB)
- Address
- 17 JOHN STREET
What does HLFXGB21R02 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.
R02
04
Branch code
Identifies this specific branch.
Built for developers
Validate HLFXGB21R02
Validate HLFXGB21R02
through the API
Retrieve this BIC as structured JSON for onboarding, payment routing or data-quality workflows.
curl 'https://api.fincodesapi.com/v2/bic/HLFXGB21R02' \
--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/HLFXGB21R02', [
'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/HLFXGB21R02"
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/HLFXGB21R02';
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/HLFXGB21R02', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));