oAuthorIdstringआवश्यक
Author's unique ID.
https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-convert-videos-or-productsList Douyin Creator Marketplace (Xingtu) conversion-related videos or products for a creator, with industry, period, resource-type, and page filters. Use it to review commerce examples before creator selection.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Returns the videos or products linked to a creator's commerce results on Douyin Creator Marketplace (Xingtu). It needs the creator's oAuthorId. You can filter by platform type, industry, time range and resource type.
industryId.detailType to PRODUCT to see the products tied to the creator's sales.DAY_30 and DAY_90 windows to see how recent commerce work differs from the longer period.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-convert-videos-or-products" \
-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 ID. |
detailType | string | No | Resource type. |
industryId | string | No | Industry category. |
page | integer | No | Page number. |
platform | string | No | Platform type. |
range | string | No | Time range. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"base_resp": {
"status_code": 0,
"status_message": ""
},
"pagination": {
"has_more": false,
"limit": 10,
"page": 1,
"total_count": 1
},
"video_list": [
{
"click_rate": 0,
"component_click_cnt": "0",
"gpm": "0",
"gpm_range": "0",
"industry_id": 1930,
"item_pay_amt": "0",
"item_pay_amt_range": "0",
"item_stats": {
"author_id": "66598046050",
"cover_uri": "tos-cn-i-dy/64c6cb23275c44adba8a6f1dfbbe1525",
"create_time": "1793421043",
"duration": 235.034,
"id": "7702648112405384486",
"stats": {
"avg_watch_dura": "0",
"comment_cnt": "84",
"favorite_cnt": "33086",
"finish_rate": 0.0056,
"interact_rate": 0.01983214632537254,
"like_cnt": "429130",
"share_cnt": "42867",
"watch_cnt": "23803828"
},
"title": "只用清水洗脸、缺乏护肤知识、选护肤品犯难……困扰不少男士的护肤难题如何解?秋冬时节,跟着总台主持人杨帆学护肤小技巧,一起长知识!#海洋至尊",
"url": "https://www.iesdouyin.com/share/video/7702648112405384486/?region=CN&mid=7702648…"
},
"prod_list": []
}
]
}
| Field | Meaning |
|---|---|
video_list[] | One commerce-related video record. Each entry holds sales figures, the video details in item_stats, and a product list in prod_list. |
video_list[].gpm / gpm_range | GPM value for the video and its range value. Both are strings, and both are 0 in this sample. |
video_list[].item_pay_amt / item_pay_amt_range | Payment amount tied to the video and its range value. Both are strings, and both are 0 in this sample. |
video_list[].click_rate / component_click_cnt | Click rate and click count for the video's commerce component. |
video_list[].industry_id | Numeric ID of the industry the video belongs to. |
video_list[].prod_list | Products linked to the video. It is an empty list in this sample. |
video_list[].item_stats.title / url | Video title with its hashtags, and a share link to the video. |
video_list[].item_stats.id / author_id / create_time / duration | Video ID, creator ID, creation time as a Unix timestamp string, and video length as a number. |
video_list[].item_stats.stats.watch_cnt / like_cnt / comment_cnt / share_cnt / favorite_cnt | Counts of views, likes, comments, shares and favorites for the video. |
video_list[].item_stats.stats.finish_rate / interact_rate / avg_watch_dura | Completion rate, interaction rate and average watch duration. |
oAuthorId is the only required parameter. Defaults are platform=SHORT_VIDEO, industryId=ALL, range=DAY_30 and detailType=VIDEO.page. The pagination object returns page, limit, total_count and has_more.$0.021429 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/data-sp-author-convert-videos-or-products" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"range": "DAY_30",
"platform": "SHORT_VIDEO",
"oAuthorId": "6870161898013196295",
"detailType": "VIDEO",
"industryId": "ALL"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
oAuthorIdstringआवश्यकAuthor's unique ID.
platformstringPlatform type.
डिफ़ॉल्ट: "SHORT_VIDEO"
संभावित मान: SHORT_VIDEO, LIVE_STREAMING, PICTURE_TEXT, SHORT_DRAMA
industryIdstringIndustry category.
डिफ़ॉल्ट: "ALL"
संभावित मान: ALL, ELECTRONICS_AND_APPLIANCES, SHOPPING, FOOD_AND_BEVERAGE, CLOTHING_AND_ACCESSORIES, HEALTHCARE_AND_MEDICAL, MEDICAL_INSTITUTIONS, HOME_AND_BUILDING_MATERIALS, LOCAL_SERVICES, BUSINESS_SERVICES, CULTURE_SPORTS_ENTERTAINMENT, BEAUTY_SERVICES, REAL_ESTATE, EDUCATION_AND_TRAINING, TRAVEL_AND_TOURISM, PUBLIC_SERVICES, GAMES, RETAIL, TRANSPORTATION_EQUIPMENT, AUTOMOTIVE, AGRICULTURE_FORESTRY_FISHERY, CHEMICAL_AND_ENERGY, ELECTRONICS_AND_ELECTRICAL, MACHINERY_EQUIPMENT, MEDIA_AND_INFORMATION, LOGISTICS, TELECOMMUNICATIONS, FINANCIAL_SERVICES, CATERING_SERVICES, SOFTWARE_TOOLS, FRANCHISING_AND_INVESTMENT, BEAUTY_AND_COSMETICS, MOTHER_BABY_AND_PET, DAILY_CHEMICALS, PHYSICAL_BOOKS, SOCIAL_AND_COMMUNICATION, CULTURAL_SUPPLIES, SPORTS_OUTDOOR
rangestringTime range.
डिफ़ॉल्ट: "DAY_30"
संभावित मान: DAY_30, DAY_90
detailTypestringResource type.
डिफ़ॉल्ट: "VIDEO"
संभावित मान: VIDEO, PRODUCT
pageintegerPage number.
डिफ़ॉल्ट: 1
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Douyin | $0.021429 प्रति कॉल | JSON |
Douyin | $0.021429 प्रति कॉल | JSON |
Douyin | $0.021429 प्रति कॉल | JSON |
Douyin | $0.021429 प्रति कॉल | JSON |
Douyin | $0.071429 प्रति कॉल | JSON |
Douyin | $0.021429 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-convert-videos-or-products पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.021429 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: oAuthorId (string)। वैकल्पिक: platform (SHORT_VIDEO, LIVE_STREAMING, PICTURE_TEXT, SHORT_DRAMA में से एक), industryId (ALL, ELECTRONICS_AND_APPLIANCES, SHOPPING, FOOD_AND_BEVERAGE, CLOTHING_AND_ACCESSORIES, HEALTHCARE_AND_MEDICAL, MEDICAL_INSTITUTIONS, HOME_AND_BUILDING_MATERIALS, LOCAL_SERVICES, BUSINESS_SERVICES, CULTURE_SPORTS_ENTERTAINMENT, BEAUTY_SERVICES, REAL_ESTATE, EDUCATION_AND_TRAINING, TRAVEL_AND_TOURISM, PUBLIC_SERVICES, GAMES, RETAIL, TRANSPORTATION_EQUIPMENT, AUTOMOTIVE, AGRICULTURE_FORESTRY_FISHERY, CHEMICAL_AND_ENERGY, ELECTRONICS_AND_ELECTRICAL, MACHINERY_EQUIPMENT, MEDIA_AND_INFORMATION, LOGISTICS, TELECOMMUNICATIONS, FINANCIAL_SERVICES, CATERING_SERVICES, SOFTWARE_TOOLS, FRANCHISING_AND_INVESTMENT, BEAUTY_AND_COSMETICS, MOTHER_BABY_AND_PET, DAILY_CHEMICALS, PHYSICAL_BOOKS, SOCIAL_AND_COMMUNICATION, CULTURAL_SUPPLIES, SPORTS_OUTDOOR में से एक), range (DAY_30, DAY_90 में से एक), detailType (VIDEO, PRODUCT में से एक) और page (integer)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Douyin Xingtu Conversion Resources SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Douyin API access के लिए आवेदन करने की आवश्यकता नहीं है।