Verified directory record
HMTRGB2L BIC/SWIFT code
Identify HM TREASURY in London, United Kingdom, and understand every part of this bank identifier.
- Directory record found
- Primary office
- London
BIC/SWIFT record
HMTRGB2L
HM TREASURY
GB
Country
XXX
Branch
Record overview
Institution and branch details
- Financial institution
- HM TREASURY
- Branch
- Primary office
- City
- London
- Country
- United Kingdom (GB)
- Address
- HORSEGUARDS ROAD
What does HMTRGB2L mean?
A BIC is built from an institution code, country code, location code and an optional branch code.
HMTR
01
Institution code
Identifies HM TREASURY.
GB
02
Country code
ISO code for United Kingdom.
2L
03
Location code
Identifies the institution’s location.
XXX
04
Branch code
Omitted or XXX indicates the primary office.
Built for developers
Validate HMTRGB2L
Validate HMTRGB2L
through the API
Retrieve this BIC as structured JSON for onboarding, payment routing or data-quality workflows.
curl 'https://api.fincodesapi.com/v2/bic/HMTRGB2L' \
--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/HMTRGB2L', [
'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/HMTRGB2L"
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/HMTRGB2L';
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/HMTRGB2L', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));