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.
- Harga
- $0.001USD / panggilan
- Metode
- POST
- Respons
- JSON
- Parameter
- 0 wajib · 0 opsional
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"
]
}
}
]Contoh
Pilih contoh untuk memuat input dan hasilnya ke playground.
README API
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.
Mulai membangun
Kirim permintaan pertama Anda
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
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. Autentikasi
Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
3. Parameter
Tidak ada schema parameter yang dipublikasikan untuk API ini.
4. Respons
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
[
{
"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"
]
}
}
]Jelajahi lebih lanjut
API Terkait
| API | Harga | Respons |
|---|---|---|
Weibo Entertainment RankingAPI ini Weibo | $0.001 per panggilan | JSON |
Weibo | $0.001 per panggilan | JSON |
Weibo | $0.001 per panggilan | JSON |
Weibo | $0.001 per panggilan | JSON |
Weibo | $0.001 per panggilan | JSON |
Weibo | $0.001 per panggilan | JSON |
Pertanyaan
FAQ
Bagaimana cara menggunakan API Weibo Entertainment Ranking?
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/weibo/web-v2/entertainment-ranking dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
Berapa biaya API Weibo Entertainment Ranking?
$0.001 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Parameter apa yang diterima API Weibo Entertainment Ranking?
Weibo Entertainment Ranking tidak memiliki parameter input; kirim body JSON kosong.
Apa yang dikembalikan API Weibo Entertainment Ranking?
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Apakah saya memerlukan akun developer atau kunci API Weibo?
Tidak. Weibo Entertainment Ranking berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Weibo secara terpisah.
