querystring
Search keyword
ค่าเริ่มต้น: "美食"
https://api.sandbase.ai/v1/api/douyin/search/video-search-v3Fetch video search V3 on Douyin. Returns the platform data as structured JSON.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Searches Douyin videos by keyword and returns a list of matching videos with the author, like count, follower count, duration and a link to each video. You send a query and can filter by publish date, video type and duration.
date_type to 3, 7 or 30.label_type to 1.duration_type.nickname and fans.curl -X POST "https://api.sandbase.ai/v1/api/douyin/search/video-search-v3" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "美食", "date_type": 0, "label_type": 0, "duration_type": 0}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
date_type | integer | No | Publish date filter: 0=any, 3=last 3 days, 7=last 7 days, 30=last 30 days |
duration_type | integer | No | Duration filter: 0=any, 1=0-15s, 6=15-60s, 7=60-120s, 8=120-180s, 9=over 180s |
label_type | integer | No | Video type filter: 0=any, 1=low-follower hit, 2=high completion rate, 3=high follower growth, 4=high like rate |
query | string | No | Search keyword |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": [
{
"avatarUrl": "https://p3-byteindex-sign.byteimg.com/aweme-avatar/tos-cn-i-0813c000-ce_osD7MQgO…",
"createTime": "2026-10-30 23:34:15",
"duration": 72,
"fans": 13248,
"index": "657817",
"isHighFansRiseRate": 0,
"isHighLikeRate": 1,
"isHighPlayOverRate": 0,
"isLowFansButHot": 1,
"itemId": "7702484601909857590",
"likes": "226165",
"nickname": "明食记"
}
]
}
| Field | Meaning |
|---|---|
data[].itemId | ID of the video. Use it to look up the same video in other Douyin APIs. |
data[].url | Direct link to the video page on douyin.com. |
data[].title | Video caption, including its hashtags. |
data[].nickname / data[].fans | Display name of the author and the author's follower count. |
data[].likes | Like count of the video. It arrives as a string. |
data[].duration | Length of the video. The value is a number, such as 72 or 274. |
data[].createTime | Publish time as a YYYY-MM-DD HH:MM:SS string. |
data[].isLowFansButHot / data[].isHighLikeRate / data[].isHighPlayOverRate / data[].isHighFansRiseRate | Flags with the value 0 or 1. They match the label_type filters: low-follower hit, high like rate, high completion rate and high follower growth. |
data[].index | Numeric score returned as a string for each video. The response does not explain how it is calculated. |
data[].avatarUrl / data[].thumbnail | Image links for the author's avatar and the video cover. The links carry an x-expires value, so they may stop working. |
label_type values: 0 any, 1 low-follower hit, 2 high completion rate, 3 high follower growth, 4 high like rate.duration_type values: 0 any, 1 0-15s, 6 15-60s, 7 60-120s, 8 120-180s, 9 over 180s.data.itemId to Douyin Video Detail. Other search versions are Douyin Video Search (V1) and Douyin Video search V4.$0.01 per successful call. Failed calls are not charged.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/douyin/search/video-search-v3" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "美食",
"date_type": 0,
"label_type": 0,
"duration_type": 0
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
querystringSearch keyword
ค่าเริ่มต้น: "美食"
date_typeintegerPublish date filter: 0=any, 3=last 3 days, 7=last 7 days, 30=last 30 days
ค่าเริ่มต้น: 0
label_typeintegerVideo type filter: 0=any, 1=low-follower hit, 2=high completion rate, 3=high follower growth, 4=high like rate
ค่าเริ่มต้น: 0
duration_typeintegerDuration filter: 0=any, 1=0-15s, 6=15-60s, 7=60-120s, 8=120-180s, 9=over 180s
ค่าเริ่มต้น: 0
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Douyin Video search V3API นี้ Douyin | $0.01 ต่อการเรียก | JSON |
Douyin | $0.01 ต่อการเรียก | JSON |
Douyin | $0.01 ต่อการเรียก | JSON |
Douyin | $0.01 ต่อการเรียก | JSON |
Douyin | $0.01 ต่อการเรียก | JSON |
Douyin | $0.01 ต่อการเรียก | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/douyin/search/video-search-v3 โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.01 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: query (string), date_type (integer), label_type (integer) และ duration_type (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Douyin Video search V3 ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก