General Discussion
  >> Fibre Broadband


Register (or login) on our website and you will not see this ad.


Pages in this thread: 1 | [2] | 3 | 4 | 5 | (show all)   Print Thread
Standard User 512uk
(learned) Thu 09-Aug-18 12:23:26
Print Post

Re: Find DP Number via Openreach checker


[re: max360] [link to this post]
 
You'd need to just refresh the main page which I believe sets a cookie. As the AJAX request to the API is session based with a timeout, once this has elapsed, the API seems to just give a badreferer error.

I can see the site sets a BTOR cookie with an MD5 hash. I've played with putting that in the header for the request to the API and still no joy. I'll have another look when I've got more time.

100Mbps Ethernet Leased Line (work)

My Broadband Speed Test
Standard User bowdon
(committed) Thu 09-Aug-18 12:34:54
Print Post

Re: Find DP Number via Openreach checker


[re: 512uk] [link to this post]
 
Why don't you write a step by step guide on how to do this?

BT Infinity 2 - ECI Cabinet
Standard User 512uk
(learned) Thu 09-Aug-18 12:55:12
Print Post

Re: Find DP Number via Openreach checker


[re: bowdon] [link to this post]
 
Step By Step Guide

https://www.homeandbusiness.openreach.co.uk/fibre-br...

  • Browse to the When and Where Page (link above) using Chrome or Firefox. (Other browsers with Developer Consoles may also work but there will be some minor differences).
  • Open the Developer Console. In Firefox/Chrome, press F12.
  • Select the Network tab, then "XHR" to filter only AJAX requests.
  • Type in your landline or postcode and press Search.
  • Watch the developer console. You will see the request being made to the API.
  • Click the request, which should be the lowest/latest one in the panel. When you click it, all information about the request including the Headers, Cookies and Response data is shown below.
  • Click the Response tab. Depending on the browser you are using, you should now see the full JSON response. (JSON is an object notation format commonly used by web languages/platforms to interact with eachother - it is similar to XML but arguably easier to read).
  • Scroll to the bottom of the response and you will see the 'dp' key which should contain the number of the Distirbution Point serving the property you selected.


Here is a screen shot of the window as an example. I have highlighted the key stages.

Notes

If you receive a referer error, the Cookie/session has probably timed out. Just reload the "When Can I Get Fibre?" page and you should be good to go.

If you search by postcode first, the first request/response will be to look up the addresses. This can be quite useful as it will return a JSON object containing addresses in the postcode with NAD keys, UPRNs, districts and the address type - i.e. gold, silver, bronze.

100Mbps Ethernet Leased Line (work)

My Broadband Speed Test

Edited by 512uk (Thu 09-Aug-18 13:01:37)


Register (or login) on our website and you will not see this ad.

Standard User max360
(learned) Thu 09-Aug-18 13:06:46
Print Post

Re: Find DP Number via Openreach checker


[re: 512uk] [link to this post]
 
That's great.

Thanks,

ISP: JohnLewis BB: 5.25 Mb down - 0.85 Mb up. Ping: 28ms.

Stechford (CMSTE) Cab 24 - Funded Privately (Community Partnership) Status: FTTC being Built, live due by December 2018

Website: http://www.stechford.online/
Standard User baby_frogmella
(knowledge is power) Thu 09-Aug-18 13:16:58
Print Post

Re: Find DP Number via Openreach checker


[re: 512uk] [link to this post]
 
Thanks for your clear instructions, worked a treat.

Apparently I am on DP 1256 on NSICL cab 6. Will this be the same DP for both FTTP and copper lines? As all FTTP/copper infrastructure is u/g in my area I guess there's no way i can verify this on the ground?

FluidOne FTTPoD 330/30

My Broadband Speed Test
Standard User Zarjaz
(eat-sleep-adslguide) Thu 09-Aug-18 13:53:54
Print Post

Re: Find DP Number via Openreach checker


[re: baby_frogmella] [link to this post]
 
No Baby, FTTP DP and copper DP will have different IDís

Standard User candlerb
(member) Thu 09-Aug-18 14:40:20
Print Post

Re: Find DP Number via Openreach checker


[re: 512uk] [link to this post]
 
In reply to a post by 512uk:
It is on the page as you've linked.

But you'll need to look at the AJAX request which is made to https://api.superfastmaps.co.uk/openreach/1.2/ajax/c... This is simple if you use Firefox or Chrome developer consoles.


Thanks, I see it now.
Standard User bowdon
(committed) Thu 09-Aug-18 16:29:50
Print Post

Re: Find DP Number via Openreach checker


[re: 512uk] [link to this post]
 
Thanks for the guide mate, got it now.

BT Infinity 2 - ECI Cabinet
Standard User 512uk
(learned) Thu 09-Aug-18 16:43:05
Print Post

Re: Find DP Number via Openreach checker


[re: bowdon] [link to this post]
 
You're all welcome!

An evening project with a beer will be to have a play at spoofing the Referer check and making a checker/scraper so this can be done automatically and with a better front end.

100Mbps Ethernet Leased Line (work)

My Broadband Speed Test
Standard User baby_frogmella
(knowledge is power) Thu 09-Aug-18 17:28:37
Print Post

Re: Find DP Number via Openreach checker


[re: Zarjaz] [link to this post]
 
In reply to a post by Zarjaz:
No Baby, FTTP DP and copper DP will have different IDís


Thanks Zarjaz, in that case it might be that the JSON only outputs the copper DP #, not the FTTP DP #. None of my neighbours have FTTP yet the DP ID still shows up as 1256 (same as mine) which suggests that is a copper ID. Otherwise is it possible that the lack of a FTTP DP code could indicate Openreach installed the fibre direct from the nearest splitter node to my home to save pennies? (this was a lone FTTPoD install)

FluidOne FTTPoD 330/30

My Broadband Speed Test

Edited by baby_frogmella (Thu 09-Aug-18 17:47:15)

Pages in this thread: 1 | [2] | 3 | 4 | 5 | (show all)   Print Thread

Jump to