diff --git a/geomagio/api/ws/data.py b/geomagio/api/ws/data.py
index 70c8d031ff6b5034c2684ead84a385d2c3f0c0c2..a86fd71215e506919fc0890c04cc5e22b94ab7b2 100644
--- a/geomagio/api/ws/data.py
+++ b/geomagio/api/ws/data.py
@@ -155,6 +155,6 @@ def get_data(
     # read data
     timeseries = get_timeseries(data_factory, query)
     # output response
-    return format_timeseries(
-        timeseries=timeseries, format=format, elements=query.elements
+    return format_timesees(
+        timeseries=timeseries, format=query.format, elements=query.elements
     )