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.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
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 ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
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 นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| 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 |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-convert-videos-or-products โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.021429 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: 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 และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Douyin Xingtu Conversion Resources ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก