API Network Exploration: NAB API

This is part of our blog series on Postman API Network – a directory of APIs that allows developers to find APIs running in Postman. Each month, we explore one API from our API network and help you become familiar with some of these incredibly useful APIs. Last month, we covered the AirVisual API and this month’s feature is the NAB API.


NAB API provided by the National Australia Bank (NAB) Limited offers information about the banking institution including locations, exchange rates and account details. While it is very rare to see large banks opening up their APIs to developers due to security concerns, NAB firmly believes in creating great customer experiences. The institution wants to work with developers to create the next generation of innovative customer experiences.

NAB API has a ready-to-use Postman Collection which allows you to fetch the current forex rates and also fetch the location of the NAB banking centres, branches, and ATMs for a given address.

NAB API Postman Collection
NAB API Postman Collection

To use the NAB API, you will need an API key, which can be obtained by visiting the NAB Developer Portal. To simplify the process, NAB does provide a Sandbox API key to build the apps in test mode. You can request for the Production API key by signing up on the portal.

The Fx rate request allows you to fetch the current buy and sell rate for any currency converted to Australian Dollar. You can also get the previous buy and sell rate. The API enables you to get the exchange rate for the US Dollar and the New Zealand Dollar.

The Fx rate API request to find the exchange rate

Response body for the Get Fx API request

Using NAB API to power your apps

A noteworthy feature of the NAB API is the ability to fetch data about the locations of the NAB branches. For example, if your app requires to display details about the bank like address, working hours, then you can use the API to display the data.

If you want to display all the ATMs in the region, set the location type as “atm”. The response will display the address along with geo coordinates, functioning hours. You can also check for several other parameters like deposit facility, disability approved, audio support. You can even calculate the distance to the location based on the geolocation.

Request to fetch all ATMs near the location

Response body for the Location API request

Similarly, if you want to display the nearest branch, you need to set the location type as “brc”. This query lets you access different parameters related to the branch. You get the standard address with geo coordinates, the operational timings, and the distance from the current location of the user. Additionally, you can get very relevant details like the BSB code of the branch, and availability of facilities including coin swap, quick change, internet banking, intelligent deposit.

Request to fetch branch location in the region

Response body for the Location API request

Further, the API also allows to display details about agencies. To check agencies, set the location type as “agn”. The API will fetch all the details including name, address, email and contact number.

Request to fetch agent details

Response body for the Location API request

This is just one use case of the NAB API. If you would like to experiment with the NAB API collection, you can run the collection in Postman.

To access this collection directly in the Postman app, click the orange “New” button in the top left corner and select the API Network tab. A pop-up screen will then appear. You can either browse all the published APIs or search for the NAB API.

The API Network in the Postman app

To know more, visit the Postman Learning Center.

You can check out the other APIs running in Postman by visiting the API Network or search for them within the Postman app. If you have an awesome API collection and would like to reach 7 million+ developers, you can publish your API on our API Network.

Author: Jonathan

Helping developers get more out of Postman