oAuthorIdstringआवश्यक
Author's unique Xingtu ID.
https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-homepage-videosList a Douyin Creator Marketplace (Xingtu) creator's homepage videos with keyword, video-type, assignment, date, and page filters. Use it to review relevant content before campaign selection.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
This API returns a page of videos from a Douyin creator's homepage as listed in Xingtu. It needs the creator's Xingtu ID in oAuthorId. You can narrow the list by keyword, video type, assignment status and publish date.
keyword to check whether they have covered a brand or product topic.XINGTU videos to see the creator's past platform-assigned work.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-homepage-videos" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"oAuthorId": "6870161898013196295"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
oAuthorId | string | Yes | Author's unique Xingtu ID. |
endDate | string | No | End publish date in yyyyMMdd format. The filter ends at 23:59:59 in Asia/Shanghai. |
keyword | string | No | Keyword used to search creator homepage videos. |
onlyAssign | boolean | No | Whether to include only assigned videos. Xingtu usually shows this option when videoType is XINGTU. |
page | integer | No | Page number, starting from 1. |
startDate | string | No | Start publish date in yyyyMMdd format. The filter starts at 00:00:00 in Asia/Shanghai. |
videoType | string | No | Homepage video type filter. |
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": "91",
"content_theme_labels": [],
"cover_uri": "tos-cn-i-dy/643299bf28474b9e9adc28a863baeba6",
"create_time": "1793113313",
"duration": 12.538,
"finish_rate": 0.135421,
"interact_rate": 0.024438,
"item_id": "7701362991266123034",
"like_cnt": "665436",
"title": "网友拍到高速两旁,挂满一块块不一样的“广告牌”……致敬国之栋梁!(来源:@有名 )",
"url": "https://www.iesdouyin.com/share/video/7701362991266123034/?region=CN&mid=7667641…",
"video_id": "v0d00fg10000dbgbp67og65rp7vvjd00"
}
],
"pagination": {
"has_more": true,
"limit": 20,
"page": 1,
"total_count": 2518
}
}
| Field | Meaning |
|---|---|
items[].item_id / items[].video_id | Identifiers for the video. item_id is the numeric ID that also appears in the share url. |
items[].title | Video caption text, including any hashtags and @mentions. |
items[].create_time | Publish time as a Unix timestamp in seconds, returned as a string. |
items[].duration | Video length. The values look like seconds with decimals. |
items[].watch_cnt / items[].like_cnt / items[].comment_cnt | View, like and comment counts for the video. They come back as strings. |
items[].finish_rate / items[].interact_rate | Completion rate and interaction rate for the video, as decimal fractions. |
items[].url | Share link for the video on Douyin. |
items[].cover_uri | Cover image path for the video. |
items[].content_theme_labels | Content theme labels for the video. The list is empty in this sample. |
pagination.has_more / pagination.total_count | has_more tells you whether another page exists. total_count is the total number of matching videos. |
oAuthorId from Douyin Xingtu Creator Search.page to move through results, starting at 1. Each page returned limit 20 items in this sample.startDate and endDate as yyyyMMdd strings. Check base_resp.status_code, where 0 means success.$0.071429 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-v3/aggregator-author-homepage-videos" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"oAuthorId": "6870161898013196295",
"videoType": "ALL",
"onlyAssign": false
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
oAuthorIdstringआवश्यकAuthor's unique Xingtu ID.
pageintegerPage number, starting from 1.
डिफ़ॉल्ट: 1
keywordstringKeyword used to search creator homepage videos.
videoTypestringHomepage video type filter.
डिफ़ॉल्ट: "ALL"
संभावित मान: ALL, PERSONAL, XINGTU
onlyAssignbooleanWhether to include only assigned videos. Xingtu usually shows this option when `videoType` is `XINGTU`.
डिफ़ॉल्ट: false
startDatestringStart publish date in yyyyMMdd format. The filter starts at 00:00:00 in Asia/Shanghai.
endDatestringEnd publish date in yyyyMMdd format. The filter ends at 23:59:59 in Asia/Shanghai.
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Douyin | $0.071429 प्रति कॉल | JSON |
Douyin | $0.021429 प्रति कॉल | JSON |
Douyin | $0.021429 प्रति कॉल | JSON |
Douyin | $0.021429 प्रति कॉल | JSON |
Douyin | $0.021429 प्रति कॉल | JSON |
Douyin | $0.021429 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-homepage-videos पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.071429 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: oAuthorId (string)। वैकल्पिक: page (integer), keyword (string), videoType (ALL, PERSONAL, XINGTU में से एक), onlyAssign (boolean), startDate (string) और endDate (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Douyin Xingtu Creator Homepage Videos SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Douyin API access के लिए आवेदन करने की आवश्यकता नहीं है।