统计数据

备注
专家级别
API密钥应作为Bearer令牌放在请求Authorization头中发送 获取您的API密钥.
显示

API端点:

GET
https://lurl.top/api/v1/stats/{id}

请求示例:

curl --location --request GET 'https://lurl.top/api/v1/stats/{id}?name={name}&from={from}&to={to}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
参数
类型
描述
name
必需 string
统计指标的名称 可能的值有: browser, cities, clicks, clicks_hour, country, device, language, platform, referrer
from
必需 string
开始日期(格式为Y-m-d
to
必需 string
结束日期(格式为Y-m-d
search
可选 string
搜索查询
search_by
可选 string
按...搜索. 可能的值有: value对于 默认为: url
sort_by
可选 string
排序依据. 可能的值有: count对于Count, value对于 默认为: count
sort
可选 string
排序. 可能的值有: desc对于降序, asc对于升序 默认为: desc
per_page
可选 integer
每页结果数. 可能的值有: 10, 25, 50, 100 默认为: 10