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.001USD / 回
- メソッド
- POST
- レスポンス
- JSON
- パラメータ
- 必須 0 件 · 任意 0 件
プレイグラウンド
[
{
"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"
]
}
}
]例
例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。
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のパラメータスキーマは公開されていません。
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 |
質問
FAQ
Weibo Entertainment Ranking API はどのように使いますか?
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/weibo/web-v2/entertainment-ranking に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
Weibo Entertainment Ranking API の料金はいくらですか?
1回あたり $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 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Weibo の API アクセスを別途申請する必要はありません。
