kolIdstringbắt buộc
User kolId, can be obtained from the following interfaces: `douyin/xingtu/xingtu-kolid-by-uid`; `douyin/xingtu/xingtu-kolid-by-sec-user-id`; `douyin/xingtu/xingtu-kolid-by-unique-id`
https://api.sandbase.ai/v1/api/douyin/xingtu/kol-rec-videos-v1Returns recommended videos for a Douyin Xingtu creator based on the provided creator ID. Useful for discovering high-performing content from specific influencers.
[
{
"data": {
"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": 1734027222,
"create_timestamp": 0,
"duration": 0,
"duration_min": 0,
"fans_club": 0,
"favorite": "0",
"finish_time": 0,
"head_image_uri": "",
"head_image_uris": [],
"head_image_url_signed": "",
"height": "0",
"impression": 0,
"industry": "",
"interact_rate": 0,
"is_hot": false,
"is_playlet": 0,
"item_animated_cover": "",
"item_cover": "",
"item_date": "",
"item_id": "7447465868310695204",
"item_title": "",
"like": 0,
"live_status": 0,
"max_watch": 0,
"media_type": "0",
"original_status": 0,
"play": 225231,
"play_over_5min": 0,
"read_cnt": "0",
"repin": 0,
"send_gift": 0,
"send_prop": 0,
"send_red_packet": 0,
"share": 0,
"status": 0,
"title": "",
"url": "",
"video_id": "",
"width": "0"
},
{
"acu": 0,
"avg_watch": 0,
"barrage": 0,
"biz_id": "0",
"comment": 0,
"core_user_id": "0",
"create_time": 1733998875,
"create_timestamp": 0,
"duration": 0,
"duration_min": 0,
"fans_club": 0,
"favorite": "0",
"finish_time": 0,
"head_image_uri": "",
"head_image_uris": [],
"head_image_url_signed": "",
"height": "0",
"impression": 0,
"industry": "",
"interact_rate": 0,
"is_hot": false,
"is_playlet": 0,
"item_animated_cover": "",
"item_cover": "",
"item_date": "",
"item_id": "7447343851380985127",
"item_title": "",
"like": 0,
"live_status": 0,
"max_watch": 0,
"media_type": "0",
"original_status": 0,
"play": 86160,
"play_over_5min": 0,
"read_cnt": "0",
"repin": 0,
"send_gift": 0,
"send_prop": 0,
"send_red_packet": 0,
"share": 0,
"status": 0,
"title": "",
"url": "",
"video_id": "",
"width": "0"
}
],
"newest_videos": [
{
"acu": 0,
"avg_watch": 0,
"barrage": 0,
"biz_id": "0",
"comment": 0,
"core_user_id": "0",
"create_time": 1734515396,
"create_timestamp": 0,
"duration": 0,
"duration_min": 0,
"fans_club": 0,
"favorite": "0",
"finish_time": 0,
"head_image_uri": "",
"head_image_uris": [],
"head_image_url_signed": "",
"height": "0",
"impression": 0,
"industry": "",
"interact_rate": 0,
"is_hot": false,
"is_playlet": 0,
"item_animated_cover": "",
"item_cover": "",
"item_date": "",
"item_id": "7449562637160942898",
"item_title": "",
"like": 0,
"live_status": 0,
"max_watch": 0,
"media_type": "0",
"original_status": 0,
"play": 1459,
"play_over_5min": 0,
"read_cnt": "0",
"repin": 0,
"send_gift": 0,
"send_prop": 0,
"send_red_packet": 0,
"share": 0,
"status": 0,
"title": "",
"url": "",
"video_id": "",
"width": "0"
},
{
"acu": 0,
"avg_watch": 0,
"barrage": 0,
"biz_id": "0",
"comment": 0,
"core_user_id": "0",
"create_time": 1734515391,
"create_timestamp": 0,
"duration": 0,
"duration_min": 0,
"fans_club": 0,
"favorite": "0",
"finish_time": 0,
"head_image_uri": "",
"head_image_uris": [],
"head_image_url_signed": "",
"height": "0",
"impression": 0,
"industry": "",
"interact_rate": 0,
"is_hot": false,
"is_playlet": 0,
"item_animated_cover": "",
"item_cover": "",
"item_date": "",
"item_id": "7449562809806900530",
"item_title": "",
"like": 0,
"live_status": 0,
"max_watch": 0,
"media_type": "0",
"original_status": 0,
"play": 1955,
"play_over_5min": 0,
"read_cnt": "0",
"repin": 0,
"send_gift": 0,
"send_prop": 0,
"send_red_packet": 0,
"share": 0,
"status": 0,
"title": "",
"url": "",
"video_id": "",
"width": "0"
}
],
"order_hot_videos": [
{
"acu": 0,
"avg_watch": 0,
"barrage": 0,
"biz_id": "0",
"comment": 0,
"core_user_id": "0",
"create_time": 1734082828,
"create_timestamp": 0,
"duration": 0,
"duration_min": 0,
"fans_club": 0,
"favorite": "0",
"finish_time": 0,
"head_image_uri": "",
"head_image_uris": [],
"head_image_url_signed": "",
"height": "0",
"impression": 0,
"industry": "",
"interact_rate": 0,
"is_hot": false,
"is_playlet": 0,
"item_animated_cover": "",
"item_cover": "",
"item_date": "",
"item_id": "7447704564989496595",
"item_title": "",
"like": 0,
"live_status": 0,
"max_watch": 0,
"media_type": "0",
"original_status": 0,
"play": 898536,
"play_over_5min": 0,
"read_cnt": "0",
"repin": 0,
"send_gift": 0,
"send_prop": 0,
"send_red_packet": 0,
"share": 0,
"status": 0,
"title": "",
"url": "",
"video_id": "",
"width": "0"
},
{
"acu": 0,
"avg_watch": 0,
"barrage": 0,
"biz_id": "0",
"comment": 0,
"core_user_id": "0",
"create_time": 1733998891,
"create_timestamp": 0,
"duration": 0,
"duration_min": 0,
"fans_club": 0,
"favorite": "0",
"finish_time": 0,
"head_image_uri": "",
"head_image_uris": [],
"head_image_url_signed": "",
"height": "0",
"impression": 0,
"industry": "",
"interact_rate": 0,
"is_hot": false,
"is_playlet": 0,
"item_animated_cover": "",
"item_cover": "",
"item_date": "",
"item_id": "7447344012983389494",
"item_title": "",
"like": 0,
"live_status": 0,
"max_watch": 0,
"media_type": "0",
"original_status": 0,
"play": 389404,
"play_over_5min": 0,
"read_cnt": "0",
"repin": 0,
"send_gift": 0,
"send_prop": 0,
"send_red_packet": 0,
"share": 0,
"status": 0,
"title": "",
"url": "",
"video_id": "",
"width": "0"
}
],
"personal_hot_videos": []
}
}
]Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.
Returns lists of videos tied to a Douyin Xingtu creator: masterpiece videos, newest videos and order hot videos. It needs one input, the creator's kolId.
play counts across masterpiece and order hot videos to see which content earns the most views.item_id values to look up full details for a creator's best videos.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu/kol-rec-videos-v1" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"kolId": "7048929565493690398"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
kolId | string | Yes | User kolId, can be obtained from the following interfaces: douyin/xingtu/xingtu-kolid-by-uid; douyin/xingtu/xingtu-kolid-by-sec-user-id; douyin/xingtu/xingtu-kolid-by-unique-id |
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": 1734027222,
"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": 1734515396,
"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": 1734082828,
"create_timestamp": 0,
"duration": 0,
"duration_min": 0,
"fans_club": 0,
"favorite": "0"
}
],
"personal_hot_videos": []
}
| Field | Meaning |
|---|---|
masterpiece_videos[] | List of videos the creator is known for. Each item uses the same video fields as the other lists. |
newest_videos[] | List of the creator's most recent videos. |
order_hot_videos[] | List of videos in the order hot group. The name suggests top videos from sponsored orders, but the response does not say so. |
personal_hot_videos[] | List of personal hot videos. It can be empty, as in the sample. |
masterpiece_videos[].item_id | ID of the video, as a string. Use it to identify the video in other calls. |
masterpiece_videos[].play | Play count of the video. In the sample it is the most filled-in metric. |
masterpiece_videos[].create_time | Creation time of the video as a Unix timestamp in seconds. |
masterpiece_videos[].like / comment / share / repin | Engagement counts for the video. Many items return 0 here, so check play first. |
masterpiece_videos[].item_title / item_cover | Title and cover image of the video. These can be empty strings. |
base_resp.status_code | Status code of the response. 0 in the sample, with an empty status_message. |
kolId from Douyin XingTu KOL ID by User ID, Douyin XingTu kolId Lookup or Douyin XingTu KOL ID by Unique ID.0 or an empty string in the sample, so play, item_id and create_time are the most reliable fields.$0.02 per successful call. Failed calls are not charged.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu/kol-rec-videos-v1" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"kolId": "7048929565493690398"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
kolIdstringbắt buộcUser kolId, can be obtained from the following interfaces: `douyin/xingtu/xingtu-kolid-by-uid`; `douyin/xingtu/xingtu-kolid-by-sec-user-id`; `douyin/xingtu/xingtu-kolid-by-unique-id`
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
[
{
"data": {
"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": 1734027222,
"create_timestamp": 0,
"duration": 0,
"duration_min": 0,
"fans_club": 0,
"favorite": "0",
"finish_time": 0,
"head_image_uri": "",
"head_image_uris": [],
"head_image_url_signed": "",
"height": "0",
"impression": 0,
"industry": "",
"interact_rate": 0,
"is_hot": false,
"is_playlet": 0,
"item_animated_cover": "",
"item_cover": "",
"item_date": "",
"item_id": "7447465868310695204",
"item_title": "",
"like": 0,
"live_status": 0,
"max_watch": 0,
"media_type": "0",
"original_status": 0,
"play": 225231,
"play_over_5min": 0,
"read_cnt": "0",
"repin": 0,
"send_gift": 0,
"send_prop": 0,
"send_red_packet": 0,
"share": 0,
"status": 0,
"title": "",
"url": "",
"video_id": "",
"width": "0"
},
{
"acu": 0,
"avg_watch": 0,
"barrage": 0,
"biz_id": "0",
"comment": 0,
"core_user_id": "0",
"create_time": 1733998875,
"create_timestamp": 0,
"duration": 0,
"duration_min": 0,
"fans_club": 0,
"favorite": "0",
"finish_time": 0,
"head_image_uri": "",
"head_image_uris": [],
"head_image_url_signed": "",
"height": "0",
"impression": 0,
"industry": "",
"interact_rate": 0,
"is_hot": false,
"is_playlet": 0,
"item_animated_cover": "",
"item_cover": "",
"item_date": "",
"item_id": "7447343851380985127",
"item_title": "",
"like": 0,
"live_status": 0,
"max_watch": 0,
"media_type": "0",
"original_status": 0,
"play": 86160,
"play_over_5min": 0,
"read_cnt": "0",
"repin": 0,
"send_gift": 0,
"send_prop": 0,
"send_red_packet": 0,
"share": 0,
"status": 0,
"title": "",
"url": "",
"video_id": "",
"width": "0"
}
],
"newest_videos": [
{
"acu": 0,
"avg_watch": 0,
"barrage": 0,
"biz_id": "0",
"comment": 0,
"core_user_id": "0",
"create_time": 1734515396,
"create_timestamp": 0,
"duration": 0,
"duration_min": 0,
"fans_club": 0,
"favorite": "0",
"finish_time": 0,
"head_image_uri": "",
"head_image_uris": [],
"head_image_url_signed": "",
"height": "0",
"impression": 0,
"industry": "",
"interact_rate": 0,
"is_hot": false,
"is_playlet": 0,
"item_animated_cover": "",
"item_cover": "",
"item_date": "",
"item_id": "7449562637160942898",
"item_title": "",
"like": 0,
"live_status": 0,
"max_watch": 0,
"media_type": "0",
"original_status": 0,
"play": 1459,
"play_over_5min": 0,
"read_cnt": "0",
"repin": 0,
"send_gift": 0,
"send_prop": 0,
"send_red_packet": 0,
"share": 0,
"status": 0,
"title": "",
"url": "",
"video_id": "",
"width": "0"
},
{
"acu": 0,
"avg_watch": 0,
"barrage": 0,
"biz_id": "0",
"comment": 0,
"core_user_id": "0",
"create_time": 1734515391,
"create_timestamp": 0,
"duration": 0,
"duration_min": 0,
"fans_club": 0,
"favorite": "0",
"finish_time": 0,
"head_image_uri": "",
"head_image_uris": [],
"head_image_url_signed": "",
"height": "0",
"impression": 0,
"industry": "",
"interact_rate": 0,
"is_hot": false,
"is_playlet": 0,
"item_animated_cover": "",
"item_cover": "",
"item_date": "",
"item_id": "7449562809806900530",
"item_title": "",
"like": 0,
"live_status": 0,
"max_watch": 0,
"media_type": "0",
"original_status": 0,
"play": 1955,
"play_over_5min": 0,
"read_cnt": "0",
"repin": 0,
"send_gift": 0,
"send_prop": 0,
"send_red_packet": 0,
"share": 0,
"status": 0,
"title": "",
"url": "",
"video_id": "",
"width": "0"
}
],
"order_hot_videos": [
{
"acu": 0,
"avg_watch": 0,
"barrage": 0,
"biz_id": "0",
"comment": 0,
"core_user_id": "0",
"create_time": 1734082828,
"create_timestamp": 0,
"duration": 0,
"duration_min": 0,
"fans_club": 0,
"favorite": "0",
"finish_time": 0,
"head_image_uri": "",
"head_image_uris": [],
"head_image_url_signed": "",
"height": "0",
"impression": 0,
"industry": "",
"interact_rate": 0,
"is_hot": false,
"is_playlet": 0,
"item_animated_cover": "",
"item_cover": "",
"item_date": "",
"item_id": "7447704564989496595",
"item_title": "",
"like": 0,
"live_status": 0,
"max_watch": 0,
"media_type": "0",
"original_status": 0,
"play": 898536,
"play_over_5min": 0,
"read_cnt": "0",
"repin": 0,
"send_gift": 0,
"send_prop": 0,
"send_red_packet": 0,
"share": 0,
"status": 0,
"title": "",
"url": "",
"video_id": "",
"width": "0"
},
{
"acu": 0,
"avg_watch": 0,
"barrage": 0,
"biz_id": "0",
"comment": 0,
"core_user_id": "0",
"create_time": 1733998891,
"create_timestamp": 0,
"duration": 0,
"duration_min": 0,
"fans_club": 0,
"favorite": "0",
"finish_time": 0,
"head_image_uri": "",
"head_image_uris": [],
"head_image_url_signed": "",
"height": "0",
"impression": 0,
"industry": "",
"interact_rate": 0,
"is_hot": false,
"is_playlet": 0,
"item_animated_cover": "",
"item_cover": "",
"item_date": "",
"item_id": "7447344012983389494",
"item_title": "",
"like": 0,
"live_status": 0,
"max_watch": 0,
"media_type": "0",
"original_status": 0,
"play": 389404,
"play_over_5min": 0,
"read_cnt": "0",
"repin": 0,
"send_gift": 0,
"send_prop": 0,
"send_red_packet": 0,
"share": 0,
"status": 0,
"title": "",
"url": "",
"video_id": "",
"width": "0"
}
],
"personal_hot_videos": []
}
}
]Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Douyin | $0.02 mỗi lần gọi | JSON |
Douyin | $0.02 mỗi lần gọi | JSON |
Douyin | $0.02 mỗi lần gọi | JSON |
Douyin | $0.02 mỗi lần gọi | JSON |
Douyin | $0.02 mỗi lần gọi | JSON |
Douyin | $0.02 mỗi lần gọi | JSON |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/xingtu/kol-rec-videos-v1 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.
$0.02 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ý.
Bắt buộc: kolId (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
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.
Không. Douyin Xingtu KOL Recommended Videos 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.