Stats

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://link.sinhcoms.in/api/v1/stats/{id}

Request example:

curl --location --request GET 'https://link.sinhcoms.in/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: 10.