Australia BSB Number API
Lookup bank name and code by the first 3 digits of a BSB number. Fast, free, and easy to use. Australia BSB Number API provides accurate and up-to-date data for developers to easily integrate into their applications.
It comes generous usage quotas suitable for most projects under the fair use policy.
API Usage
free under the fair use policycURLPHPJavaScriptPythonJavaGocurl -H "Referer: your domain" "https://data.handyapi.com/bsb/062"
$url = "https://data.handyapi.com/bsb/062"; $options = [ "http" => [ "method" => "GET", "header" => "Referer: your_domain\r\n" ] ]; $context = stream_context_create($options); $response = @file_get_contents($url, false, $context); $data = @json_decode($response,true); print_r($data);
fetch('https://data.handyapi.com/bsb/062') .then(response => response.json()) .then(data => { // use JSON data here }) .catch();
import requests response = requests.get('https://data.handyapi.com/bsb/062', headers={'Referer': 'your-domain'}) if response.status_code == 200: data = response.json() print(data) else: print('Error:', response.status_code)
String url = "https://data.handyapi.com/bsb/062"; HttpClient client = HttpClient.newHttpClient(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create(url)) .header("Referer", "your domain") .build(); HttpResponse
response = client.send(request, HttpResponse.BodyHandlers.ofString()); String jsonString = response.body(); System.out.println(jsonString); url := "https://data.handyapi.com/bsb/062" req, _ := http.NewRequest("GET", url, nil) req.Header.Set("Referer", "your_domain") client := &http.Client{} resp, _ := client.Do(req) defer resp.Body.Close() fmt.Println(resp.Body)
Please note that HandyAPI is not a provider of financial products or services. While we endeavour to ensure the information provided by the BSB Number API is accurate and up-to-date, we do not guarantee the accuracy, reliability, or suitability of the information provided. HandyAPI accepts no responsibility or liability whatsoever and use of the API is at your own risk.
Additionally, it is important to note that this API only looks at the first 3 digits of the BSB number (even if more digits are sent), and therefore, the result does not validate the full BSB number itself.
Bank state branch (BSB) Number
A Bank State Branch (often referred to as "BSB") is the name used in Australia for a bank code. BSB numbers are unique identifiers that are used to locate and identify bank and branches in Australia. They consist of a six-digit code, with the first two digits representing the bank, the third digit representing the state or territory where the bank is located (historically), and the last three digits identifying the specific branch of the bank.
While the first two digits are crucial for identifying the bank associated with a BSB number, the last three digits can vary even within the same bank (Many banks only have one BSB for all branches and accounts). This is because different branches may have different BSB numbers, and banks may also use different BSB numbers for different purposes, such as for different types of accounts or transactions.
The Australia BSB Number API is designed to help developers easily retrieve the bank name and code associated with the first three digits of a given BSB number. This can be useful for a variety of purposes, such as displaying the bank name where BSB number is accepted.