o_author_idstring必填
Creator ID
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-homepage-videosRetrieves homepage video records for a specified Douyin Xingtu creator. Filters results by post time range, pagination, and star item status.
[
{
"data": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"items": [
{
"comment_cnt": "1085",
"content_theme_labels": [],
"cover_uri": "tos-cn-i-dy/b8ec17014a874aa6a84979e7d5fcd90d",
"create_time": "1789897571",
"duration": 345.212,
"finish_rate": 0.146331,
"interact_rate": 0.014063,
"item_id": "7687551510565211430",
"like_cnt": "35891",
"title": "兄弟们,准备在金三角整个鱼塘,今天带你们先去挑个保镖,毕竟安全最重要#华哥带你练 #东南亚",
"url": "https://www.iesdouyin.com/share/video/7687551510565211430/?region=CN&mid=7687551452679981887&u_code=3k952g4k21l7&did=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&iid=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&with_sec_did=1&video_share_track_ver=&titleType=title&share_sign=UEyHP9vZXPc639yioSXsMZ9Y5FL8jwEoUN_4vEPNNAQ-&share_version=260800&ts=1790699792&from_aid=1128&from_ssr=1&share_track_info=%7B%22link_description_type%22%3A%22%22%7D",
"video_id": "v0300fg10000danqmg7og65qpgpre70g",
"watch_cnt": "2901809"
},
{
"comment_cnt": "653",
"content_theme_labels": [],
"cover_uri": "tos-cn-i-dy/32a7e7ae9804442686bd04f4b843b532",
"create_time": "1788166886",
"duration": 595.871,
"finish_rate": 0.104981,
"interact_rate": 0.043263,
"item_id": "7680077183250992403",
"like_cnt": "114187",
"title": "今天带学员们来踢馆陈校长保镖学院!#华哥带你练 #脉动#脉动电解质#脉动电解质恢复力#9X闪电™⚡恢复力",
"url": "https://www.iesdouyin.com/share/video/7680077183250992403/?region=CN&mid=7680077166878116651&u_code=3k952g4k21l7&did=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&iid=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&with_sec_did=1&video_share_track_ver=&titleType=title&share_sign=YjK11Un6YyMvYdgi7oCnhyeZGkRK_m2P6Cv8g9qBk2k-&share_version=260800&ts=1790699792&from_aid=1128&from_ssr=1&share_track_info=%7B%22link_description_type%22%3A%22%22%7D",
"video_id": "v0d00fg10000daahjanog65vtovit21g",
"watch_cnt": "2708938"
},
{
"comment_cnt": "1401",
"content_theme_labels": [],
"cover_uri": "tos-cn-i-dy/c3451541194f42b8866b8969ca3ec94a",
"create_time": "1787994061",
"duration": 297.007,
"finish_rate": 0.080448,
"interact_rate": 0.025797,
"item_id": "7679013327430896942",
"like_cnt": "62440",
"title": "兄弟们,一个月之后再见良子,训练必须给他安排上!#华哥带你练 #天士力骨胶原恢复片 #天士力骨胶原",
"url": "https://www.iesdouyin.com/share/video/7679013327430896942/?region=CN&mid=7679013421752306495&u_code=3k952g4k21l7&did=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&iid=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&with_sec_did=1&video_share_track_ver=&titleType=title&share_sign=vlI5pkkcUNDiLW49oNytnuYlirofIxlVuED.j79j6OQ-&share_version=260800&ts=1790699792&from_aid=1128&from_ssr=1&share_track_info=%7B%22link_description_type%22%3A%22%22%7D",
"video_id": "v0200fg10000da8l9dnog65kf30hdfq0",
"watch_cnt": "3547562"
},
"… 17 more items in the full response"
],
"pagination": {
"has_more": true,
"limit": 20,
"page": 1,
"total_count": 80
}
}
}
]選擇一個範例,將其輸入與結果載入 playground。
Returns a paged list of homepage videos for one Douyin Xingtu creator. Each item has the title, publish time, duration, play and interaction counts, and rates such as finish rate. The only required input is the creator ID in o_author_id.
start_time and end_time to compare a creator's output across campaign periods.is_star_item to separate Xingtu star item videos from regular posts.finish_rate or interact_rate to find which content held viewers best.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-homepage-videos" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"o_author_id": "7029342444797820939"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
o_author_id | string | Yes | Creator ID |
end_time | string | No | Publish end time, unix seconds, optional |
is_star_item | string | No | 1=star items only, 0=non-star only, omit=all |
page | integer | No | Page number, default 1 |
start_time | string | No | Publish start time, unix seconds, optional |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"base_resp": {
"status_code": 0,
"status_message": ""
},
"items": [
{
"comment_cnt": "8215",
"content_theme_labels": [],
"cover_uri": "tos-cn-i-dy/ab08db17659849f58dbeb878ee1e65a2",
"create_time": "1792486908",
"duration": 789.664,
"finish_rate": 0.026315,
"interact_rate": 0.0254,
"item_id": "7698612187585203482",
"like_cnt": "100531",
"title": "今天在泰山当挑山工,挑战日入一千!#华哥带你练 #挑山工",
"url": "https://www.iesdouyin.com/share/video/7698612187585203482/?region=CN&mid=7698612…",
"video_id": "v0d00fg10000dbbfbqfog65mpv6gq99g"
}
],
"pagination": {
"has_more": true,
"limit": 20,
"page": 1,
"total_count": 73
}
}
| Field | Meaning |
|---|---|
items[].item_id / items[].video_id | Identifiers for the video. item_id is the numeric ID that also appears in the share url. |
items[].title | Video caption, including any hashtags. |
items[].create_time | Publish time as a Unix timestamp in seconds, returned as a string. |
items[].duration | Video length. The value is a decimal number, for example 789.664. |
items[].watch_cnt / items[].like_cnt / items[].comment_cnt | Play, like and comment counts for the video. They arrive as strings. |
items[].finish_rate / items[].interact_rate | Decimal rates for the video. finish_rate is a completion rate and interact_rate is an interaction rate. |
items[].content_theme_labels | List of content theme labels for the video. It can be empty. |
items[].url | Share link for the video on Douyin. |
pagination.has_more / pagination.total_count | has_more shows whether more pages exist. total_count is the total number of matching videos. |
pagination.page / pagination.limit | Current page number and the number of items per page (20 in this response). |
o_author_id from a search API such as Douyin Xingtu Creator Search.page while pagination.has_more is true to read the next page.start_time and end_time take Unix seconds, the same format as items[].create_time.is_star_item to 1 for star items only or 0 for non-star items. Omit it to get all videos.$0.002 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
開始建置
具備統一驗證與用量追蹤的平台 API 端點。
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-homepage-videos" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"o_author_id": "7029342444797820939"
}'請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
o_author_idstring必填Creator ID
end_timeanyPublish end time, unix seconds, optional
is_star_itemany1=star items only, 0=non-star only, omit=all
pageintegerPage number, default 1
start_timeanyPublish start time, unix seconds, optional
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
[
{
"data": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"items": [
{
"comment_cnt": "1085",
"content_theme_labels": [],
"cover_uri": "tos-cn-i-dy/b8ec17014a874aa6a84979e7d5fcd90d",
"create_time": "1789897571",
"duration": 345.212,
"finish_rate": 0.146331,
"interact_rate": 0.014063,
"item_id": "7687551510565211430",
"like_cnt": "35891",
"title": "兄弟们,准备在金三角整个鱼塘,今天带你们先去挑个保镖,毕竟安全最重要#华哥带你练 #东南亚",
"url": "https://www.iesdouyin.com/share/video/7687551510565211430/?region=CN&mid=7687551452679981887&u_code=3k952g4k21l7&did=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&iid=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&with_sec_did=1&video_share_track_ver=&titleType=title&share_sign=UEyHP9vZXPc639yioSXsMZ9Y5FL8jwEoUN_4vEPNNAQ-&share_version=260800&ts=1790699792&from_aid=1128&from_ssr=1&share_track_info=%7B%22link_description_type%22%3A%22%22%7D",
"video_id": "v0300fg10000danqmg7og65qpgpre70g",
"watch_cnt": "2901809"
},
{
"comment_cnt": "653",
"content_theme_labels": [],
"cover_uri": "tos-cn-i-dy/32a7e7ae9804442686bd04f4b843b532",
"create_time": "1788166886",
"duration": 595.871,
"finish_rate": 0.104981,
"interact_rate": 0.043263,
"item_id": "7680077183250992403",
"like_cnt": "114187",
"title": "今天带学员们来踢馆陈校长保镖学院!#华哥带你练 #脉动#脉动电解质#脉动电解质恢复力#9X闪电™⚡恢复力",
"url": "https://www.iesdouyin.com/share/video/7680077183250992403/?region=CN&mid=7680077166878116651&u_code=3k952g4k21l7&did=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&iid=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&with_sec_did=1&video_share_track_ver=&titleType=title&share_sign=YjK11Un6YyMvYdgi7oCnhyeZGkRK_m2P6Cv8g9qBk2k-&share_version=260800&ts=1790699792&from_aid=1128&from_ssr=1&share_track_info=%7B%22link_description_type%22%3A%22%22%7D",
"video_id": "v0d00fg10000daahjanog65vtovit21g",
"watch_cnt": "2708938"
},
{
"comment_cnt": "1401",
"content_theme_labels": [],
"cover_uri": "tos-cn-i-dy/c3451541194f42b8866b8969ca3ec94a",
"create_time": "1787994061",
"duration": 297.007,
"finish_rate": 0.080448,
"interact_rate": 0.025797,
"item_id": "7679013327430896942",
"like_cnt": "62440",
"title": "兄弟们,一个月之后再见良子,训练必须给他安排上!#华哥带你练 #天士力骨胶原恢复片 #天士力骨胶原",
"url": "https://www.iesdouyin.com/share/video/7679013327430896942/?region=CN&mid=7679013421752306495&u_code=3k952g4k21l7&did=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&iid=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&with_sec_did=1&video_share_track_ver=&titleType=title&share_sign=vlI5pkkcUNDiLW49oNytnuYlirofIxlVuED.j79j6OQ-&share_version=260800&ts=1790699792&from_aid=1128&from_ssr=1&share_track_info=%7B%22link_description_type%22%3A%22%22%7D",
"video_id": "v0200fg10000da8l9dnog65kf30hdfq0",
"watch_cnt": "3547562"
},
"… 17 more items in the full response"
],
"pagination": {
"has_more": true,
"limit": 20,
"page": 1,
"total_count": 80
}
}
}
]探索更多
| API | 價格 | 回應 |
|---|---|---|
Douyin | 每次呼叫 $0.002 | JSON |
Douyin | 每次呼叫 $0.002 | JSON |
Douyin | 每次呼叫 $0.002 | JSON |
Douyin | 每次呼叫 $0.01 | JSON |
Douyin | 每次呼叫 $0.003 | JSON |
Douyin | 每次呼叫 $0.001 | JSON |
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-homepage-videos。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次 $0.002,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
必要:o_author_id (string)。 選填:end_time (any), is_star_item (any), page (integer) 和 start_time (any)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
不需要。Douyin Xingtu Author Homepage Videos 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Douyin API 存取權。