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?
向 https://api.sandbase.ai/v1/api/weibo/web-v2/entertainment-ranking 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 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 key 吗?
不需要。Weibo Entertainment Ranking 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Weibo API 访问权限。
