diff --git a/terraform/environments/dns.tf b/terraform/environments/dns.tf
index b92914537ccb3d56108de784be218730220e08dc..dd8b9a44936d83f30206424ebaa4ebac3153f5b4 100644
--- a/terraform/environments/dns.tf
+++ b/terraform/environments/dns.tf
@@ -6,8 +6,3 @@ resource "google_dns_record_set" "holi_social_geo_api_domain_record_set" {
   ttl          = 300
   rrdatas      = [google_cloud_run_domain_mapping.holi_social_geo_api.status[0].resource_records[0].rrdata]
 }
-
-output "api_domain" {
-  value       = trimsuffix(google_dns_record_set.holi_social_geo_api_domain_record_set.name, ".")
-  description = "Domain where the api resides"
-}
diff --git a/terraform/environments/vars.tf b/terraform/environments/vars.tf
index f7e2e18edab88a24999ccf39486b28863c108ea9..f8761dd7a3caa22e7d2657175b2de607cde7750c 100644
--- a/terraform/environments/vars.tf
+++ b/terraform/environments/vars.tf
@@ -6,5 +6,18 @@ locals {
   # the dns name can be at most 64 chars in total
   dns_name = "${trimsuffix(substr(local.environment, 0, 34), ".-")}.${data.terraform_remote_state.holi_geo_api_common_state.outputs.dns_geo_api_domain}"
 
+  api_domain            = trimsuffix(google_dns_record_set.holi_social_geo_api_domain_record_set.name, ".")
+  api_endpoint_url      = "https://${local.api_domain}/graphql"
+
   default_region = data.terraform_remote_state.holi_infra_state.outputs.default_region
 }
+
+output "api_domain" {
+  value = local.api_domain
+  description = "Domain under which the GeoAPI runs"
+}
+
+output "api_endpoint_url" {
+  value = local.api_endpoint_url
+  description = "GraphQL API endpoint URL of the GeoAPI"
+}
\ No newline at end of file