Weibo Hot Ranking Timeline

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.

Price
$0.0015USD / callFirst 100 calls per day free (shared per organization)
Method
POST
Response
JSON
Parameters
1 required · 3 optional
Production route

Try the model

Playground

Open playground
Input
Count (default 10)
Pagination cursor, pass "0" for first request
Ranking type (required)
Pagination identifier, default is 0
OutputExample
Responseoutputs · 492.9 KB · 12,389 lines
[
  {
    "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"
            },
            {
              "phone_id": "-1",
              "source_text": ""
            },
            {
              "mapi_request": true
            }
          ],
          "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,
          "rid": "0_0_0_5246439999608348878_0_0_0",
          "share_repost_type": 0,
          "showFeedComment": false,
          "showFeedRepost": false,
          "showPictureViewer": false,
          "source": "",
          "text": "<a href=\"//s.weibo.com/weibo?q=%23%E6%8A%AB%E8%8D%86%E6%96%A9%E6%A3%98%23\" target=\"_blank\">#披荆斩棘#</a> 爱很简单,和哥哥们<a href=/n/孙楠 usercard=\"name=@孙楠\">@孙楠</a> <a href=/n/刘畊宏willliu usercard=\"name=@刘畊宏willliu\">@刘畊宏willliu</a> 起飞的快乐不简单 <a href=\"//s.weibo.com/weibo?q=%23%E8%8D%86%E6%A3%98%E4%B9%8B%E5%A4%96%23\" target=\"_blank\">#荆棘之外#</a> ​",
          "textLength": 77,
          "text_raw": "#披荆斩棘# 爱很简单,和哥哥们@孙楠 @刘畊宏willliu 起飞的快乐不简单 #荆棘之外# ​",
          "topic_struct": [
            {
              "actionlog": {
                "act_code": 300,
                "act_type": 1,
                "cardid": "",
                "ext": "mid:5334024317046234|rid:0_0_0_5246439999608348878_0_0_0|short_url:|long_url:|comment_id:|miduid:6738252869|rootmid:5334024317046234|rootuid:6738252869|authorid:|uuid:4213357455398065|is_ad_weibo:0|oid:1022:2315226e98861af2442d015976957811bc97b3",
                "fid": "",
                "lcardid": "",
                "lfid": "",
                "luicode": "",
                "oid": "1022:2315226e98861af2442d015976957811bc97b3",
                "uicode": "",
                "uuid": 4213357455398065
              },
              "title": "",
              "topic_title": "披荆斩棘",
              "topic_url": "sinaweibo://searchall?containerid=231522&q=%23%E6%8A%AB%E8%8D%86%E6%96%A9%E6%A3%98%23&extparam=%23%E6%8A%AB%E8%8D%86%E6%96%A9%E6%A3%98%23"
            },
            {
              "actionlog": {
                "act_code": 300,
                "act_type": 1,
                "cardid": "",
                "ext": "mid:5334024317046234|rid:0_0_0_5246439999608348878_0_0_0|short_url:|long_url:|comment_id:|miduid:6738252869|rootmid:5334024317046234|rootuid:6738252869|authorid:|uuid:5328907867259289|is_ad_weibo:0|oid:1022:231522b5c5e0f16deab2f283a1b5d819047b05",
                "fid": "",
                "lcardid": "",
                "lfid": "",
                "luicode": "",
                "oid": "1022:231522b5c5e0f16deab2f283a1b5d819047b05",
                "uicode": "",
                "uuid": 5328907867259289
              },
              "title": "",
              "topic_title": "荆棘之外",
              "topic_url": "sinaweibo://searchall?containerid=231522&q=%23%E8%8D%86%E6%A3%98%E4%B9%8B%E5%A4%96%23&extparam=%23%E8%8D%86%E6%A3%98%E4%B9%8B%E5%A4%96%23"
            }
          ],
          "user": {
            "avatar_hd": "https://tvax3.sinaimg.cn/crop.0.0.1080.1080.1024/007m11nTly8i8w1ukqr3vj30u00u0ab4.jpg?KID=imgbed,tva&Expires=1787229724&ssig=toOQOpX5bN",
            "avatar_large": "https://tvax3.sinaimg.cn/crop.0.0.1080.1080.180/007m11nTly8i8w1ukqr3vj30u00u0ab4.jpg?KID=imgbed,tva&Expires=1787229724&ssig=hXvNhVKP5R",
            "domain": "",
            "follow_me": false,
            "following": false,
            "icon_list": [
              {
                "data": {
                  "mbrank": 2,
                  "mbtype": 12,
                  "svip": 1,
                  "vvip": 1
                },
                "type": "vip"
              },
              {
                "data": {
                  "icon_img": "https://d.sinaimg.cn/prd/106/1683/2026/06/05/feed_icon_yijuduokui2x.png",
                  "title": "一举夺魁",
                  "url": "http://s.weibo.com/weibo?q=%23高考加油%23",
                  "value": "1"
                },
                "type": "icon"
              }
            ],
            "id": 6738252869,
            "idstr": "6738252869",
            "mbrank": 2,
            "mbtype": 12,
            "pc_new": 7,
            "planet_video": false,
            "profile_image_url": "https://tvax3.sinaimg.cn/crop.0.0.1080.1080.50/007m11nTly8i8w1ukqr3vj30u00u0ab4.jpg?KID=imgbed,tva&Expires=1787229724&ssig=VyLe6YMEav",
            "profile_url": "/u/6738252869",
            "screen_name": "王赫野",
            "status_total_counter": {
              "comment_cnt": "8,800,277",
              "like_cnt": "18,369,937",
              "repost_cnt": "6,792,722",
              "total_cnt": "33,962,936",
              "total_cnt_format": "3396.3万"
            },
            "user_ability": 2376200,
            "v_plus": 0,
            "verified": true,
            "verified_type": 0,
            "verified_type_ext": 1,
            "weihao": ""
          },
          "visible": {
            "list_id": 0,
            "type": 0
          }
        },
        {
          "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"
            },
            {
              "phone_id": "",
              "source_text": ""
            },
            {
              "mapi_request": true
            }
          ],
          "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"
            }
          ],

Examples

Select an example to load its inputs and result into the playground.

Model card

Specifications

Pricing

Base price
$0.0015 / run
Daily free calls
First 100 calls per day free (shared per organization)

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
sync

Parameters

ranking_type
string · required
count
integer · optional
max_id
string · optional
since_id
string · optional

Access

Provider
Weibo
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/weibo/web-v2/hot-ranking-timeline
Authentication
Bearer API key

API README

Weibo Hot Ranking Timeline API

This endpoint retrieves trending Weibo posts for a specified ranking_type. Use count, max_id, and since_id to page through ranked timeline entries.

Use cases

  • Monitoring trending topics and top-ranked posts on Weibo in real time.
  • Analyzing engagement metrics such as likes and comment volumes on viral content.
  • Tracking popular discussions within Weibo super topics.

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"}'

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 to the main fields. User names and long IDs are masked.

{
  "statuses": [
    {
      "attitudes_count": 149055,
      "attitudes_status": 0,
      "comments_count": 28209,
      "content_auth": 0,
      "id": 5351100492286270,
      "isLongText": false,
      "mblog_vip_type": 0,
      "mblogtype": 0,
      "mixed_count": 0,
      "pic_num": 1,
      "comment_manage_info": {
        "approval_comment_type": 0,
        "comment_anon_type": 0,
        "comment_permission_type": -1,
        "comment_sort_type": 0
      },
      "number_display_strategy": {
        "display_text": "100万+",
        "display_text_min_number": 1000000
      },
      "title_source": {
        "name": "黄星Eliot超话",
        "url": "https://huati.weibo.com/k/%E9%BB%84%E6%98%9FEliot"
      },
      "user": {
        "following": false,
        "id": 2211239502,
        "mbrank": 2,
        "mbtype": 12,
        "profile_image_url": "https://tvax1.sinaimg.cn/crop.0.0.1080.1080.50/83ccd64ely8hxgoqcpkn1j20u00u0q5f.…",
        "profile_url": "/u/2211239502"
      }
    }
  ]
}

Notes

  • Specify the category or timeframe using ranking_type.
  • Pass "0" to max_id on the initial call to start pagination from the beginning.
  • Control the number of returned posts per request with count, which defaults to 10.

Related APIs

  • Weibo Advanced Search: Search Weibo posts by keyword with filters for time range, post type (hot, original, verified, media) and content type (images, video, links).
  • Weibo AI Related Search Content: Returns AI-generated content extensions for a keyword, including related questions, recommended bloggers, and reference posts.
  • Weibo AI Search: Returns multimodal search results and relevance scores from Weibo intelligent search for a specified keyword or topic query.

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/weibo/web-v2/hot-ranking-timeline
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -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" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "count": 10,
  "max_id": "0",
  "since_id": "0",
  "ranking_type": "hour"
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
Weibo$0.0015 per callJSONJul 31, 2026
Weibo$0.0015 per callJSONJul 31, 2026
Weibo$0.0015 per callJSONJul 31, 2026
Weibo$0.0015 per callJSONJul 31, 2026
Weibo$0.0015 per callJSONJul 31, 2026
Weibo$0.0015 per callJSONJul 31, 2026

Questions

FAQ

How do I use the Weibo Hot Ranking Timeline API?

Send a POST request to https://api.sandbase.ai/v1/api/weibo/web-v2/hot-ranking-timeline with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the Weibo Hot Ranking Timeline API cost?

$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the Weibo Hot Ranking Timeline API accept?

Required: ranking_type (string). Optional: count (integer), max_id (string) and since_id (string). The Parameters table and the Playground on this page list every field.

What does the Weibo Hot Ranking Timeline API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

Do I need a Weibo developer account or API key?

No. Weibo Hot Ranking Timeline runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Weibo API access separately.