codeinteger
Ranking type code
默认值: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
}
}
}
]选择一个示例,将其输入和结果加载到 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.
开始构建
具备统一身份验证和使用情况跟踪的平台 API 端点。
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"
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
codeintegerRanking type code
默认值:1
datestringDate, format YYYYMMDD
默认值:"20260131"
periodinteger7=weekly, 30=monthly
默认值:30
qualifierstringCategory qualifier_id from `get_ranking_list_catalog`
默认值:"1901"
versionstring`flow_split`=default for video rankings, `base`=commonly used for live rankings
默认值:"flow_split"
这是该 API 保存的示例响应;查看时不会发起实时请求。
[
{
"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
}
}
}
]探索更多
| API | 价格 | 响应 |
|---|---|---|
Douyin | $0.002 每次调用 | JSON |
Douyin | $0.002 每次调用 | JSON |
Douyin | $0.002 每次调用 | JSON |
Douyin | $0.01 每次调用 | JSON |
Douyin | $0.003 每次调用 | JSON |
Douyin | $0.001 每次调用 | JSON |
问题
向 https://api.sandbase.ai/v1/api/douyin/xingtu-v2/ranking-list-data 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.002,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
无需参数。 可选:code (integer), date (string), period (integer), qualifier (string) 和 version (string)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。Douyin XingTu Ranking List Data 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Douyin API 访问权限。