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 |
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/douyin/xingtu-v2/ranking-list-data。您也可以直接在本頁的 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 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Douyin API 存取權。