01GETFREE
用户基础统计
查询用户基础画像、首次/最近活跃、发言概览。
/api/v1/users/{id}/stats_min
- • id: Telegram 用户 ID
curl -X GET "https://ttapi.tgovo.com/api/v1/users/123456789/stats_min" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"将酷酷助手里的发言关联能力封装为标准 API:用户画像、发言记录、共同群组、用户名历史、文本搜索等能力,一页查看所有调用方式。
curl -X GET "https://ttapi.tgovo.com/api/v1/users/123456789/messages?page=1&pageSize=10" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"通过标准 HTTP API 快速接入你的机器人、后台系统、风控工具或数据看板。
通过标准 HTTP API 快速接入你的机器人、后台系统、风控工具或数据看板。
通过标准 HTTP API 快速接入你的机器人、后台系统、风控工具或数据看板。
通过标准 HTTP API 快速接入你的机器人、后台系统、风控工具或数据看板。
通过标准 HTTP API 快速接入你的机器人、后台系统、风控工具或数据看板。
通过标准 HTTP API 快速接入你的机器人、后台系统、风控工具或数据看板。
开通后会发放专属 API Key。所有接口在请求头中携带 Authorization 即可调用。
GET https://ttapi.tgovo.com/api/v1/users/{id}/stats
Authorization: Bearer YOUR_API_KEY
Accept: application/json以下接口按酷酷助手发言关联模块当前能力整理。实际计费以开通后返回为准。
查询用户基础画像、首次/最近活跃、发言概览。
curl -X GET "https://ttapi.tgovo.com/api/v1/users/123456789/stats_min" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"统计用户所在群组数量,可只统计有发言群组。
curl -X GET "https://ttapi.tgovo.com/api/v1/users/123456789/groups_count?onlyMsg=true" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"查询用户公开发言数量。
curl -X GET "https://ttapi.tgovo.com/api/v1/users/123456789/messages_count" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"查询群组基础资料。
curl -X GET "https://ttapi.tgovo.com/api/v1/groups/-1001234567890" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"按关键词搜索公开消息。
curl -X GET "https://ttapi.tgovo.com/api/v1/text/search?input=hello&page=1&pageSize=20" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"批量根据 ID 查询用户信息。
curl -X GET "https://ttapi.tgovo.com/api/v1/users/basic_info_by_id?id=123456789&id=987654321" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"将 @username 解析为用户 ID。
curl -X GET "https://ttapi.tgovo.com/api/v1/users/resolve_username?name=telegram&name=durov" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"查询某个用户名的历史使用记录。
curl -X GET "https://ttapi.tgovo.com/api/v1/users/username_usage?username=telegram" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"查询多个用户之间的共同群组。
curl -X GET "https://ttapi.tgovo.com/api/v1/groups/common_groups?id=123456789&id=987654321" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"完整用户画像、角色、活跃时间、群组统计。
curl -X GET "https://ttapi.tgovo.com/api/v1/users/123456789/stats" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"查询用户相关贴纸包信息。
curl -X GET "https://ttapi.tgovo.com/api/v1/users/123456789/stickers" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"查询用户姓名变更历史。
curl -X GET "https://ttapi.tgovo.com/api/v1/users/123456789/names" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"查询用户 username 变更历史。
curl -X GET "https://ttapi.tgovo.com/api/v1/users/123456789/usernames" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"查询指定用户与其他用户/群组的共同群组统计。
curl -X GET "https://ttapi.tgovo.com/api/v1/users/123456789/common_groups_stat" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"查询 Telegram 礼物关联数据。
curl -X GET "https://ttapi.tgovo.com/api/v1/users/123456789/gifts_relation?page=1&pageSize=20" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"查询用户公开关联群组列表。
curl -X GET "https://ttapi.tgovo.com/api/v1/users/123456789/groups" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"查询用户公开发言记录,支持分页。
curl -X GET "https://ttapi.tgovo.com/api/v1/users/123456789/messages?page=1&pageSize=10" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"查询指定群组成员列表。
curl -X GET "https://ttapi.tgovo.com/api/v1/groups/-1001234567890/members" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"按姓名关键词查询使用记录。
curl -X GET "https://ttapi.tgovo.com/api/v1/users/name_usage?name=Tom&page=1&pageSize=20" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"开通 API 权限,发放专属 Key,可接入你的机器人、后台或业务系统。