codeinteger
Ranking type code
Mặc định: 1
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/ranking-list-dataReturns Douyin XingTu author business ranking records by type, date, and category qualifier. It provides author rankings, performance scores, and order metrics.
[
{
"data": {
"authors": [
{
"attribute_datas": {
"author_id": "7146074596666507300",
"author_status": "1",
"avatar_uri": "https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_2cd7dc35aca4573e1d9cbb477d51587f.jpeg?from=3782654143",
"city": "",
"core_user_id": "3777519688105684",
"cpm": "36",
"finish_order_cnt": "> 20",
"follower": "719384",
"gender": "1",
"is_blue": "0",
"item_order_rate": "0.0546",
"modify_time": "1769932545",
"nick_name": "AI学练平板专场",
"province": "",
"repurchase_rate": "> 0.75",
"score": "0.58994708994709",
"tags_relation": "{\"科技数码\":[\"科技\"]}",
"v2_first_tag_name": "科技",
"vv_avg": "126069"
},
"is_new": false,
"items": [
{
"item_id": "7661088907202776354",
"video_tag": 3,
"vv": 8506
},
{
"item_id": "7659576184547724587",
"video_tag": 3,
"vv": 5119
},
{
"item_id": "7662948997446913332",
"video_tag": 5,
"vv": 5001
},
"… 3 more items in the full response"
],
"old_rank": "1",
"rank": "1",
"score": 0.58994708994709,
"star_id": "7146074596666507300"
},
{
"attribute_datas": {
"author_id": "7589271892177518598",
"author_status": "1",
"avatar_uri": "https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-i-0813c000-ce_oYELXPAPMdBIB6cEqBKiDijHbNBa3VAHAAkAZ.jpeg?from=3782654143",
"city": "长春",
"core_user_id": "1113181577281568",
"cpm": "59",
"finish_order_cnt": "> 20",
"follower": "329227",
"gender": "2",
"is_blue": "0",
"item_order_rate": "0.8421",
"modify_time": "1769932545",
"nick_name": "芯科技Lady",
"province": "",
"repurchase_rate": "> 0.75",
"score": "0.541005291005291",
"tags_relation": "{\"随拍\":[\"随拍\"]}",
"v2_first_tag_name": "随拍",
"vv_avg": "14102"
},
"is_new": true,
"items": [
{
"item_id": "7627814219454763507",
"video_tag": 3,
"vv": 105237
},
{
"item_id": "7668183950774390062",
"video_tag": 3,
"vv": 93354
},
{
"item_id": "7615903597938642191",
"video_tag": 4,
"vv": 8029
},
"… 5 more items in the full response"
],
"old_rank": "0",
"rank": "2",
"score": 0.541005291005291,
"star_id": "7589271892177518598"
},
{
"attribute_datas": {
"author_id": "7563178226429263898",
"author_status": "1",
"avatar_uri": "https://p26.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-i-c9aec8xkvj_2333f15a47be424bb09400f06f6dab1a.jpeg?from=3782654143",
"city": "",
"core_user_id": "106488869781",
"cpm": "65",
"finish_order_cnt": "> 20",
"follower": "189810",
"gender": "1",
"is_blue": "0",
"item_order_rate": "0.9615",
"modify_time": "1769932545",
"nick_name": "艾博莱克cyber",
"province": "",
"repurchase_rate": "> 0.75",
"score": "0.533068783068783",
"tags_relation": "{\"影视娱乐\":[\"影视混剪\"]}",
"v2_first_tag_name": "电影",
"vv_avg": "12850"
},
"is_new": true,
"items": [
{
"item_id": "7628494900389148337",
"video_tag": 3,
"vv": 205491
},
{
"item_id": "7645674487966387508",
"video_tag": 3,
"vv": 138616
},
{
"item_id": "7628898090401654629",
"video_tag": 4,
"vv": 253377
},
"… 5 more items in the full response"
],
"old_rank": "0",
"rank": "3",
"score": 0.533068783068783,
"star_id": "7563178226429263898"
},
"… 97 more items in the full response"
],
"base_resp": {
"status_code": 0,
"status_message": ""
},
"info": {
"code": 1,
"description": "【榜单规则】:根据创作者在所选周期内的星图商单数、复购率计算榜单排名 【上榜达人特点】:星图商单数量多、客户复购率高",
"display_name": "品牌种草·品牌优选榜",
"entry_type": 1,
"modify_time": 1769932545,
"platform_channel": 1,
"ranking_list_factor": 0,
"version": "flow_split"
},
"pagination": {
"has_more": false,
"limit": 100,
"page": 1,
"total_count": 100
}
}
}
]Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.
Returns a Douyin XingTu author ranking list for a ranking type, date, period and category. Each record has the author's rank, score, profile attributes and top videos. All inputs have defaults, so an empty request returns a ranking.
is_new and comparing old_rank with rank.cpm, follower and finish_order_cnt before choosing creators for a campaign.info.description to explain how a list is scored.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/ranking-list-data" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
code | integer | No | Ranking type code |
date | string | No | Date, format YYYYMMDD |
period | integer | No | 7=weekly, 30=monthly |
qualifier | string | No | Category qualifier_id from get_ranking_list_catalog |
version | string | No | flow_split=default for video rankings, base=commonly used for live rankings |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"authors": [
{
"attribute_datas": {
"author_id": "7146074596666507300",
"author_status": "1",
"avatar_uri": "https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_2cd7dc35ac…",
"city": "",
"core_user_id": "3777519688105684",
"cpm": "36",
"finish_order_cnt": "> 20",
"follower": "706656"
},
"is_new": false,
"items": [
{
"item_id": "7661088907202776354",
"video_tag": 3,
"vv": 8507
}
],
"old_rank": "1",
"rank": "1",
"score": 0.58994708994709,
"star_id": "7146074596666507300"
}
],
"base_resp": {
"status_code": 0,
"status_message": ""
},
"info": {
"code": 1,
"description": "【榜单规则】:根据创作者在所选周期内的星图商单数、复购率计算榜单排名 【上榜达人特点】:星图商单数量多、客户复购率高",
"display_name": "品牌种草·品牌优选榜",
"entry_type": 1,
"modify_time": 1769932545,
"platform_channel": 1,
"ranking_list_factor": 0,
"version": "flow_split"
},
"pagination": {
"has_more": false,
"limit": 100,
"page": 1,
"total_count": 100
}
}
| Field | Meaning |
|---|---|
authors[].rank / authors[].old_rank | Current rank and previous rank of the author, both as strings. An old_rank of 0 appears together with is_new set to true. |
authors[].score | Ranking score of the author. Higher scores rank higher. |
authors[].star_id / authors[].attribute_datas.author_id | XingTu ID of the author. Both fields hold the same value in this response. |
authors[].attribute_datas.core_user_id | Numeric user ID stored with the author's attributes. |
authors[].attribute_datas.follower | Follower count of the author, as a string. |
authors[].attribute_datas.cpm | CPM value for the author, as a string. |
authors[].attribute_datas.finish_order_cnt | Completed order count, shown as a range such as > 20. |
authors[].items[].item_id / authors[].items[].vv | ID of a listed video and its vv value. |
info.display_name / info.description | Name of the ranking list and the text of its ranking rule. |
pagination.has_more / pagination.total_count | Shows whether more records exist and how many records the list holds in total. |
qualifier value from Douyin Xingtu Ranking List Catalog and use the same catalog to find the code for a ranking type.period to 7 for weekly or 30 for monthly. Send date as YYYYMMDD.flow_split in version for video rankings and base for live rankings.star_id to Douyin Xingtu Author Base Info for the full creator profile.$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/ranking-list-data" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"code": 1,
"date": "20260131",
"period": 30,
"version": "flow_split",
"qualifier": "1901"
}'Đặ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.
codeintegerRanking type code
Mặc định: 1
datestringDate, format YYYYMMDD
Mặc định: "20260131"
periodinteger7=weekly, 30=monthly
Mặc định: 30
qualifierstringCategory qualifier_id from `get_ranking_list_catalog`
Mặc định: "1901"
versionstring`flow_split`=default for video rankings, `base`=commonly used for live rankings
Mặc định: "flow_split"
Đâ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.
[
{
"data": {
"authors": [
{
"attribute_datas": {
"author_id": "7146074596666507300",
"author_status": "1",
"avatar_uri": "https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_2cd7dc35aca4573e1d9cbb477d51587f.jpeg?from=3782654143",
"city": "",
"core_user_id": "3777519688105684",
"cpm": "36",
"finish_order_cnt": "> 20",
"follower": "719384",
"gender": "1",
"is_blue": "0",
"item_order_rate": "0.0546",
"modify_time": "1769932545",
"nick_name": "AI学练平板专场",
"province": "",
"repurchase_rate": "> 0.75",
"score": "0.58994708994709",
"tags_relation": "{\"科技数码\":[\"科技\"]}",
"v2_first_tag_name": "科技",
"vv_avg": "126069"
},
"is_new": false,
"items": [
{
"item_id": "7661088907202776354",
"video_tag": 3,
"vv": 8506
},
{
"item_id": "7659576184547724587",
"video_tag": 3,
"vv": 5119
},
{
"item_id": "7662948997446913332",
"video_tag": 5,
"vv": 5001
},
"… 3 more items in the full response"
],
"old_rank": "1",
"rank": "1",
"score": 0.58994708994709,
"star_id": "7146074596666507300"
},
{
"attribute_datas": {
"author_id": "7589271892177518598",
"author_status": "1",
"avatar_uri": "https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-i-0813c000-ce_oYELXPAPMdBIB6cEqBKiDijHbNBa3VAHAAkAZ.jpeg?from=3782654143",
"city": "长春",
"core_user_id": "1113181577281568",
"cpm": "59",
"finish_order_cnt": "> 20",
"follower": "329227",
"gender": "2",
"is_blue": "0",
"item_order_rate": "0.8421",
"modify_time": "1769932545",
"nick_name": "芯科技Lady",
"province": "",
"repurchase_rate": "> 0.75",
"score": "0.541005291005291",
"tags_relation": "{\"随拍\":[\"随拍\"]}",
"v2_first_tag_name": "随拍",
"vv_avg": "14102"
},
"is_new": true,
"items": [
{
"item_id": "7627814219454763507",
"video_tag": 3,
"vv": 105237
},
{
"item_id": "7668183950774390062",
"video_tag": 3,
"vv": 93354
},
{
"item_id": "7615903597938642191",
"video_tag": 4,
"vv": 8029
},
"… 5 more items in the full response"
],
"old_rank": "0",
"rank": "2",
"score": 0.541005291005291,
"star_id": "7589271892177518598"
},
{
"attribute_datas": {
"author_id": "7563178226429263898",
"author_status": "1",
"avatar_uri": "https://p26.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-i-c9aec8xkvj_2333f15a47be424bb09400f06f6dab1a.jpeg?from=3782654143",
"city": "",
"core_user_id": "106488869781",
"cpm": "65",
"finish_order_cnt": "> 20",
"follower": "189810",
"gender": "1",
"is_blue": "0",
"item_order_rate": "0.9615",
"modify_time": "1769932545",
"nick_name": "艾博莱克cyber",
"province": "",
"repurchase_rate": "> 0.75",
"score": "0.533068783068783",
"tags_relation": "{\"影视娱乐\":[\"影视混剪\"]}",
"v2_first_tag_name": "电影",
"vv_avg": "12850"
},
"is_new": true,
"items": [
{
"item_id": "7628494900389148337",
"video_tag": 3,
"vv": 205491
},
{
"item_id": "7645674487966387508",
"video_tag": 3,
"vv": 138616
},
{
"item_id": "7628898090401654629",
"video_tag": 4,
"vv": 253377
},
"… 5 more items in the full response"
],
"old_rank": "0",
"rank": "3",
"score": 0.533068783068783,
"star_id": "7563178226429263898"
},
"… 97 more items in the full response"
],
"base_resp": {
"status_code": 0,
"status_message": ""
},
"info": {
"code": 1,
"description": "【榜单规则】:根据创作者在所选周期内的星图商单数、复购率计算榜单排名 【上榜达人特点】:星图商单数量多、客户复购率高",
"display_name": "品牌种草·品牌优选榜",
"entry_type": 1,
"modify_time": 1769932545,
"platform_channel": 1,
"ranking_list_factor": 0,
"version": "flow_split"
},
"pagination": {
"has_more": false,
"limit": 100,
"page": 1,
"total_count": 100
}
}
}
]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/ranking-list-data 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ý.
Không có tham số bắt buộc. Tùy chọn: code (integer), date (string), period (integer), qualifier (string) và version (string). 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 Ranking List Data 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.