tag_idintegerจำเป็น
Tag id, get from the URL
https://api.sandbase.ai/v1/api/douyin/web/video-channel-resultReturns video listings from a specific Douyin channel page. Requires a channel tag ID and supports pagination through count and refresh index parameters.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Returns a list of videos shown on a Douyin channel page. You pass the numeric channel tag_id, and each item in aweme_list carries the video ID, caption, author and timing data.
author_user_id across the results.curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/video-channel-result" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"tag_id": 2027}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
tag_id | integer | Yes | Tag id, get from the URL |
count | integer | No | Number |
refresh_index | integer | No | Refresh index |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"aweme_list": [
{
"ad_candidates": null,
"ai_follow_images": null,
"anchors": null,
"authentication_token": "MS4wLjAA…",
"author": {
"avatar_thumb": {
"height": 720,
"uri": "100x100/aweme-avatar/tos-cn-i-c9aec8xkvj_3ca9fb3749af4d07a262465e7c671a67",
"url_list": [
"https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-c9aec8xkvj_3ca9f…"
],
"width": 720
},
"cha_list": null,
"common_interest": null,
"cover_url": [
{
"height": 720,
"uri": "c8510002be9a3a61aad2",
"url_list": [
"https://p3-pc-sign.douyinpic.com/obj/c8510002be9a3a61aad2?lk3s=138a59ce&x-expire…"
],
"width": 720
}
],
"custom_verify": "",
"enterprise_verify_reason": "",
"follow_status": 0,
"follower_status": 0
},
"author_user_id": 3732215835919732,
"aweme_control": {
"can_comment": true,
"can_forward": true,
"can_share": true,
"can_show_comment": true
},
"aweme_id": "7702765014096088339",
"aweme_listen_struct": {
"trace_info": "{\"copyright_not_speech\":\"false\",\"copyright_reason\":\"not_intercept\",\"copyright_ta…"
},
"aweme_type": 0,
"can_cache_to_local": true,
"caption": "为什么只有他对我不心动?\n杀手系列正在制作第三集,下周就发,绝对不断更;\n谢谢各位小伙伴们对我的支持;\n故事才刚刚开始,我也一直在细细打磨,希望大家能够喜欢。全…"
}
],
"chime_video_list": null,
"filter_infos": null,
"log_pb": {
"impr_id": "202611031532356C37C8CDD6062EFC2308"
},
"status_code": 0,
"video_cover_image_list": null,
"video_cover_url_list": null
}
| Field | Meaning |
|---|---|
aweme_list | List of videos returned for the channel. Each entry is one video. |
aweme_list[].aweme_id | String ID of the video. Use it to look up the video in other APIs. |
aweme_list[].desc / aweme_list[].caption | Text of the video post, including hashtags and @mentions. caption is the shorter version of the text. |
aweme_list[].create_time | Publish time of the video as a Unix timestamp in seconds. |
aweme_list[].duration | Length of the video. The values look like milliseconds (for example 609409). |
aweme_list[].author_user_id | Numeric ID of the account that posted the video. |
aweme_list[].author.avatar_thumb.url_list[] | URLs of the author's small avatar image. |
aweme_list[].danmaku_control.danmaku_cnt | Number of danmaku (on-screen comments) on the video. |
aweme_list[].chapter_list[] | Chapters for videos that have them. Each has a desc title, a detail summary and a timestamp offset. |
aweme_list[].chapter_abstract | Short text summary of the video content. It appears only on some videos. |
tag_id from the channel page URL on Douyin. The example uses 2027.count to set how many videos to request and refresh_index to page through the channel feed.chapter_list is null on some items and chapter_abstract is missing.aweme_id to Douyin Single Video Details (V1).$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/video-channel-result" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tag_id": 2027
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
tag_idintegerจำเป็นTag id, get from the URL
countintegerNumber
refresh_indexintegerRefresh index
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Douyin Video Channel FeedAPI นี้ Douyin | $0.001 ต่อการเรียก | JSON |
Douyin | $0.001 ต่อการเรียก | JSON |
Douyin | $0.001 ต่อการเรียก | JSON |
Douyin | $0.001 ต่อการเรียก | JSON |
Douyin | $0.001 ต่อการเรียก | JSON |
Douyin | $0.03 ต่อการเรียก | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/douyin/web/video-channel-result โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: tag_id (integer). ตัวเลือก: count (integer) และ refresh_index (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Douyin Video Channel Feed ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก