Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

Weibo Hot Ranking Timeline

Documentación de la API
https://api.sandbase.ai/v1/api/weibo/web-v2/hot-ranking-timeline

Returns popular posts from Weibo hot rankings based on a specified ranking type. Supports pagination using cursor and identifier parameters.

Precio
$0.001USD / llamada
Método
POST
Respuesta
JSON
Parámetros
1 obligatorios · 3 opcionales

Entorno de pruebas

Entrada
Ranking type (required)
Count (default 10)
Pagination cursor, pass "0" for first request
Pagination identifier, default is 0
SalidaEjemplo
Respuestaoutputs · 11.5 KB · 330 líneas
[
  {
    "data": {
      "max_id": 2,
      "ok": 1,
      "since_id": 0,
      "statuses": [
        {
          "analysis_extra": "",
          "annotations": [
            {
              "photo_sub_type": "0"
            },
            {
              "client_mblogid": "iPhone-4463DA0C-08F5-4203-B41B-477050710F56"
            },
            "… 2 more items in the full response"
          ],
          "attitudes_count": 22251,
          "attitudes_status": 0,
          "buttons": [
            {
              "actionlog": {
                "act_code": "91",
                "act_type": "1",
                "cardid": "102803_-_mbloglist_5334024317046234",
                "ext": "uid:8431518763|mid:5334024317046234|act:follow|time:1787218924|source:8999|recommend_source:|contributor:|hot_request_id:0",
                "fid": "102803_ctg1_1761_-_ctg1_1761",
                "oid": "8431518763",
                "source": "hot",
                "uicode": ""
              },
              "name": "关注",
              "params": {
                "able_recommend": 1,
                "extparams": {
                  "followcardid": "1028030098_5334024317046234"
                },
                "uid": 6738252869
              },
              "pic": "http://u1.sinaimg.cn/upload/2013/07/02/timeline_card_small_button_icon_add.png",
              "type": "follow"
            }
          ],
          "can_edit": false,
          "cardid": "star_1439",
          "comment_manage_info": {
            "approval_comment_type": 0,
            "comment_anon_type": 0,
            "comment_permission_type": -1,
            "comment_sort_type": 0
          },
          "comments_count": 10856,
          "content_auth": 0,
          "created_at": "Thu Aug 20 16:19:21 +0800 2026",
          "favorited": false,
          "followBtnCode": {
            "followcardid": "1028030098_5334024317046234",
            "uid": 6738252869
          },
          "id": 5334024317046234,
          "idstr": "5334024317046234",
          "isAd": false,
          "isLongText": false,
          "isSinglePayAudio": false,
          "is_controlled_by_server": 1,
          "is_paid": false,
          "is_show_bulletin": 2,
          "is_show_mixed": false,
          "mblog_feed_back_menus_format": [],
          "mblog_vip_type": 0,
          "mblogid": "Reh7Vtz2W",
          "mblogtype": 0,
          "md_render_mark": null,
          "mid": "5334024317046234",
          "mixed_count": 0,
          "mlevel": 0,
          "number_display_strategy": {
            "apply_scenario_flag": 51,
            "display_text": "100万+",
            "display_text_min_number": 1000000
          },
          "pic_bg_new": "http://vip.storage.weibo.com/feed_cover/star_1439_mobile_new.png?version=2026071001",
          "pic_ids": [
            "007m11nTgy1igadcd8gzzj345h2sdu0z"
          ],
          "pic_infos": {
            "007m11nTgy1igadcd8gzzj345h2sdu0z": {
              "bmiddle": {
                "cut_type": 1,
                "height": 241,
                "type": null,
                "url": "https://wx1.sinaimg.cn/wap360/007m11nTgy1igadcd8gzzj345h2sdu0z.jpg",
                "width": 360
              },
              "large": {
                "cut_type": 1,
                "height": 960,
                "type": null,
                "url": "https://wx1.sinaimg.cn/orj960/007m11nTgy1igadcd8gzzj345h2sdu0z.jpg",
                "width": 1429
              },
              "largecover": {
                "cut_type": 1,
                "height": 960,
                "type": null,
                "url": "https://wx1.sinaimg.cn/cmw960/007m11nTgy1igadcd8gzzj345h2sdu0z.jpg",
                "width": 1429
              },
              "largest": {
                "cut_type": 1,
                "height": 1375,
                "type": null,
                "url": "https://wx1.sinaimg.cn/large/007m11nTgy1igadcd8gzzj345h2sdu0z.jpg",
                "width": 2048
              },
              "mw2000": {
                "cut_type": 1,
                "height": 1342,
                "type": null,
                "url": "https://wx1.sinaimg.cn/mw2000/007m11nTgy1igadcd8gzzj345h2sdu0z.jpg",
                "width": 2000
              },
              "object_id": "1042018:5c11740744d4d507accde38f7116d82c",
              "original": {
                "cut_type": 1,
                "height": 1080,
                "type": null,
                "url": "https://wx1.sinaimg.cn/orj1080/007m11nTgy1igadcd8gzzj345h2sdu0z.jpg",
                "width": 1608
              },
              "photo_tag": 0,
              "pic_id": "007m11nTgy1igadcd8gzzj345h2sdu0z",
              "pic_status": 1,
              "thumbnail": {
                "cut_type": 1,
                "height": 120,
                "type": null,
                "url": "https://wx1.sinaimg.cn/wap180/007m11nTgy1igadcd8gzzj345h2sdu0z.jpg",
                "width": 180
              },
              "type": "pic"
            }
          },
          "pic_num": 1,
          "pictureViewerSign": false,
          "rcList": [],
          "readtimetype": "mblog",
          "region_name": "发布于 湖南",
          "reposts_count": 10683,
          "…": "12 more fields in the full response"
        },
        {
          "analysis_extra": "",
          "annotations": [
            {
              "photo_sub_type": "0,0,0,0,0,0,0,0,0,0,0,0"
            },
            {
              "client_mblogid": "iPhone-6EB4F8F1-0C93-4BD3-B772-DDE872C4C8BD"
            },
            "… 2 more items in the full response"
          ],
          "attitudes_count": 23719,
          "attitudes_status": 0,
          "buttons": [
            {
              "actionlog": {
                "act_code": "91",
                "act_type": "1",
                "cardid": "102803_-_mbloglist_5334022269965080",
                "ext": "uid:8431518763|mid:5334022269965080|act:follow|time:1787218924|source:8999|recommend_source:|contributor:|hot_request_id:0",
                "fid": "102803_ctg1_1761_-_ctg1_1761",
                "oid": "8431518763",
                "source": "hot",
                "uicode": ""
              },
              "name": "关注",
              "params": {
                "able_recommend": 1,
                "extparams": {
                  "followcardid": "1028030098_5334022269965080"
                },
                "uid": 1662262590
              },
              "pic": "http://u1.sinaimg.cn/upload/2013/07/02/timeline_card_small_button_icon_add.png",
              "type": "follow"
            }
          ],
          "can_edit": false,
          "comment_manage_info": {
            "approval_comment_type": 0,
            "comment_anon_type": 0,
            "comment_permission_type": -1,
            "comment_sort_type": 0
          },
          "comments_count": 6084,
          "content_auth": 0,
          "created_at": "Thu Aug 20 16:11:13 +0800 2026",
          "favorited": false,
          "followBtnCode": {
            "followcardid": "1028030098_5334022269965080",
            "uid": 1662262590
          },
          "id": 5334022269965080,
          "idstr": "5334022269965080",
          "isAd": false,
          "isLongText": true,
          "isSinglePayAudio": false,
          "is_controlled_by_server": 1,
          "is_paid": false,
          "is_show_bulletin": 2,
          "is_show_mixed": false,
          "mblog_feed_back_menus_format": [],
          "mblog_vip_type": 0,
          "mblogid": "Reh4CFOn6",
          "mblogtype": 0,
          "md_render_mark": null,
          "mid": "5334022269965080",
          "mix_media_info": {
            "items": [
              {
                "actionlog": {
                  "act_code": 799,
                  "act_type": 1,
                  "ext": "uid:8431518763|mid:5334022269965080|objectid:1034%3A5334021992022043|from:1|object_duration:3.158|miduid:1662262590|rootuid:1662262590|rootmid:5334022269965080|authorid:1662262590|video_orientation:vertical|third_vid:|is_album:0|is_contribution:0|video_tags:|isfan:0|ua:Mozilla/5.0 (Windows NT 10.0%3…",
                  "fid": "",
                  "lcardid": "",
                  "mid": "5334022269965080",
                  "oid": "1034:5334021992022043",
                  "source": "video",
                  "uuid": 5334022007292147
                },
                "data": {
                  "act_status": 1,
                  "actionlog": "…",
                  "author_id": "1662262590",
                  "authorid": "1662262590",
                  "content1": "张予曦的微博视频",
                  "content2": "皮影织女限时返场🧚‍♀️#夏日Highlight时刻#",
                  "media_info": "…",
                  "object_id": "1034:5334021992022043",
                  "object_type": "video",
                  "oid": "1662262590",
                  "page_id": "2304445334021992022043",
                  "page_pic": "https://wx3.sinaimg.cn/orj480/63141d3ely1igad30ze6ej20u01hc791.jpg",
                  "page_title": "张予曦的微博视频",
                  "page_url": "sinaweibo://infopage?containerid=2304445334021992022043&containerid=2304445334021992022043&url_type=39&object_type=video&pos=2",
                  "pic_info": "…",
                  "short_url": "http://t.cn/AXpUjpFP",
                  "type": "11",
                  "type_icon": "",
                  "warn": ""
                },
                "id": "1034:5334021992022043",
                "scheme": "",
                "type": "video"
              },
              {
                "actionlog": [],
                "data": {
                  "bmiddle": "…",
                  "focus_point": "…",
                  "large": "…",
                  "largecover": "…",
                  "largest": "…",
                  "mw2000": "…",
                  "object_id": "1042018:936450eaf31d1ba5c7ed276b1c4ab389",
                  "original": "…",
                  "photo_tag": 0,
                  "pic_id": "63141d3ely1igac6fcyxvj25wn3xrhdw",
                  "pic_status": 1,
                  "thumbnail": "…",
                  "type": "pic"
                },
                "id": "63141d3ely1igac6fcyxvj25wn3xrhdw",
                "scheme": "",
                "type": "pic"
              },
              "… 11 more items in the full response"
            ]
          },
          "mixed_count": 0,
          "mlevel": 0,
          "number_display_strategy": {
            "apply_scenario_flag": 51,
            "display_text": "100万+",
            "display_text_min_number": 1000000
          },
          "pic_focus_point": [
            {
              "focus_point": {
                "height": 0.17874396,
                "left": 0.3710145,
                "top": 0.16714975,
                "width": 0.17681159
              },
              "pic_id": "63141d3ely1igac6x6uaej23xr5wne86"
            },
            {

Ejemplos

Seleccione un ejemplo para cargar sus entradas y el resultado en el playground.

README de la API

Weibo Hot Ranking Timeline API

Returns a page of popular Weibo posts from a hot ranking list. It needs a ranking_type value such as hour, and it accepts count, max_id and since_id for paging.

Use cases

  • Pull the posts that currently lead the hourly Weibo hot ranking into a trend dashboard.
  • Compare like and comment counts across ranked posts to find the ones with the most engagement.
  • Collect the super topics attached to hot posts to see which fan communities drive current traffic.
  • Download the image URLs of ranked posts for visual trend or media monitoring.

Request

curl -X POST "https://api.sandbase.ai/v1/api/weibo/web-v2/hot-ranking-timeline" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ranking_type": "hour"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
ranking_typestringYesRanking type (required)
countintegerNoCount (default 10)
max_idstringNoPagination cursor, pass "0" for first request
since_idstringNoPagination identifier, default is 0

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "max_id": 2,
  "ok": 1,
  "since_id": 0,
  "statuses": [
    {
      "analysis_extra": "",
      "annotations": [
        {
          "photo_sub_type": "0,0,0,0,0,0,0,0,0,0,0"
        }
      ],
      "attitudes_count": 73749,
      "attitudes_status": 0,
      "buttons": [
        {
          "actionlog": {
            "act_code": "91",
            "act_type": "1",
            "cardid": "102803_-_mbloglist_5361174142779827",
            "ext": "uid:1802369094|mid:5361174142779827|act:follow|time:1793691984|source:8999|recom…",
            "fid": "102803_ctg1_1761_-_ctg1_1761",
            "oid": "1802369094",
            "source": "hot",
            "uicode": ""
          },
          "name": "关注",
          "params": {
            "able_recommend": 1,
            "extparams": {
              "followcardid": "1028030098_5361174142779827"
            },
            "uid": 6643123988
          },
          "pic": "http://u1.sinaimg.cn/upload/2013/07/02/timeline_card_small_button_icon_add.png",
          "type": "follow"
        }
      ],
      "can_edit": false,
      "comment_manage_info": {
        "approval_comment_type": 0,
        "comment_anon_type": 0,
        "comment_permission_type": -1,
        "comment_sort_type": 0
      },
      "comments_count": 11539,
      "common_struct": [
        {
          "actionlog": {
            "act_code": "300",
            "cardid": "",
            "ext": "common_struct:topic|containerid:100808|uid:1802369094|mid:5361174142779827|analy…",
            "fid": null,
            "lfid": null,
            "luicode": null,
            "mid": 5361174142779827,
            "oid": "1022:100808f57b3faeb25f86b43a8cc58f02286f40"
          },
          "btn_show_type": "1",
          "buttons": [
            {
              "actionlog": {
                "act_code": 577,
                "cardid": "",
                "ext": "common_struct:topic|containerid:100808|uid:1802369094|mid:5361174142779827|analy…",
                "fid": null,
                "lfid": null,
                "luicode": null,
                "mid": 5361174142779827,
                "oid": "1022:100808f57b3faeb25f86b43a8cc58f02286f40"
              },
              "name": "关注",
              "params": {
                "scheme": "${scheme}",
                "type": "page",
                "uid": "1022:100808f57b3faeb25f86b43a8cc58f02286f40"
              },
              "pic": "https://n.sinaimg.cn/photo/ab36dac5/20170616/follow_hollow.png",
              "type": "follow"
            }
          ],
          "desc": "5.6亿帖子 1537万小飞侠",
          "hidden": 1,
          "img": "http://wx3.sinaimg.cn/thumbnail/e6e53908ly8iiaw440dk5j20u00u0q78.jpg",
          "name": "【超话】肖战",
          "page_id": "100808f57b3faeb25f86b43a8cc58f02286f40"
        }
      ],
      "content_auth": 0,
      "created_at": "Tue Nov 03 14:23:04 +0800 2026",
      "favorited": false
    }
  ],
  "total_number": 100
}

Response fields

FieldMeaning
statuses[]List of ranked posts. Each item is one Weibo post.
statuses[].mblogid / statuses[].mid / statuses[].idIdentifiers of the post. mblogid is a short alphanumeric code, while mid and id hold the same long numeric ID as a string and a number.
statuses[].created_atPublish time of the post as a text date with a +0800 offset, for example Tue Nov 03 14:23:04 +0800 2026.
statuses[].attitudes_count / statuses[].comments_countNumber of likes and number of comments on the post.
statuses[].number_display_strategy.display_textShort label Weibo shows for large counts, for example 100万+.
statuses[].isLongTexttrue when the post has long text content.
statuses[].pic_ids[]IDs of the images in the post. Use each ID as a key in statuses[].pic_infos.
statuses[].pic_infos.*.original.url / statuses[].pic_infos.*.large.urlImage URLs at different sizes, with width and height next to each URL.
statuses[].common_struct[].name / statuses[].common_struct[].descName and short description of the topic or super topic linked to the post, for example 【超话】肖战.
max_id / since_idPaging values returned with the list. Use them in the next request.

Notes

  • Pass max_id as "0" on the first request. Send the max_id value from the response to get the next page.
  • count sets how many posts to return per request. The default is 10.
  • Use the mblogid or id of a post with Weibo Post Detail or Weibo Post Comments to get more about a single post.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
Weibo$0.001 por llamadaJSON
Weibo$0.001 por llamadaJSON
Weibo$0.001 por llamadaJSON
Weibo$0.001 por llamadaJSON
Weibo$0.001 por llamadaJSON
Weibo$0.001 por llamadaJSON

Guías:Best Weibo API in 2026: Pricing Compared

Preguntas

FAQ

¿Cómo uso la API de Weibo Hot Ranking Timeline?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/weibo/web-v2/hot-ranking-timeline con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de Weibo Hot Ranking Timeline?

$0.001 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de Weibo Hot Ranking Timeline?

Requeridos: ranking_type (string). Opcionales: count (integer), max_id (string) y since_id (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de Weibo Hot Ranking Timeline?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de Weibo?

No. Weibo Hot Ranking Timeline funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Weibo por separado.