Usage statistics

Guide by Jeremy Larsen

You can find your usage statistics by sending a request to

curl -u username:password
$username = "username";
$password = "password";

$target = curl_init('');
curl_setopt($target, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($target, CURLOPT_USERPWD, sprintf('%s:%s', $username, $password));
curl_setopt($target, CURLOPT_HTTPHEADER, ["Content-Type: application/json"]);

$result = curl_exec($target);
if ($result)
echo $result;
import requests

username = 'username'
password = 'password'
user_pass = (username, password)

response = requests.get('', auth=user_pass)


Required parameters:

Available parameters:

ParameterDescriptionValid values
date_fromThe lower date boundary. Best used together with date_toAny date in Y-m-d format.
date_toThe upper date boundary. Best used together with date_fromAny date in Y-m-d format.
group_byEnables showing daily, monthly or yearly usage stats (instead of showing total stats)day, month, year
targetLets you get usage statistics of a single target of your choice.Any valid target value.