cURL
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 } }
Retrieves aggregated visit statistics for a shortened link using its alias.
The alias of the shortened link.
Aggregated visit statistics retrieved successfully
The response is of type object.
object