oAuthorIdstringobligatoire
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.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
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.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
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"
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
oAuthorIdstringobligatoireAuthor's unique ID.
platformstringPlatform type.
Par défaut : "SHORT_VIDEO"
Valeurs possibles : SHORT_VIDEO, LIVE_STREAMING, PICTURE_TEXT, SHORT_DRAMA
industryIdstringIndustry category.
Par défaut : "ALL"
Valeurs possibles : 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.
Par défaut : "DAY_30"
Valeurs possibles : DAY_30, DAY_90
detailTypestringResource type.
Par défaut : "VIDEO"
Valeurs possibles : VIDEO, PRODUCT
pageintegerPage number.
Par défaut : 1
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
Aucune réponse enregistrée n'a été publiée. Exécutez l'API dans Playground pour inspecter sa réponse.
Explorer plus
| API | Prix | Réponse |
|---|---|---|
Douyin Xingtu Conversion ResourcesCette API Douyin | $0.021429 par appel | JSON |
Douyin | $0.021429 par appel | JSON |
Douyin | $0.021429 par appel | JSON |
Douyin | $0.021429 par appel | JSON |
Douyin | $0.071429 par appel | JSON |
Douyin | $0.021429 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-convert-videos-or-products avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
$0.021429 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Obligatoire : oAuthorId (string). Facultatif : platform (l’un de SHORT_VIDEO, LIVE_STREAMING, PICTURE_TEXT, SHORT_DRAMA), industryId (l’un de 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 (l’un de DAY_30, DAY_90), detailType (l’un de VIDEO, PRODUCT) et page (integer). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.
Non. Douyin Xingtu Conversion Resources fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Douyin séparément.