o_author_idstringbắt buộc
Creator ID
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-convert-videos-or-productsReturns conversion details for a creator's videos or associated products on Douyin Xingtu. Filter by creator ID, item type, time range tier, and industry category.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
Returns conversion details for one creator on Douyin Xingtu. With detail_type set to 1 (the default) it lists the creator's videos with click, sales and engagement stats. With 2 it lists associated products. The only required input is the creator ID in o_author_id.
industry_id to see conversion in one product category.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-convert-videos-or-products" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"o_author_id": "7589271892177518598"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
o_author_id | string | Yes | Creator ID |
detail_type | integer | No | Detail type, 1=videos, 2=products, default 1 |
industry_id | integer | No | Industry ID, 0=unlimited, default 0 |
page | integer | No | Page number, default 1 |
platform_channel | integer | No | Platform channel, default 1 |
platform_source | integer | No | Platform source, default 1 |
time_range | integer | No | Time range tier, default 2 |
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.0095,
"component_click_cnt": "2",
"gpm": "0",
"gpm_range": "0",
"industry_id": 1901,
"item_pay_amt": "0",
"item_pay_amt_range": "0",
"item_stats": {
"author_id": "1113181577281568",
"cover_uri": "tos-cn-i-dy/ebbf065864914a1e8aa0768fb2a44a0b",
"create_time": "1792826328",
"duration": 100.101,
"id": "7700087804163853610",
"stats": {
"avg_watch_dura": "0",
"comment_cnt": "59",
"favorite_cnt": "32",
"finish_rate": 0.0055,
"interact_rate": 0.00240234896343091,
"like_cnt": "282",
"share_cnt": "10",
"watch_cnt": "146107"
},
"title": "预估到手2219起 蚂蚁电竞 ANT272ZQE镜面屏来了 #京东1111电脑抢先购#电脑以旧换新#蚂蚁电竞ANT272ZQE#显示器推荐",
"url": "https://www.iesdouyin.com/share/video/7700087804163853610/?region=CN&mid=7700087…"
},
"prod_list": []
}
]
}
| Field | Meaning |
|---|---|
video_list[].item_stats.id | ID of the video, as a string. |
video_list[].item_stats.title | Video caption, including its hashtags. |
video_list[].item_stats.url | Share link to the video on Douyin. |
video_list[].item_stats.create_time | Video creation time as a Unix timestamp in seconds, returned as a string. |
video_list[].click_rate / video_list[].component_click_cnt | Click rate of the video and the number of clicks on its attached component. Both come from the video's conversion record. |
video_list[].gpm / video_list[].item_pay_amt | Sales figures for the video, returned as strings. Both are 0 in this example. |
video_list[].industry_id | ID of the industry category the video is tied to. |
video_list[].item_stats.stats.watch_cnt | Number of views of the video. |
video_list[].item_stats.stats.like_cnt / video_list[].item_stats.stats.comment_cnt / video_list[].item_stats.stats.share_cnt / video_list[].item_stats.stats.favorite_cnt | Counts of likes, comments, shares and favorites on the video. |
video_list[].item_stats.stats.finish_rate / video_list[].item_stats.stats.interact_rate | Completion rate and interaction rate of the video, as decimal fractions. |
pagination.has_more / pagination.total_count | Whether another page exists and the total number of records. |
o_author_id. If you only have a Douyin ID, call Douyin XingTu kolId by Douyin ID first.page to move through results. pagination.limit was 10 in the example, and has_more tells you when to stop.prod_list is an empty list inside each video entry in this example. Set detail_type to 2 to get product details.$0.002 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-convert-videos-or-products" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"o_author_id": "7589271892177518598"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
o_author_idstringbắt buộcCreator ID
detail_typeintegerDetail type, 1=videos, 2=products, default 1
industry_idintegerIndustry ID, 0=unlimited, default 0
pageintegerPage number, default 1
platform_channelintegerPlatform channel, default 1
platform_sourceintegerPlatform source, default 1
time_rangeintegerTime range tier, default 2
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Douyin | $0.002 mỗi lần gọi | JSON |
Douyin | $0.002 mỗi lần gọi | JSON |
Douyin | $0.002 mỗi lần gọi | JSON |
Douyin | $0.01 mỗi lần gọi | JSON |
Douyin | $0.003 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-convert-videos-or-products với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
$0.002 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
Bắt buộc: o_author_id (string). Tùy chọn: detail_type (integer), industry_id (integer), page (integer), platform_channel (integer), platform_source (integer) và time_range (integer). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Không. Douyin Xingtu Creator Conversion Details chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Douyin.