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

Authorizations

X-Api-Key
string
header
required

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

Path Parameters

platform
string
required

Platform identification

Query Parameters

accountId
string
required

Account ID

Minimum string length: 1
pagination
object

Paging parameters

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.