o_author_idstringwajib
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.
Output Anda akan muncul di sini
Lengkapi input, lalu klik 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.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
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"
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
o_author_idstringwajibCreator 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
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
Belum ada respons tersimpan yang dipublikasikan. Jalankan API di Playground untuk melihat responsnya.
Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
Douyin | $0.002 per panggilan | JSON |
Douyin | $0.002 per panggilan | JSON |
Douyin | $0.002 per panggilan | JSON |
Douyin | $0.01 per panggilan | JSON |
Douyin | $0.003 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-convert-videos-or-products dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.002 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Wajib: o_author_id (string). Opsional: detail_type (integer), industry_id (integer), page (integer), platform_channel (integer), platform_source (integer) dan time_range (integer). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. Douyin Xingtu Creator Conversion Details berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Douyin secara terpisah.