渠道管理/作品
获取账号作品列表
接口说明:获取指定平台账号的作品列表
GET
/
api
/
v2
/
channels
/
works
/
{platform}
获取账号作品列表
curl --request GET \
--url https://aitoearn.cn/api/v2/channels/works/{platform} \
--header 'X-Api-Key: <api-key>'{
"code": 0,
"message": "请求成功",
"data": {
"platform": "douyin",
"items": {
"platformWorkId": "string",
"contentMode": "article2",
"title": "string",
"description": "string",
"url": "string",
"coverUrl": "string",
"publishedAt": "2026-07-02T12:00:00.000Z",
"authorName": "string",
"authorPlatformUid": "string",
"status": "string",
"metrics": {
"viewCount": 1,
"playCount": 1,
"impressionCount": 1,
"reachCount": 1,
"likeCount": 1,
"collectCount": 1,
"commentCount": 1,
"shareCount": 1,
"saveCount": 1,
"clickCount": 1,
"engagementCount": 1,
"watchTimeSeconds": 1
}
},
"pagination": {
"mode": "string",
"hasNext": true,
"hasPrevious": true,
"limit": 1,
"nextCursor": "string",
"previousCursor": "string"
}
}
}
授权
AiToEarn Open Platform API Key。
路径参数
平台标识
查询参数
账号 ID
Minimum string length:
1响应
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 作品列表
Hide child attributes
Hide child attributes
平台作品 ID
作品内容类型
可用选项:
article2, article, video 作品标题
作品描述
作品链接
封面 URL
发布时间
作者名称
作者平台 UID
作品状态
作品指标
Hide child attributes
Hide child attributes
浏览数
播放数
曝光数
触达数
点赞数
收藏数
评论数
分享数
保存数
点击数
互动数
观看时长秒数
分页结果
- Option 1
- Option 2
- Option 3
Hide child attributes
Hide child attributes
请求 ID。
错误响应时间戳,Unix 毫秒。
⌘I
获取账号作品列表
curl --request GET \
--url https://aitoearn.cn/api/v2/channels/works/{platform} \
--header 'X-Api-Key: <api-key>'{
"code": 0,
"message": "请求成功",
"data": {
"platform": "douyin",
"items": {
"platformWorkId": "string",
"contentMode": "article2",
"title": "string",
"description": "string",
"url": "string",
"coverUrl": "string",
"publishedAt": "2026-07-02T12:00:00.000Z",
"authorName": "string",
"authorPlatformUid": "string",
"status": "string",
"metrics": {
"viewCount": 1,
"playCount": 1,
"impressionCount": 1,
"reachCount": 1,
"likeCount": 1,
"collectCount": 1,
"commentCount": 1,
"shareCount": 1,
"saveCount": 1,
"clickCount": 1,
"engagementCount": 1,
"watchTimeSeconds": 1
}
},
"pagination": {
"mode": "string",
"hasNext": true,
"hasPrevious": true,
"limit": 1,
"nextCursor": "string",
"previousCursor": "string"
}
}
}

