diff --git a/mapper/uri_utils.go b/mapper/uri_utils.go
index <HASH>..<HASH> 100644
--- a/mapper/uri_utils.go
+++ b/mapper/uri_utils.go
@@ -5,8 +5,12 @@ import (
 )
 
 // APIURL - Establishes the ApiURL given a whether the Label is a Person, Organisation or Company (Public or Private)
-func APIURL(uuid string, labels []string) string {
+func APIURL(uuid string, labels []string, env string) string {
 	base := "http://api.ft.com/"
+	if env == "test" {
+		base = "http://test.api.ft.com/"
+	}
+
 	for _, label := range labels {
 		switch strings.ToLower(label) {
 		case "person":
change to allow for test apiurl