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.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
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 को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
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 के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Douyin Video search V3यह API Douyin | $0.01 प्रति कॉल | JSON |
Douyin | $0.01 प्रति कॉल | JSON |
Douyin | $0.01 प्रति कॉल | JSON |
Douyin | $0.01 प्रति कॉल | JSON |
Douyin | $0.01 प्रति कॉल | JSON |
Douyin | $0.01 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/douyin/search/video-search-v3 पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.01 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
कोई parameters आवश्यक नहीं हैं। वैकल्पिक: query (string), date_type (integer), label_type (integer) और duration_type (integer)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Douyin Video search V3 SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Douyin API access के लिए आवेदन करने की आवश्यकता नहीं है।