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