# Getting data points

There are two ways to retrieve data points from Kligo.&#x20;

* We expose a REST server locally on the practitioner's computer. Data points can be fetched from this server in the same manner it can be fetched from a web service.
* Alongside the REST server, you can connect to a socket. This socket will dispatch data points synchronously. Whenever a data point is created on Kligo an event is fired on the socket containing the datapoint.

{% hint style="info" %}
The socket is powered by [SocketIO](https://socket.io/). Please refer to the documentation of SocketIO if you want more details about how to implement your own socket client.
{% endhint %}
