Подробная статистика

Notes
Expert level
The API key should be sent as a Bearer token in the Authorization header of the request. Получить ключ API.
Show

API endpoint:

GET
https://4334.ru/api/v1/stats/{id}

Request example:

curl --location --request GET 'https://4334.ru/api/v1/stats/{id}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Parameter
Type
Описание
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
Поисковый запрос.
sort
optional string
Сортировать. Possible values are: max for Best performing, min for Least performing. Defaults to: max.
per_page
optional int
Ссылок на странице. Possible values are: 10 to 100. Defaults to: 10.