kolIdstring必須
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": []
}
}
]例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。
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.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
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"
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
kolIdstring必須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`
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
[
{
"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": []
}
}
]さらに探索
| API | 価格 | レスポンス |
|---|---|---|
Douyin | $0.02 / 回 | JSON |
Douyin | $0.02 / 回 | JSON |
Douyin | $0.02 / 回 | JSON |
Douyin | $0.02 / 回 | JSON |
Douyin | $0.02 / 回 | JSON |
Douyin | $0.02 / 回 | JSON |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/douyin/xingtu/kol-rec-videos-v1 に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.02、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須: kolId (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。Douyin Xingtu KOL Recommended Videos は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Douyin の API アクセスを別途申請する必要はありません。