GET
/
analytics
/
{alias}
curl --request GET \
  --url https://ishortn.ink/api/v1/analytics/{alias} \
  --header 'x-api-key: <api-key>'
{
  "clicksPerDate": {
    "2024-07-01": 150,
    "2024-07-02": 200
  },
  "clicksPerCountry": {
    "US": 300,
    "CA": 50
  },
  "clicksPerCity": {
    "New York": 100,
    "Los Angeles": 150
  },
  "clicksPerDevice": {
    "Desktop": 250,
    "Mobile": 100
  },
  "clicksPerOS": {
    "Windows": 200,
    "iOS": 100,
    "Android": 50
  },
  "clicksPerBrowser": {
    "Chrome": 150,
    "Firefox": 100,
    "Safari": 50
  },
  "clicksPerModel": {
    "iPhone 12": 50,
    "Galaxy S21": 30
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

alias
string
required

The alias of the shortened link.

Response

200
application/json
Aggregated visit statistics retrieved successfully
clicksPerDate
object

Number of clicks per date.

clicksPerCountry
object

Number of clicks per country.

clicksPerCity
object

Number of clicks per city.

clicksPerDevice
object

Number of clicks per device.

clicksPerOS
object

Number of clicks per operating system.

clicksPerBrowser
object

Number of clicks per browser.

clicksPerModel
object

Number of clicks per device model.