渠道管理/账号
账号列表
接口说明:分页获取当前用户的渠道账号列表。
GET
账号列表
授权
需要从 AiToEarn 获取 API Key。点击前往「API Key 获取教程」。
查询参数
账号 ID 数组
Minimum string length:
1账号状态:1 正常(可用),0 异常(不可用)。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
接口说明:分页获取当前用户的渠道账号列表。
curl --request GET \
--url https://aitoearn.cn/api/v2/channels/accounts \
--header 'X-Api-Key: <api-key>'import requests
url = "https://aitoearn.cn/api/v2/channels/accounts"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://aitoearn.cn/api/v2/channels/accounts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://aitoearn.cn/api/v2/channels/accounts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"code": 0,
"message": "请求成功",
"data": {
"total": 1,
"list": [
{
"id": "string",
"userId": "string",
"type": "douyin",
"uid": "string",
"nickname": "string",
"groupId": "string",
"status": 1,
"clientType": "web",
"account": "string",
"loginTime": "2026-07-02T12:00:00.000Z",
"avatar": "string",
"fansCount": 1
}
]
}
}需要从 AiToEarn 获取 API Key。点击前往「API Key 获取教程」。
账号 ID 数组
1账号状态:1 正常(可用),0 异常(不可用)。
请求已被服务处理。业务是否成功以响应体 code === 0 为准。
业务状态码。0 表示成功,非 0 表示业务错误。
响应消息。
Hide child attributes
账号总数
账号列表
Hide child attributes
账号 ID
用户 ID
平台
douyin, xhs, wxSph, KWAI, youtube, wxGzh, bilibili, twitter, tiktok, facebook, instagram, threads, pinterest, linkedin, google_business 平台账号 UID
昵称
账号分组 ID
账号状态
客户端类型
web, app 平台账号名
登录时间
头像 URL
粉丝数
关注数
阅读数
点赞数
收藏数
转发数
评论数
最近统计时间
作品数
收入
排序值
转发账号引用
创建时间
更新时间
请求 ID。
错误响应时间戳,Unix 毫秒。
curl --request GET \
--url https://aitoearn.cn/api/v2/channels/accounts \
--header 'X-Api-Key: <api-key>'import requests
url = "https://aitoearn.cn/api/v2/channels/accounts"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://aitoearn.cn/api/v2/channels/accounts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://aitoearn.cn/api/v2/channels/accounts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"code": 0,
"message": "请求成功",
"data": {
"total": 1,
"list": [
{
"id": "string",
"userId": "string",
"type": "douyin",
"uid": "string",
"nickname": "string",
"groupId": "string",
"status": 1,
"clientType": "web",
"account": "string",
"loginTime": "2026-07-02T12:00:00.000Z",
"avatar": "string",
"fansCount": 1
}
]
}
}