oAuthorIdstringआवश्यक
Xingtu author ID
https://api.sandbase.ai/v1/api/douyin/xingtu/author-homepage-videos-v1Get Author Homepage Videos V1 on Douyin. Returns the platform data as structured JSON.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Returns a page of videos from a Douyin author's Xingtu homepage, with title, engagement counts, and rates for each video. It needs the Xingtu author ID in oAuthorId.
finish_rate and interact_rate across an author's videos to find the content that holds attention best.pagination.videoType to check how each type performs.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu/author-homepage-videos-v1" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"oAuthorId": "7386881810501730341", "page": 1, "videoType": "ALL", "onlyAssign": false}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
oAuthorId | string | Yes | Xingtu author ID |
onlyAssign | boolean | No | Only return assigned videos |
page | integer | No | Page number, starts from 1, 20 items per page |
videoType | string | No | PERSONAL/XINGTU / Traffic type: ALL/PERSONAL/XINGTU |
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": "2376",
"content_theme_labels": [],
"cover_uri": "tos-cn-i-0813c000-ce/oUKnEYF9AgQvhS5dJADAIyue7CVg7FDBAeECfU",
"create_time": "1792928944",
"duration": 761.334,
"finish_rate": 0.116147,
"interact_rate": 0.063783,
"item_id": "7700571178000135673",
"like_cnt": "234612",
"title": "在大量的聊天中发现了少量的化妆技巧 #vlog #宝妈 #发疯文学 #精神状态 #化妆",
"url": "https://www.iesdouyin.com/share/video/7700571178000135673/?region=CN&mid=7700571…",
"video_id": "v2800fgi0000dbeumffog65m66333310"
}
],
"pagination": {
"has_more": true,
"limit": 20,
"page": 1,
"total_count": 55
}
}
| Field | Meaning |
|---|---|
items[].item_id / items[].video_id | Identifiers for the video. item_id is a numeric string that also appears in the share url. video_id is a separate string ID. |
items[].title | Video caption, including its hashtags. |
items[].create_time | Creation time of the video as a Unix timestamp in seconds, returned as a string. |
items[].duration | Length of the video. The values look like seconds (for example 761.334). |
items[].watch_cnt / items[].like_cnt / items[].comment_cnt | View, like and comment counts for the video. They are returned as strings. |
items[].finish_rate / items[].interact_rate | Completion rate and interaction rate for the video, as decimals (for example 0.116147). |
items[].url | Share link to the video on Douyin. |
items[].cover_uri | Path of the video cover image. content_theme_labels lists theme labels and can be empty. |
pagination.page / pagination.limit | Current page number and the number of items per page. |
pagination.has_more / pagination.total_count | has_more shows whether another page exists. total_count is the total number of videos for this query. |
page while pagination.has_more is true.videoType accepts ALL, PERSONAL or XINGTU. Set onlyAssign to true to return only assigned videos.$0.02 per successful call. Failed calls are not charged.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu/author-homepage-videos-v1" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"oAuthorId": "7386881810501730341",
"videoType": "ALL",
"onlyAssign": false
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
oAuthorIdstringआवश्यकXingtu author ID
pageintegerPage number, starts from 1, 20 items per page
डिफ़ॉल्ट: 1
videoTypestringPERSONAL/XINGTU / Traffic type: ALL/PERSONAL/XINGTU
डिफ़ॉल्ट: "ALL"
onlyAssignbooleanOnly return assigned videos
डिफ़ॉल्ट: false
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Douyin | $0.02 प्रति कॉल | JSON |
Douyin | $0.02 प्रति कॉल | JSON |
Douyin | $0.02 प्रति कॉल | JSON |
Douyin | $0.02 प्रति कॉल | JSON |
Douyin | $0.02 प्रति कॉल | JSON |
Douyin | $0.02 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/douyin/xingtu/author-homepage-videos-v1 पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.02 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: oAuthorId (string)। वैकल्पिक: page (integer), videoType (string) और onlyAssign (boolean)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Douyin Author Homepage Videos V1 SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Douyin API access के लिए आवेदन करने की आवश्यकता नहीं है।