BSB API
The BSB API is a comprehensive BSB lookup and BSB checker tool. Validate any 6-digit Australian BSB number and retrieve the associated bank, branch, address, and supported payment systems.
A BSB (Bank-State-Branch) number is a 6-digit code that identifies the bank and branch holding an Australian bank account, usually written as two groups of three digits separated by a hyphen (e.g. 062-000). It is used to route domestic Australian payments via Direct Entry, RTGS, and the New Payments Platform (NPP).
Looking up bank codes in other countries? See our Routing Number API (US), Canada Routing Number API, and Sort Code API (UK).
Available endpoints:
- /v1/bsblookup - Look up an Australian bank branch by BSB number
- /v1/bsbsearch - Search for Australian branches by bank name and location
From 3,018 users
Applications using this API
API Status
API Response Times
Average | P50 | P75 | P90 | P95 |
|---|---|---|---|---|
| 358ms | 368ms | 435ms | 818ms | 1247ms |
Didn't find what you were looking for? Suggest an improvement
/v1/bsblookup GET
https://api.api-ninjas.com/v1/bsblookup
Returns detailed information about an Australian bank branch based on its BSB number.
Parameters
bsbrequiredThe 6-digit Australian BSB number, with or without a hyphen (e.g.
062-000or062000).
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
A JSON array of objects, each containing the following fields, or an error if the request is unsuccessful.
bank_namepremium onlyThe name of the bank.
bsbThe 6-digit BSB number, hyphenated.
branch_namepremium onlyThe name of the branch.
street_addresspremium onlyThe street address of the branch.
suburbThe suburb of the branch.
stateThe Australian state or territory code (e.g. NSW, VIC, QLD).
postcodeThe 4-digit Australian postcode of the branch.
countryAlways
AU.phone_numberpremium onlyThe customer service phone number of the bank.
direct_entry_supportedpremium onlyWhether the branch supports Direct Entry (DE) payments — the Australian equivalent of ACH.
rtgs_supportedpremium onlyWhether the branch supports RTGS (Real-Time Gross Settlement) wire transfers via RITS.
npp_supportedpremium onlyWhether the branch supports the New Payments Platform (NPP) for instant payments and PayID.
swift_codepremium onlyThe SWIFT/BIC code of the bank, useful for international wire transfers. May be
nullif the bank does not participate in SWIFT. See our SWIFT Code API for full SWIFT lookups.
Sample Request Live Demo!
Try this API endpoint with all available parameters in our API playground
https://api.api-ninjas.com/v1/bsblookup?bsb=062-000Headers
X-Api-KeyLog in or sign up to get your API KeySample Response
Code Examples
1
2
curl -X GET "https://api.api-ninjas.com/v1/bsblookup?bsb=062-000" \
-H "X-Api-Key: YOUR_API_KEY"If your programming language is not listed in the Code Example above, you can still make API calls by using a HTTP request library written in your programming language and following the above documentation.
/v1/bsbsearch GETPremium Only
https://api.api-ninjas.com/v1/bsbsearch
Search for Australian bank branches and their BSB numbers by bank name and location. Returns a list of branches matching the search criteria.
At least one of the parameters listed below is required. Each request can only return up to 10 results - use the offset parameter to paginate through results.
Parameters
bank_nameoptionalBank name to search for.
suburboptionalSuburb to search for branches.
stateoptionalAustralian state or territory code (e.g. NSW, VIC, QLD).
postcodeoptional4-digit Australian postcode to search for branches.
offsetoptional annual subscriptions onlyNumber of results to offset for pagination.
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
A JSON array of objects, each containing the same fields as the previous response , or an error if the request is unsuccessful.
Sample Search Request Live Demo!
Try this API endpoint with all available parameters in our API playground
https://api.api-ninjas.com/v1/bsbsearch?bank_name=Commonwealth+BankHeaders
X-Api-KeyLog in or sign up to get your API Key