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.
- Preço
- $0.001USD / chamada
- Método
- POST
- Resposta
- JSON
- Parâmetros
- 0 obrigatórios · 0 opcionais
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"
]
}
}
]Exemplos
Selecione um exemplo para carregar as entradas e o resultado no playground.
README da 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.
Comece a construir
Envie sua primeira solicitação
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
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. Autenticação
Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
3. Parâmetros
Nenhum schema de parâmetros foi publicado para esta API.
4. Resposta
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
[
{
"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"
]
}
}
]Explorar mais
APIs relacionadas
| API | Preço | Resposta |
|---|---|---|
Weibo Entertainment RankingEsta API Weibo | $0.001 por chamada | JSON |
Weibo | $0.001 por chamada | JSON |
Weibo | $0.001 por chamada | JSON |
Weibo | $0.001 por chamada | JSON |
Weibo | $0.001 por chamada | JSON |
Weibo | $0.001 por chamada | JSON |
Perguntas
FAQ
Como eu uso a API Weibo Entertainment Ranking?
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/weibo/web-v2/entertainment-ranking com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
Quanto custa a API Weibo Entertainment Ranking?
$0.001 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Quais parâmetros a API Weibo Entertainment Ranking aceita?
Weibo Entertainment Ranking não recebe parâmetros de entrada; envie um corpo JSON vazio.
O que a API Weibo Entertainment Ranking retorna?
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.
Preciso de uma conta de desenvolvedor Weibo ou de uma chave de API?
Não. Weibo Entertainment Ranking funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Weibo separadamente.
