Weibo Entertainment Ranking
https://api.sandbase.ai/v1/api/weibo/web-v2/entertainment-rankingReturns Weibo entertainment ranking data across entertainment, film, television, and variety shows. Provides current trending topics and media leaderboards.
- 價格
- $0.001美元/次呼叫
- 方法
- POST
- 回應
- JSON
- 參數
- 0 個必填 · 0 個選填
Playground
[
{
"data": {
"band_list": [
{
"category": "剧集",
"channel_type": "1_文娱|文娱c01|文娱招牌热点|作品招牌热点|2_作品|2_情节内容|2_文娱榜|2_公众文娱|2_文娱作品|2_非明星文娱作品|3_讨论|3_权威媒体主持|3_社会核心媒体主持|GRADE_A|GREAT_S_plus|招牌热点|招牌热点达成|招牌热点扩充|讨论c01",
"circle_hot": 6158168,
"co_info": {},
"cooperate": 0,
"display_flag": "",
"emoticon": "",
"ever_in_board": "0",
"expand": 0,
"flag": 1,
"grade": "A",
"hot_num": 6158168,
"hot_rank_position": 1,
"icon_desc": "新",
"icon_desc_color": "#ff3852",
"imp_support": 0,
"imp_support_time": 0,
"is_new": 1,
"loc_page": 5,
"main_board_flag": 0,
"manual_grade": "E",
"mid": "",
"muse_mark": "1",
"note": "金鹰奖获奖名单",
"num": 6158168,
"on_main_board_time": 0,
"onboard_time": 1790687387,
"out_index": 5,
"rank": 0,
"realpos": 1,
"scene_flag": 0,
"small_icon_desc": "新",
"small_icon_desc_color": "#ff3852",
"star_name": {},
"subject_querys": {
"第33届金鹰奖颁奖典礼": {
"subject_trend": "第33届金鹰奖",
"subject_type": "event"
}
},
"topic_flag": 0,
"topic_image": "",
"word": "金鹰奖获奖名单",
"word_scheme": "金鹰奖获奖名单"
},
{
"category": "剧集",
"channel_type": "1_文娱|文娱c01|文娱招牌热点|作品招牌热点|2_作品|2_情节内容|2_文娱榜|2_公众文娱|2_正能量|2_文娱作品|2_明星主体|2_宣发物料|GRADE_A|GREAT_S_plus|招牌热点|招牌热点达成|招牌热点扩充",
"circle_hot": 2585641,
"co_info": {},
"cooperate": 0,
"display_flag": "",
"emoticon": "",
"ever_in_board": "0",
"expand": 0,
"flag": 1,
"grade": "A",
"hot_num": 2585641,
"hot_rank_position": 2,
"icon_desc": "新",
"icon_desc_color": "#ff3852",
"imp_support": 0,
"imp_support_time": 0,
"is_new": 1,
"loc_page": 4,
"main_board_flag": 0,
"manual_grade": "E",
"mid": "",
"muse_mark": "1",
"note": "宋佳金鹰视后",
"num": 2585641,
"on_main_board_time": 0,
"onboard_time": 1790688526,
"out_index": 5,
"rank": 1,
"realpos": 2,
"scene_flag": 0,
"small_icon_desc": "新",
"small_icon_desc_color": "#ff3852",
"star_name": {},
"subject_querys": {
"宋佳": {
"subject_namelist": "-",
"subject_source": "machine",
"subject_type": "明星人物"
},
"金鹰奖": {
"subject_namelist": "-",
"subject_source": "machine",
"subject_type": "影视综艺—剧集"
}
},
"topic_flag": 1,
"topic_image": "",
"word": "宋佳金鹰视后",
"word_scheme": "#宋佳金鹰视后#"
},
{
"category": "艺人",
"channel_type": "1_文娱|文娱c01|文娱招牌热点|艺人招牌热点|2_艺人|2_文娱榜|2_公众文娱|2_明星主体|4_视频作品|GRADE_A|招牌热点|招牌热点达成|招牌热点扩充",
"circle_hot": 1418472,
"co_info": {},
"cooperate": 0,
"display_flag": "",
"emoticon": "",
"ever_in_board": "0",
"expand": 0,
"flag": 2,
"grade": "A",
"hot_num": 1418472,
"hot_rank_position": 3,
"icon_desc": "热",
"icon_desc_color": "#ff9406",
"imp_support": 0,
"imp_support_time": 0,
"is_hot": 1,
"loc_page": 4,
"main_board_flag": 0,
"manual_grade": "E",
"mid": "",
"muse_mark": "2",
"note": "赵丽颖身体到底怎么了",
"num": 1418472,
"on_main_board_time": 0,
"onboard_time": 1790683304,
"out_index": 5,
"rank": 2,
"realpos": 3,
"scene_flag": 0,
"small_icon_desc": "热",
"small_icon_desc_color": "#ff9406",
"star_name": {},
"subject_querys": {
"赵丽颖": {
"subject_namelist": "-",
"subject_source": "machine",
"subject_type": "明星人物"
}
},
"topic_flag": 1,
"topic_image": "",
"word": "赵丽颖身体到底怎么了",
"word_scheme": "#赵丽颖身体到底怎么了#"
},
"… 47 more items in the full response"
]
}
}
]範例
選擇一個範例,將其輸入與結果載入 playground。
API README
Weibo Entertainment Ranking API
Returns the current Weibo entertainment ranking as a list of trending topics. Each entry has a topic title, a heat number, a category such as artist or TV series, and its position. The API takes no input.
Use cases
- Show the top entertainment topics on Weibo right now in a dashboard or daily digest.
- Track which artists or TV series appear in the ranking by reading
categoryandsubject_querys. - Compare
hot_numbetween topics to see which entertainment story draws the most attention. - Collect
word_schemevalues to build a list of hashtags to search or monitor.
Request
curl -X POST "https://api.sandbase.ai/v1/api/weibo/web-v2/entertainment-ranking" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"band_list": [
{
"category": "艺人",
"emoticon": "",
"flag": 2,
"hot_num": 1437012,
"icon_desc": "热",
"icon_desc_color": "#ff9406",
"is_hot": 1,
"loc_page": 4,
"m_category": "艺人",
"note": "曝陈奕迅疑女儿被绿与黄泽林绝交",
"num": 1437012,
"rank": 0
}
]
}
Response fields
| Field | Meaning |
|---|---|
band_list[] | One ranked entertainment topic. The list is ordered by rank. |
band_list[].word / note | The topic title text. In the sample, both fields hold the same text. |
band_list[].word_scheme | The topic written as a Weibo hashtag, wrapped in # for hashtag topics. Plain topics have no #. |
band_list[].hot_num / num | The heat number of the topic. A larger number means a higher position in the sample. |
band_list[].rank / realpos | Position of the topic in the list. rank starts at 0 and realpos starts at 1. |
band_list[].category / m_category | The topic category label, for example 艺人 (artist) or 剧集 (TV series). |
band_list[].subject_querys | Related subjects for the topic. Each key is a subject name, with subject_trend as the related trend text and subject_type as the subject type such as 综艺, 剧集 or event. |
band_list[].icon_desc / icon_desc_color | Badge label and badge color for the topic, such as 热 (hot) in orange. Only some entries have them. |
band_list[].is_hot / topic_flag / flag | Numeric flags attached to the topic. The response does not explain their exact meaning. |
Notes
- Send an empty JSON object
{}. The API has no request parameters and no pagination. rankis zero-based andrealposis one-based, so the first topic hasrank0andrealpos1.- Text values are in Chinese. Pass
wordto Weibo Topic Search or Weibo Real-Time Search to find posts about a topic. - For other Weibo rankings, see Weibo Social Ranking.
Pricing
$0.001 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/weibo/web-v2/entertainment-ranking" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. 驗證
請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
3. 參數
這個 API 尚未發布參數 Schema。
4. 回應
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
[
{
"data": {
"band_list": [
{
"category": "剧集",
"channel_type": "1_文娱|文娱c01|文娱招牌热点|作品招牌热点|2_作品|2_情节内容|2_文娱榜|2_公众文娱|2_文娱作品|2_非明星文娱作品|3_讨论|3_权威媒体主持|3_社会核心媒体主持|GRADE_A|GREAT_S_plus|招牌热点|招牌热点达成|招牌热点扩充|讨论c01",
"circle_hot": 6158168,
"co_info": {},
"cooperate": 0,
"display_flag": "",
"emoticon": "",
"ever_in_board": "0",
"expand": 0,
"flag": 1,
"grade": "A",
"hot_num": 6158168,
"hot_rank_position": 1,
"icon_desc": "新",
"icon_desc_color": "#ff3852",
"imp_support": 0,
"imp_support_time": 0,
"is_new": 1,
"loc_page": 5,
"main_board_flag": 0,
"manual_grade": "E",
"mid": "",
"muse_mark": "1",
"note": "金鹰奖获奖名单",
"num": 6158168,
"on_main_board_time": 0,
"onboard_time": 1790687387,
"out_index": 5,
"rank": 0,
"realpos": 1,
"scene_flag": 0,
"small_icon_desc": "新",
"small_icon_desc_color": "#ff3852",
"star_name": {},
"subject_querys": {
"第33届金鹰奖颁奖典礼": {
"subject_trend": "第33届金鹰奖",
"subject_type": "event"
}
},
"topic_flag": 0,
"topic_image": "",
"word": "金鹰奖获奖名单",
"word_scheme": "金鹰奖获奖名单"
},
{
"category": "剧集",
"channel_type": "1_文娱|文娱c01|文娱招牌热点|作品招牌热点|2_作品|2_情节内容|2_文娱榜|2_公众文娱|2_正能量|2_文娱作品|2_明星主体|2_宣发物料|GRADE_A|GREAT_S_plus|招牌热点|招牌热点达成|招牌热点扩充",
"circle_hot": 2585641,
"co_info": {},
"cooperate": 0,
"display_flag": "",
"emoticon": "",
"ever_in_board": "0",
"expand": 0,
"flag": 1,
"grade": "A",
"hot_num": 2585641,
"hot_rank_position": 2,
"icon_desc": "新",
"icon_desc_color": "#ff3852",
"imp_support": 0,
"imp_support_time": 0,
"is_new": 1,
"loc_page": 4,
"main_board_flag": 0,
"manual_grade": "E",
"mid": "",
"muse_mark": "1",
"note": "宋佳金鹰视后",
"num": 2585641,
"on_main_board_time": 0,
"onboard_time": 1790688526,
"out_index": 5,
"rank": 1,
"realpos": 2,
"scene_flag": 0,
"small_icon_desc": "新",
"small_icon_desc_color": "#ff3852",
"star_name": {},
"subject_querys": {
"宋佳": {
"subject_namelist": "-",
"subject_source": "machine",
"subject_type": "明星人物"
},
"金鹰奖": {
"subject_namelist": "-",
"subject_source": "machine",
"subject_type": "影视综艺—剧集"
}
},
"topic_flag": 1,
"topic_image": "",
"word": "宋佳金鹰视后",
"word_scheme": "#宋佳金鹰视后#"
},
{
"category": "艺人",
"channel_type": "1_文娱|文娱c01|文娱招牌热点|艺人招牌热点|2_艺人|2_文娱榜|2_公众文娱|2_明星主体|4_视频作品|GRADE_A|招牌热点|招牌热点达成|招牌热点扩充",
"circle_hot": 1418472,
"co_info": {},
"cooperate": 0,
"display_flag": "",
"emoticon": "",
"ever_in_board": "0",
"expand": 0,
"flag": 2,
"grade": "A",
"hot_num": 1418472,
"hot_rank_position": 3,
"icon_desc": "热",
"icon_desc_color": "#ff9406",
"imp_support": 0,
"imp_support_time": 0,
"is_hot": 1,
"loc_page": 4,
"main_board_flag": 0,
"manual_grade": "E",
"mid": "",
"muse_mark": "2",
"note": "赵丽颖身体到底怎么了",
"num": 1418472,
"on_main_board_time": 0,
"onboard_time": 1790683304,
"out_index": 5,
"rank": 2,
"realpos": 3,
"scene_flag": 0,
"small_icon_desc": "热",
"small_icon_desc_color": "#ff9406",
"star_name": {},
"subject_querys": {
"赵丽颖": {
"subject_namelist": "-",
"subject_source": "machine",
"subject_type": "明星人物"
}
},
"topic_flag": 1,
"topic_image": "",
"word": "赵丽颖身体到底怎么了",
"word_scheme": "#赵丽颖身体到底怎么了#"
},
"… 47 more items in the full response"
]
}
}
]探索更多
相關 APIs
| API | 價格 | 回應 |
|---|---|---|
Weibo | 每次呼叫 $0.001 | JSON |
Weibo | 每次呼叫 $0.001 | JSON |
Weibo | 每次呼叫 $0.001 | JSON |
Weibo | 每次呼叫 $0.001 | JSON |
Weibo | 每次呼叫 $0.001 | JSON |
Weibo | 每次呼叫 $0.001 | JSON |
問題
常見問題
我要如何使用 Weibo Entertainment Ranking API?
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/weibo/web-v2/entertainment-ranking。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
Weibo Entertainment Ranking API 的費用是多少?
每次 $0.001,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
Weibo Entertainment Ranking API 接受哪些參數?
Weibo Entertainment Ranking 不接受任何輸入參數;請送出空的 JSON 主體。
Weibo Entertainment Ranking API 會回傳什麼?
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
我需要 Weibo 開發者帳號或 API 金鑰嗎?
不需要。Weibo Entertainment Ranking 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Weibo API 存取權。
