item_idstring必填
Video (item) ID
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/item-report-detailGet Item Report Detail on Douyin. Returns the platform data as structured JSON.
您的輸出會顯示在這裡
完成輸入後,點擊執行。
Returns a report for one Douyin video on Xingtu. The report covers the video's counts, rates, music and author summary. It needs one input, the video item_id.
finish_rate and interact_rate across several videos to see which content holds viewers best.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/item-report-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"item_id": "7372484719365098803"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
item_id | string | Yes | Video (item) ID |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"author_info": {
"author_id": "6811013757230120974",
"avatar_uri": "https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_f96ccdf24e…",
"city": "杭州市",
"content_tags": {
"随拍": [
"随拍"
]
},
"core_user_id": "95823111667",
"follower": "2606021",
"gender": 2,
"industry_tags": [],
"ink_cnt": "237487",
"is_star": 1,
"link_cnt": "926519",
"name": "萧萧不吃辣"
},
"base_resp": {
"status_code": 0,
"status_message": ""
},
"video_info": {
"collect_cnt": "19905",
"comment_cnt": "4071",
"create_time": "1716540374",
"duration": 8.01,
"finish_rate": 0.138603596,
"head_image_uri": "tos-cn-i-0813c001/o4AAWPm4AU97EUKAFFAB8EIDQg9DUAcCfSfT9n",
"interact_cnt": "397010",
"interact_rate": 0.101,
"item_id": "7372484719365098803",
"like_cnt": "312973",
"music_info": {
"album": "",
"author": "KD_B Music",
"cover_uri": "100x100/aweme-avatar/tos-cn-i-0813_oMDhlc4OEhKACgeCH1nztAM9h0AfAArgAzpkId",
"cover_url": [
"https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813_oMDhlc4OEhKACg…"
],
"create_time": "1711050340",
"duration": "29",
"music_id": "7348905216869174025",
"play_url": "https://sf11-cdn-tos.douyinstatic.com/obj/ies-music/7348905229246532379.mp3",
"source_platform": 0,
"title": "@KD_B Music创作的原声",
"used_count": "0"
},
"share_cnt": "79966"
}
}
| Field | Meaning |
|---|---|
video_info.title | Video caption text, including hashtags. |
video_info.vv_cnt | View count of the video, returned as a string. |
video_info.like_cnt / comment_cnt / share_cnt / collect_cnt | Counts of likes, comments, shares and collects. Values are strings. |
video_info.interact_cnt / interact_rate | Total interaction count and the interaction rate of the video. |
video_info.finish_rate | Finish rate of the video as a decimal fraction, for example 0.1386. |
video_info.duration | Video length. The value 8.01 is a number. |
video_info.create_time | Creation time as a Unix timestamp string, in seconds. |
video_info.music_info.title / author / music_id | Name, author and ID of the sound used in the video. |
author_info.name / author_id / core_user_id | Name of the creator and the creator's IDs. |
author_info.follower / city / gender | Follower count (string), city and gender code of the creator. |
item_id is the numeric Douyin video ID, such as 7372484719365098803. It also appears in the video_info.url share link.author_info.author_id with Douyin Xingtu Author Base Info to get more on the creator.$0.002 per successful call. Failed calls are not charged.
開始建置
具備統一驗證與用量追蹤的平台 API 端點。
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/item-report-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"item_id": "7372484719365098803"
}'請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
item_idstring必填Video (item) ID
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
尚未發布已儲存回應。請在 Playground 中執行 API 以檢視其回應。
探索更多
| 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/item-report-detail。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次 $0.002,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
必要:item_id (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
不需要。Douyin Item Report Detail 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Douyin API 存取權。