EDIT – It’s been brought to my attention this no longer works. Leaving it to gather dust rather than removing it.
NBNCo have an address search tool on their site to lookup service information for an address. The API it uses actually exposes more data than they show on the website. The API is not documented but it’s fairly self explanatory. Just be sure to add the correct referer header.
Unfortunately it probably won’t tell you anything you want to know, such as the availability of FTTP at your home address. Ahem.
Politics aside, I found that supplying only the lat and lng for an address is sufficient for a lookup, though I get some odd results; it’s not clear how and when they’re doing geocoding from the parameters you supply.
curl -X GET \
-H 'referer: http://www.nbnco.com.au/connect-home-or-business/check-your-address.html'
If you use Postman (and you should) for API testing, I’ve made a collection that supports this.
You’ll get a JSON response that follows this template:
"techTypeMapLabel": "nbn™ Fibre to the premises (FTTP)",
"techTypeDescription": "An nbn™ Fibre to the premises connection (FTTP) is used in circumstances where an optic fibre line will be run from the nearest available fibre node, to your premises.",
"techTypeLabel": "Fibre to the premises (FTTP)"
16 thoughts on “API Access to NBNCo Rollout Data”
god bless you
Hi, I’ve tried to run this through Postman and I get a 403 forbidden notice when carrying out a search.
I ran this:
Any idea why?
You need to send the correct referrer header in your request. The referrer is http://www.nbnco.com.au/connect-home-or-business/check-your-address.html
Can you please elaborate somehow how can we implement this API into leaflet mapping api and search an address using textual adress?
There are already plenty of good tutorials out there on using Leaflet and the answer really depends on how you’re building your site. I think the main thing you would have to consider is how to request the address from the user, validate it and geocode it, (i.e. getting the lat/lng value for a street address). I’d start with Google for that: https://developers.google.com/maps/documentation/geocoding/intro
For something really simple, you might use a text search for an address (e.g. http://labs.easyblog.it/maps/leaflet-search/), and hook this up to the geocoder, NBN search, and display the attributes for the NBN service.
I’m only getting the below response from postman
Can you confirm they’ve removed most of the servingArea info?
I’m late to the party, but I don’t think this works since they modified their site. At least the curl command does not.
They literally just took down the API… Any ideas?
Not too sure if it’s of use, but check out https://github.com/chrishardinge/nbn-lookup
Just pushed it out today. If you’re not using PHP, it should still point you in the right direction
LikeLiked by 1 person
Is this still working and how to implement this
I had a report that it’s no longer working. I’ll update the post to reflect this.
Hi Guys, any update… I have hit a rock here too 😦
hi hamun2015, you can use the following to get location IDs in the vicinity of a GPS location:
curl -s -H ‘Referer: https://www2.nbnco.com.au/residential/learn/rollout-map‘ ‘https://places.nbnco.net.au/places/v1/nearby?lat=-31.xxxxxxxxxxxxxxx&lng=115.xxxxxxxxxxxxxx&source=website_rollout_map’
(replacing -31.xxxx with your latitude and 115.xxx with your longitude)
and this to get detailed information on a location ID:
curl -s -H ‘Referer: https://www2.nbnco.com.au/residential/learn/rollout-map‘ ‘https://places.nbnco.net.au/places/v2/details/LOCxxxxxxxxxxxx?source=website_rollout_map’
LikeLiked by 1 person
Thank you very much Ittai
Found an NBNco Address Search API here – https://rapidapi.com/api-endpoints/api/nbnco-address-check