oAuthorIdstringrequerido
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.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
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.
Empiece a construir
Endpoint de la API de la plataforma con autenticación unificada y seguimiento de uso.
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"
}'Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
oAuthorIdstringrequeridoAuthor's unique ID.
platformstringPlatform type.
Valor predeterminado: "SHORT_VIDEO"
Valores posibles: SHORT_VIDEO, LIVE_STREAMING, PICTURE_TEXT, SHORT_DRAMA
industryIdstringIndustry category.
Valor predeterminado: "ALL"
Valores posibles: 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.
Valor predeterminado: "DAY_30"
Valores posibles: DAY_30, DAY_90
detailTypestringResource type.
Valor predeterminado: "VIDEO"
Valores posibles: VIDEO, PRODUCT
pageintegerPage number.
Valor predeterminado: 1
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
No se ha publicado ninguna respuesta guardada. Ejecute la API en Playground para inspeccionar su respuesta.
Explorar más
| API | Precio | Respuesta |
|---|---|---|
Douyin | $0.021429 por llamada | JSON |
Douyin | $0.021429 por llamada | JSON |
Douyin | $0.021429 por llamada | JSON |
Douyin | $0.021429 por llamada | JSON |
Douyin | $0.071429 por llamada | JSON |
Douyin | $0.021429 por llamada | JSON |
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-convert-videos-or-products con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.
$0.021429 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
Requeridos: oAuthorId (string). Opcionales: platform (una de SHORT_VIDEO, LIVE_STREAMING, PICTURE_TEXT, SHORT_DRAMA), industryId (una 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 (una de DAY_30, DAY_90), detailType (una de VIDEO, PRODUCT) y page (integer). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.
No. Douyin Xingtu Conversion Resources funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Douyin por separado.