diff --git a/graph/graph.py b/graph/graph.py
index 03af12cbbd9e495c974a5d57ffdc9bd73dcc5cc0..da829c388f08366910ed7f1f240df1496a390cce 100644
--- a/graph/graph.py
+++ b/graph/graph.py
@@ -120,7 +120,7 @@ def make_graph(pdus, room, filename_prefix):
 def get_pdus(host, room):
     transaction = json.loads(
         urllib2.urlopen(
-            "http://%s/context/%s/" % (host, room)
+            "http://%s/matrix/federation/v1/context/%s/" % (host, room)
         ).read()
     )