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.
您的輸出會顯示在這裡
完成輸入後,點擊執行。
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.
開始建置
具備統一驗證與用量追蹤的平台 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 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_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 的已儲存範例回應;檢視時不會發出即時請求。
尚未發布已儲存回應。請在 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 |
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-convert-videos-or-products。您也可以直接在本頁的 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 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
不需要。Douyin Xingtu Conversion Resources 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Douyin API 存取權。