渠道管理/账号
账号数据
接口说明:获取指定账号的运营数据统计。
GET
/
api
/
v2
/
channels
/
accounts
/
{accountId}
/
analytics
账号数据
curl --request GET \
--url https://aitoearn.cn/api/v2/channels/accounts/{accountId}/analytics \
--header 'X-Api-Key: <api-key>'{
"code": 0,
"message": "请求成功",
"data": {
"platform": "douyin",
"accountId": "string",
"profile": {
"displayName": "string",
"username": "string",
"avatarUrl": "string",
"accountType": "string"
},
"metrics": {
"fansCount": 1,
"followingCount": 1,
"workCount": 1,
"readCount": 1,
"viewCount": 1,
"impressionCount": 1,
"reachCount": 1,
"likeCount": 1,
"collectCount": 1,
"forwardCount": 1,
"commentCount": 1,
"clickCount": 1
},
"snapshots": [],
"extra": {},
"snapshotId": "string",
"fetchedAt": "2026-07-02T12:00:00.000Z",
"message": "string"
}
}
授权
AiToEarn Open Platform API Key。
路径参数
渠道账号 ID
响应
200 - application/json
请求已被服务处理。业务是否成功以响应体 code === 0 为准。
业务状态码。0 表示成功,非 0 表示业务错误。
响应消息。
Hide child attributes
Hide child attributes
平台
可用选项:
douyin, xhs, wxSph, KWAI, youtube, wxGzh, bilibili, twitter, tiktok, facebook, instagram, threads, pinterest, linkedin, google_business 账号 ID
账号指标
Hide child attributes
Hide child attributes
粉丝数
关注数
作品数
阅读数
浏览数
曝光数
触达数
点赞数
收藏数
转发数
评论数
点击数
互动数
本次保存的账号数据快照
Hide child attributes
Hide child attributes
快照对应时间
平台数据获取时间
快照 ID
平台账号 UID
区间开始时间
区间结束时间
账号指标
Hide child attributes
Hide child attributes
粉丝数
关注数
作品数
阅读数
浏览数
曝光数
触达数
点赞数
收藏数
转发数
评论数
点击数
互动数
平台特殊字段
平台特殊字段
本次主快照 ID
平台数据获取时间
提示信息
请求 ID。
错误响应时间戳,Unix 毫秒。
⌘I
账号数据
curl --request GET \
--url https://aitoearn.cn/api/v2/channels/accounts/{accountId}/analytics \
--header 'X-Api-Key: <api-key>'{
"code": 0,
"message": "请求成功",
"data": {
"platform": "douyin",
"accountId": "string",
"profile": {
"displayName": "string",
"username": "string",
"avatarUrl": "string",
"accountType": "string"
},
"metrics": {
"fansCount": 1,
"followingCount": 1,
"workCount": 1,
"readCount": 1,
"viewCount": 1,
"impressionCount": 1,
"reachCount": 1,
"likeCount": 1,
"collectCount": 1,
"forwardCount": 1,
"commentCount": 1,
"clickCount": 1
},
"snapshots": [],
"extra": {},
"snapshotId": "string",
"fetchedAt": "2026-07-02T12:00:00.000Z",
"message": "string"
}
}

