跳转到主要内容
GET
/
api
/
v2
/
channels
/
accounts
账号列表
curl --request GET \
  --url https://aitoearn.cn/api/v2/channels/accounts \
  --header 'X-Api-Key: <api-key>'
{
  "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
      }
    ]
  }
}

授权

X-Api-Key
string
header
必填

AiToEarn Open Platform API Key。

查询参数

ids
string[]

账号 ID 数组

Minimum string length: 1
spaceIds
string[]

空间/分组 ID 数组

Minimum string length: 1
types
enum<string>[]

平台类型数组

可用选项:
douyin,
xhs,
wxSph,
KWAI,
youtube,
wxGzh,
bilibili,
twitter,
tiktok,
facebook,
instagram,
threads,
pinterest,
linkedin,
google_business
status
number

账号状态

groupId
string

账号分组 ID

响应

200 - application/json

请求已被服务处理。业务是否成功以响应体 code === 0 为准。

code
integer
必填

业务状态码。0 表示成功,非 0 表示业务错误。

message
string
必填

响应消息。

data
object
requestId
string

请求 ID。

timestamp
integer

错误响应时间戳,Unix 毫秒。