Stats

Our link stats management API allows you to manage and view stats for all of your links and URLs via custom programming.
Notes
Expert level
The API key should be sent as a Bearer token in the Authorization header of the request. Get your API key.
Show

API endpoint:

GET
https://looktiny.com/api/v1/stats/{id}

Request example:

curl --location --request GET 'https://looktiny.com/api/v1/stats/{id}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Parameter
Type
Description
from
required string
The starting date in Y-m-d format.
to
required string
The ending date in Y-m-d format.
name
required string
The name of the statistic. Possible values are: browser, cities, clicks, clicks_hours, country, device, language, platform, referrer.
search
optional string
The search query.
sort
optional string
Sort. Possible values are: max for Best performing, min for Least performing. Defaults to: max.
per_page
optional int
Results per page. Possible values are: 10 to 100. Defaults to: 25.