How to list every video from a Douyin account

Pass the account's sec_uid and page with data.next, about 20 videos a page. Five pages are 5 calls and $0.01, newest first, with likes, comments and shares for each video.

Updated 2026-11-22·This page as Markdown

List the videos

id is the sec_uid: the string starting with MS4wLjABAAAA after /user/ in a douyin.com profile link. From a share link, get it with douyin.accounts.id_from_url. The next page's cursor is a timestamp in data.next.

Douyin video list API·GET /v1/douyin/videos/list·$0.002 a call

curl "https://xtikapi.com/v1/douyin/videos/list?id=MS4wLjABAAAAz1lOStxwzCZF5cJ3h8Sa2FPQ_8_l_vQdpdKEm1oEF_k" \
  -H "Authorization: Bearer YOUR_API_KEY"
Recorded response (lists keep the first two items)
{
  "data": {
    "items": [
      {
        "id": "0604894503360517458",
        "url": "https://example.com/link",
        "text": "Example text",
        "author": {
          "id": "xx1xxxxxxxxxx5xxxxxxxxxx6xx5x4xx9xxx_0_x_xxxxxxxx7xxx_x",
          "username": "example_user",
          "name": "Example name",
          "avatar": "https://example.com/image.jpg",
          "description": "Example text"
        },
        "createdAt": "2026-04-21T10:00:00.000Z",
        "likeCount": 516408,
        "commentCount": 13743,
        "shareCount": 349221,
        "cover": "https://example.com/image.jpg"
      },
      {
        "id": "0686305644401440046",
        "url": "https://example.com/link",
        "text": "Example text",
        "author": {
          "id": "xx1xxxxxxxxxx5xxxxxxxxxx6xx5x4xx9xxx_0_x_xxxxxxxx7xxx_x",
          "username": "example_user",
          "name": "Example name",
          "avatar": "https://example.com/image.jpg",
          "description": "Example text"
        },
        "createdAt": "2026-03-01T10:00:02.000Z",
        "likeCount": 246763,
        "commentCount": 6947,
        "shareCount": 126169,
        "cover": "https://example.com/image.jpg"
      }
    ],
    "has_more": true,
    "next": {
      "cursor": 1791280800000
    }
  },
  "meta": {
    "request_id": "example",
    "endpoint": "douyin.videos.list",
    "normalized": true,
    "unavailable": [
      "viewCount"
    ],
    "billing": {
      "charged": true,
      "amount": 0.002,
      "balance": 4.98
    }
  }
}

What the example costs

Calls: 5
Price: $0.002
Subtotal: $0.01
Total
Calls: 5
Price: —
Subtotal: $0.01

Failed calls and timeouts are not charged. A new account with a verified email gets $0.50 of trial balance, enough to run this example.

Good to know

  • In our test on 2026-11-22 the first page held 23 videos and the second 20, with no overlap.
  • Douyin does not publish play counts, so viewCount is listed in meta.unavailable.
  • Each video's id is the aweme_id that douyin.comments.list takes.

Endpoints

More about Douyin

Questions

How much does this cost with XTikAPI?

The example here is 5 calls, $0.01 in total. Failed calls and timeouts are free, and a new account with a verified email gets $0.50 of trial balance.

Can I use the numeric Douyin ID instead of sec_uid?

The list call takes sec_uid. Convert a numeric uid with douyin.accounts.uid_to_sec_uid, or a profile link with douyin.accounts.id_from_url.