Skip to main content

Enable the Client API

The Client API is a feature that allows you to retrieve real-time statistics via a programmatic way from the client on your computer. It is a RESTful API via HTTP or Web Socket, and is explained in detail in our API section. This article explains how to enable the Client API in the settings of the client.

First, browse to the Settings tab and click on the Client API button to jump to its section:

Client API Settings

To enable the Client API, simply check the Enable Client API checkbox.

The option Listen on port is the HTTP port which the client open up for you to use for the Client API. The WebSocket port is the port the websocket listens on. Although unlikely, if any of these ports conflict with other services on your computer, you can change them to a free port.

The IPs that are allowed to connect text box, is a way to secure the Client API by configuring the IP addresses that can connect to your client. No other IP addresses are allowed to connect to the client.