Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Douyin Douplus User Posts

API 文件
https://api.sandbase.ai/v1/api/douyin/douplus/user-posts

Returns a concise list of homepage video posts for a specified Douyin user. Supports cursor-based pagination and custom result counts.

價格
$0.001美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 2 個選填

Playground

輸入
User sec_uid (required)
Page size, default 10
Pagination cursor (string), "0" for first page, then pass the cursor from the previous response
輸出範例
回應outputs · 172 B · 13 行
[
  {
    "data": {
      "code": 0,
      "data": {
        "cursor": "0",
        "hasMore": false,
        "itemInfoList": []
      },
      "msg": "success"
    }
  }
]

範例

選擇一個範例,將其輸入與結果載入 playground。

API README

Douyin Douplus User Posts API

Returns a page of homepage video posts for one Douyin user, including description, publish time, engagement counts, cover and play URLs. It needs the user's sec_uid. You can set the page size with count and page forward with cursor.

Use cases

  • Pull the latest videos from a Douyin creator's profile to check what they posted.
  • Track Statistics counts such as likes and shares across a creator's posts for a performance report.
  • Find posts that carry a DouplusUserPostTag label to see which videos the DOU+ tool flags.
  • Collect play URLs and cover images for a creator's videos to build a content archive.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/douplus/user-posts" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sec_uid": "MS4wLjABAAAAr52fXcfmzqOZJM_smap9Uuxtm16h8BupkCVaCt89BENq3E91mHCvtz5Z5TkXPHq_"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
sec_uidstringYesUser sec_uid (required)
countstringNoPage size, default 10
cursorstringNoPagination cursor (string), "0" for first page, then pass the cursor from the previous response

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "code": 0,
  "data": {
    "cursor": "1790585915000",
    "hasMore": true,
    "itemInfoList": [
      {
        "AwemeInfo": {
          "Author": {
            "AvatarMedium": {
              "Uri": "720x720/aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c745843",
              "UrlList": [
                "https://p26.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_9186d2f6f96…"
              ]
            },
            "AvatarThumb": {},
            "FollowerCount": 0,
            "LabelList": [],
            "Nickname": "栗子味",
            "SecUid": "MS4wLjABAAAAr52fXcfmzqOZJM_smap9Uuxtm16h8BupkCVaCt89BENq3E91mHCvtz5Z5TkXPHq_",
            "ShortId": "",
            "Signature": ""
          },
          "AwemeId": "7701639863695617457",
          "CreateTime": "1793177767000",
          "Desc": "伊人妆 秋眉晃 宛在水中央",
          "IsPhoto": false,
          "Statistics": {
            "AwemeId": "",
            "CommentCount": 32,
            "DiggCount": 2283,
            "ShareCount": 41
          },
          "Video": {
            "Cover": {
              "Height": 0,
              "Uri": "tos-cn-p-0015c000-ce/ocjh9b0CqIecA6EjuC4FGfiEQTDDraAoHwfTKk",
              "UrlKey": "",
              "UrlList": [
                "http://p6-douplus-sign.byteimg.com/tos-cn-p-0015c000-ce/ocjh9b0CqIecA6EjuC4FGfiE…"
              ],
              "Width": 0
            },
            "CreateTime": "1793177767",
            "ImageURL": {},
            "IsPhoto": false,
            "ItemID": "7701639863695617457",
            "ItemOptions": {},
            "PlayAddr": {
              "Height": 576,
              "Uri": "v1e00fgi0000dbgrh1vog65hqsh78ht0",
              "UrlKey": "",
              "UrlList": [
                "https://v13-cold.douyinvod.com/d6e2d6ff40f7293164b039c01c0d8daa/6ae99c0c/video/t…"
              ],
              "Width": 1024
            },
            "Statistics": {
              "CommentCnt": "0",
              "FinishPlayRate": 0,
              "IndexCnt": "0",
              "LikeCnt": "0",
              "LikeRate": 0,
              "NewFansCnt": "0",
              "NewFansRate": 0,
              "NewLikeCnt": "0"
            }
          }
        },
        "CanMountEnterpriseShopCartType": 2,
        "DouplusUserPostTag": "爆款预定",
        "IsAd": false,
        "IsItemPromotional": false,
        "IsOver90Days": false,
        "ItemSource": {
          "ItemGeneraion": 0,
          "SourceType": 1
        },
        "PlayletType": 0
      }
    ]
  },
  "msg": "success"
}

Response fields

FieldMeaning
data.itemInfoList[].AwemeInfo.AwemeIdID of the video post, as a string.
data.itemInfoList[].AwemeInfo.DescCaption text of the video.
data.itemInfoList[].AwemeInfo.CreateTimePublish time of the post as a string. The value looks like a Unix timestamp in milliseconds.
data.itemInfoList[].AwemeInfo.Statistics.DiggCount / CommentCount / ShareCountLike, comment and share counts for the post.
data.itemInfoList[].AwemeInfo.Author.Nickname / SecUidDisplay name and sec_uid of the post author.
data.itemInfoList[].AwemeInfo.Video.PlayAddr.UrlListList of video file URLs. Width and Height in the same object give the video size.
data.itemInfoList[].AwemeInfo.Video.Cover.UrlListList of cover image URLs for the video.
data.itemInfoList[].DouplusUserPostTagTag text attached to a post, such as 爆款预定. It appears only on some posts.
data.itemInfoList[].IsAd / IsItemPromotional / IsOver90DaysBoolean flags for whether the post is an ad, is promotional, or is over 90 days old.
data.cursor / data.hasMorecursor is the value to send for the next page. hasMore tells you whether more posts remain.

Notes

  • Send cursor as "0" for the first page. For later pages, pass the data.cursor value from the previous response.
  • Keep paging while data.hasMore is true.
  • count sets the page size and defaults to 10.
  • Cover and play URLs are signed links, and some include an x-expires value, so download them soon after the call.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

探索更多

相關 APIs

所有 APIs
API價格回應
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON

指南:Best Douyin API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Douyin Douplus User Posts API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/douyin/douplus/user-posts。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Douyin Douplus User Posts API 的費用是多少?

每次 $0.001,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Douyin Douplus User Posts API 接受哪些參數?

必要:sec_uid (string)。 選填:count (any) 和 cursor (any)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Douyin Douplus User Posts API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Douyin 開發者帳號或 API 金鑰嗎?

不需要。Douyin Douplus User Posts 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Douyin API 存取權。