Skip to main content
GET
/
api
/
v2
/
channels
/
accounts
Account List
curl --request GET \
  --url https://aitoearn.cn/api/v2/channels/accounts \
  --header 'X-Api-Key: <api-key>'
{ "code": 0, "message": "Request succeeded", "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 } ] } }

Authorizations

X-Api-Key
string
header
required

Need to get API Key from AiToEarn. Click to go to "API Key Obtaining Tutorial".

Query Parameters

ids
string[]

Account ID array

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

Array of platform types. The value is the enumeration identifier of each platform. First call the "Platform List" interface (GET /api/v2/channels/platforms) and use the data[n].platform returned by it.

Available options:
douyin,
xhs,
wxSph,
KWAI,
youtube,
wxGzh,
bilibili,
twitter,
tiktok,
facebook,
instagram,
threads,
pinterest,
linkedin
status
number

Account status: 1 normal (available), 0 abnormal (unavailable).

Response

200 - application/json

The request has been processed by the service. Business success is determined by whether the response body has code === 0.

code
integer
required

Business status code. 0 means success; non-zero means a business error.

message
string
required

Response message.

data
object
requestId
string

Request ID.

timestamp
integer

Error response timestamp in Unix milliseconds.