Instantly share code, notes, and snippets.

What would you like to do?
Every IP address in the UK Parliament netblock that has edited Wikipedia

The houses of parliament netblock is publicly listed:

Despite their unwillingness to reveal the UK parliament web proxies in an FOI request, wikipedia allows you to query for /24 blocks. 63 wikipedia queries later, and here's the list of every IP address that has made a wikipedia edit from the UK parliament netblock.

Guess which ones the proxies are (Its not the high numbers, they're the old ones)

For an encore, here's the Prime Ministers office:

And for my final trick, the Government Secure Intranet proxies:

  • 7585 found (
  • 2388 found (
  • 7977 found (
  • 4316 found (
  • 2388 found (
  • 17 found (
  • 92 found (

Many thanks to @russss, who did a lot of the GSI digging.


This data has been used by Channel 4 to dig up all sorts of things:

Other coverage:

And Channel 4 started a twitter bot using the data:



This comment has been minimized.

adamjames commented Jul 29, 2014

You rock, Jonty. Thanks for making my life easier in future.


This comment has been minimized.

stuarthicks commented Jul 29, 2014



This comment has been minimized.

jonathan-fielding commented Jul 29, 2014

This is really cool, don't post this publicly though, Anonymous might get hold of the IP and attack our govenment 😋


This comment has been minimized.

reedy commented Jul 29, 2014

For anyone wanting to do queries of these contribs.. you can use the api!


This comment has been minimized.

stevenmc commented Oct 20, 2017
Search for "Houses of Parliament"
There's more:

  • domain:
  • domain:
  • inetnum: -
  • inetnum: -
  • inetnum: -
  • inetnum: -
  • inetnum: -
  • inetnum: -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment