kolIdstringwajib
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": []
}
}
]Pilih contoh untuk memuat input dan hasilnya ke 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.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
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"
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
kolIdstringwajibUser 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`
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
[
{
"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": []
}
}
]Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
Douyin | $0.02 per panggilan | JSON |
Douyin | $0.02 per panggilan | JSON |
Douyin | $0.02 per panggilan | JSON |
Douyin | $0.02 per panggilan | JSON |
Douyin | $0.02 per panggilan | JSON |
Douyin | $0.02 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/douyin/xingtu/kol-rec-videos-v1 dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.02 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Wajib: kolId (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. Douyin Xingtu KOL Recommended Videos berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Douyin secara terpisah.