Link stats (simple)
Daily clicks and the top countries and devices for one link.
GET
https://api.clicklookup.com/v1/links/{link_id}/statsRequires an API key
Path parameters1
link_idstring · uuidrequired
Query parameters1
daysintegerLength of the period, counted back from now. Ignored when
from_is set.Default301–365
Response · 2006
byCountryarray of objectsrequiredShow 3 child attributesHide child attributes
clicksintegerrequired0–9007199254740990keystringrequiredDate (YYYY-MM-DD), country code, device type… depending on the breakdown
uniqueClicksintegerrequired0–9007199254740990
byDayarray of objectsrequiredShow 3 child attributesHide child attributes
clicksintegerrequired0–9007199254740990keystringrequiredDate (YYYY-MM-DD), country code, device type… depending on the breakdown
uniqueClicksintegerrequired0–9007199254740990
byDevicearray of objectsrequiredShow 3 child attributesHide child attributes
clicksintegerrequired0–9007199254740990keystringrequiredDate (YYYY-MM-DD), country code, device type… depending on the breakdown
uniqueClicksintegerrequired0–9007199254740990
daysintegerrequiredLength of the period, counted back from now. Ignored when
from_is set.1–365linkIdstring · uuidrequiredUUID primary key
totalsobjectrequiredShow 6 child attributesHide child attributes
botClicksintegerrequired0–9007199254740990clicksintegerrequired0–9007199254740990conversionRatenumberrequiredconversions / uniqueClicks, 0..1
min 0conversionsintegerrequired0–9007199254740990revenuenumberrequiredmin 0uniqueClicksintegerrequired0–9007199254740990