Link stats (simple)

Daily clicks and the top countries and devices for one link.
GEThttps://api.clicklookup.com/v1/links/{link_id}/stats

Requires an API key

Path parameters1

  • link_idstring · uuidrequired

Query parameters1

  • daysinteger

    Length of the period, counted back from now. Ignored when from_ is set.

    Default 301–365

Response · 2006

  • byCountryarray of objectsrequired
    Show 3 child attributes
    • clicksintegerrequired
      0–9007199254740990
    • keystringrequired

      Date (YYYY-MM-DD), country code, device type… depending on the breakdown

    • uniqueClicksintegerrequired
      0–9007199254740990
  • byDayarray of objectsrequired
    Show 3 child attributes
    • clicksintegerrequired
      0–9007199254740990
    • keystringrequired

      Date (YYYY-MM-DD), country code, device type… depending on the breakdown

    • uniqueClicksintegerrequired
      0–9007199254740990
  • byDevicearray of objectsrequired
    Show 3 child attributes
    • clicksintegerrequired
      0–9007199254740990
    • keystringrequired

      Date (YYYY-MM-DD), country code, device type… depending on the breakdown

    • uniqueClicksintegerrequired
      0–9007199254740990
  • daysintegerrequired

    Length of the period, counted back from now. Ignored when from_ is set.

    1–365
  • linkIdstring · uuidrequired

    UUID primary key

  • totalsobjectrequired
    Show 6 child attributes
    • botClicksintegerrequired
      0–9007199254740990
    • clicksintegerrequired
      0–9007199254740990
    • conversionRatenumberrequired

      conversions / uniqueClicks, 0..1

      min 0
    • conversionsintegerrequired
      0–9007199254740990
    • revenuenumberrequired
      min 0
    • uniqueClicksintegerrequired
      0–9007199254740990