UK Sort Code Checker XML API

The API returns a validation code, a validation description and account properties in XML format for the sort code provided as input.

Usage
Simply perform a GET call using this url with the API parameters described below:
https://tls.bankaccountchecker.com/listener.php?key=<your_api_key>&password=<your_password>&output=xml&type=uk_sortcode&sortcode=123456
If you don't have an API key yet, just follow this link to register your free API key.

API parameters
Parameter Required Default Value
key Yes N/A API key provided with your account. Alternatively, use the 'guest' key but you will be restricted by the number of call per 24 hours.
password Yes N/A Password associated with the API key.
output No json json, xml
type Yes N/A uk_sortcode
sortcode Yes N/A The Sort Code you want to check.
Output
This is a sample of the output you will get in XML:
<?xml version="1.0"?>
<bankaccountchecker>
    <resultCode>01</resultCode>
    <resultDescription>Sortcode is valid</resultDescription>
    <accountProperties>
        <institution>BANK OF ENGLAND</institution>
        <branch>LONDON</branch>
        <fast_payment>true</fast_payment>
        <bacs_credit>false</bacs_credit>
        <bacs_direct_debit>true</bacs_direct_debit>
        <chaps>true</chaps>
        <cheque>true</cheque>
    </accountProperties>
</bankaccountchecker>
This is a another sample of the output you will get in XML with the optional Branch Properties set on your account. This is a new functionality requiring further setup and come at an additional cost:
<?xml version="1.0"?>
<bankaccountchecker>
    <resultCode>01</resultCode>
    <resultDescription>Sortcode is valid</resultDescription>
    <accountProperties>
        <institution>BANK OF ENGLAND</institution>
        <branch>LONDON</branch>
        <fast_payment>true</fast_payment>
        <bacs_credit>false</bacs_credit>
        <bacs_direct_debit>true</bacs_direct_debit>
        <chaps>true</chaps>
        <cheque>true</cheque>
    </accountProperties>
    <branchProperties>
        <address>National Counties Hse, Church St, Epsom, KT17 4NL, Surrey</address>
        <address_line1>National Counties Hse</address_line1>
        <address_line2>Church St</address_line2>
        <address_line3>Epsom</address_line3>
        <address_line4>KT17 4NL</address_line4>
        <address_line5>Surrey</address_line5>
        <address_line6></address_line6>
        <address_line7/>
        <city>Epsom</city>
        <country>England</country>
        <postcode>KT17 4NL</postcode>
        <latitude>51.329986044209100</latitude>
        <longitude>-0.259857286548163</longitude>
        <phone>01372742211</phone>
    </branchProperties>
</bankaccountchecker>
Why do I need to register?

We are always trying to improve on our services and to do so we need to be able to tell who is querying what data and how often. This will enable us to fully optimize our limited resources to providing a more stable and reliable service to our users.

What is this API key and do I need it?

This API key is just a random string of characters which uniquely identifies each user. This is how we can track your usage and we perform security validation.

How do I get this API key?

This API key is free for everyone. You just have to go to here to register and a unique API key will be sent to your email address.

Php example
In this example, we are running the full test case suite using different type of call (POST and GET). You can download this PHP version of the script as well from our download page.
 
 

by aoWare