Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Douyin Author Recommended Videos V2

Tài liệu API
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-rec-videos-v2

Get Author Recommended Videos V2 on Douyin. Returns the platform data as structured JSON.

Giá
$0.002USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 2 tùy chọn

Phòng thử nghiệm

Đầu vào
Creator ID
Platform source, 1=Douyin
Platform channel, 1=Douyin video
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Douyin Author Recommended Videos V2 API

Returns four lists of videos for one Douyin creator in Xingtu: masterpiece, newest, order hot and personal hot videos. Each video carries its item_id, create_time and play count. The only required input is the creator ID in o_author_id.

Use cases

  • Pull a creator's most played videos to judge their best past content before a brand deal.
  • Check the newest videos of a creator to see how recently and how often they post.
  • Collect item_id values from the hot lists to feed into video-level report APIs.
  • Compare the order hot list with the personal hot list to see which videos performed in sponsored work and which in organic posts.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-rec-videos-v2" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"o_author_id": "7112600044674482187", "platform_source": 1, "platform_channel": 1}'

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

Parameters

NameTypeRequiredDescription
o_author_idstringYesCreator ID
platform_channelintegerNoPlatform channel, 1=Douyin video
platform_sourceintegerNoPlatform source, 1=Douyin

Example response

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

{
  "base_resp": {
    "status_code": 0,
    "status_message": ""
  },
  "masterpiece_videos": [
    {
      "acu": 0,
      "avg_watch": 0,
      "barrage": 0,
      "biz_id": "0",
      "comment": 0,
      "core_user_id": "0",
      "create_time": 1791057423,
      "create_timestamp": 0,
      "duration": 0,
      "duration_min": 0,
      "fans_club": 0,
      "favorite": "0"
    }
  ],
  "newest_videos": [
    {
      "acu": 0,
      "avg_watch": 0,
      "barrage": 0,
      "biz_id": "0",
      "comment": 0,
      "core_user_id": "0",
      "create_time": 1791979120,
      "create_timestamp": 0,
      "duration": 0,
      "duration_min": 0,
      "fans_club": 0,
      "favorite": "0"
    }
  ],
  "order_hot_videos": [
    {
      "acu": 0,
      "avg_watch": 0,
      "barrage": 0,
      "biz_id": "0",
      "comment": 0,
      "core_user_id": "0",
      "create_time": 1792948058,
      "create_timestamp": 0,
      "duration": 0,
      "duration_min": 0,
      "fans_club": 0,
      "favorite": "0"
    }
  ],
  "personal_hot_videos": [
    {
      "acu": 0,
      "avg_watch": 0,
      "barrage": 0,
      "biz_id": "0",
      "comment": 0,
      "core_user_id": "0",
      "create_time": 1791015055,
      "create_timestamp": 0,
      "duration": 0,
      "duration_min": 0,
      "fans_club": 0,
      "favorite": "0"
    }
  ]
}

Response fields

FieldMeaning
masterpiece_videos[]Videos listed as the creator's masterpieces. Each item has the same video fields as the other lists.
newest_videos[]The creator's latest videos.
order_hot_videos[] / personal_hot_videos[]Two lists of hot videos for the creator, named order hot and personal hot. The names suggest sponsored-order videos and the creator's own videos, but the response does not define them.
masterpiece_videos[].item_idID of the video, as a string. The same field appears in every list.
masterpiece_videos[].playPlay count of the video. In the sample, values run from about 3.5 million to 36 million.
masterpiece_videos[].create_timeCreation time of the video as a Unix timestamp in seconds.
masterpiece_videos[].like / comment / shareInteraction counts for the video. They were 0 in the sample, so they may be empty for some videos.
masterpiece_videos[].item_title / item_coverTitle and cover image of the video. Both were empty strings in the sample.
base_resp.status_code / base_resp.status_messageStatus of the call. 0 with an empty message means success.

Notes

Pricing

$0.002 per successful call. Failed calls are not charged.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Douyin$0.002 mỗi lần gọiJSON
Douyin$0.002 mỗi lần gọiJSON
Douyin$0.002 mỗi lần gọiJSON
Douyin$0.01 mỗi lần gọiJSON
Douyin$0.003 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON

Hướng dẫn:Best Douyin API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Douyin Author Recommended Videos V2?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-rec-videos-v2 với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Douyin Author Recommended Videos V2 có giá bao nhiêu?

$0.002 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Douyin Author Recommended Videos V2 chấp nhận những tham số nào?

Bắt buộc: o_author_id (string). Tùy chọn: platform_source (integer) và platform_channel (integer). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Douyin Author Recommended Videos V2 trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Douyin không?

Không. Douyin Author Recommended Videos V2 chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Douyin.