Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Weibo Hot Search

Tài liệu API
https://api.sandbase.ai/v1/api/weibo/hot-search

Get the current Weibo hot-search ranking. Use it to identify trending topics for newsroom monitoring, content planning, or timely topic discovery.

Giá
$0.014286USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
0 bắt buộc · 0 tùy chọn

Phòng thử nghiệm

Đầu vào
Không có schema đầu vào
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Weibo Hot Search API

Returns the current Weibo hot-search ranking as a list of trending topics with a heat number, rank and label. It takes no input, so you send an empty JSON object {}.

Use cases

  • Track which topics are trending on Weibo right now for newsroom monitoring.
  • Spot newly listed topics by checking the label_name value 新 on each entry.
  • Rank topics by num to plan content around the busiest conversations.
  • Check which topic currently holds the pinned government or promoted slot in data.hotgov.

Request

curl -X POST "https://api.sandbase.ai/v1/api/weibo/hot-search" \
  -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.

{
  "curTab": "hot",
  "data": {
    "hotgov": {
      "flag": 2,
      "icon": "https://simg.s.weibo.com/moter/flags/2_0.png",
      "icon_desc": "热",
      "icon_desc_color": "#ff9406",
      "icon_height": 24,
      "icon_width": 24,
      "is_gov": 1,
      "is_hot": 1,
      "mid": "5361069742886874",
      "name": "#乌镇网事#",
      "note": "#乌镇网事#",
      "pos": 1
    },
    "hotgovs": [
      {
        "flag": 2,
        "icon": "https://simg.s.weibo.com/moter/flags/2_0.png",
        "icon_desc": "热",
        "icon_desc_color": "#ff9406",
        "icon_height": 24,
        "icon_width": 24,
        "name": "#乌镇网事#",
        "pos": 1,
        "small_icon_desc": "热",
        "small_icon_desc_color": "#ff9406",
        "topic_flag": 1,
        "word": "#乌镇网事#"
      }
    ],
    "realtime": [
      {
        "emoticon": "",
        "flag": 2,
        "icon": "https://simg.s.weibo.com/moter/flags/2_0.png",
        "icon_desc": "热",
        "icon_desc_color": "#ff9406",
        "icon_height": 24,
        "icon_width": 24,
        "label_name": "热",
        "note": "赴港看演唱会女孩低保已被取消",
        "num": 2173490,
        "rank": 0,
        "realpos": 1
      }
    ]
  },
  "logs": {
    "act_code": 7948,
    "ext": "cate:1003|words:#赴港看演唱会女孩低保已被取消#,#警方通报九寨沟景区游客冲突事件#,#本届乌镇峰会分论坛数量创新高#,#九寨沟打人事件双方已和…"
  },
  "ok": 1,
  "topLogs": {
    "act_code": 7948,
    "ext": "cate:1002|words:#乌镇网事#"
  }
}

Response fields

FieldMeaning
data.realtime[]The ranked list of hot-search topics, in display order.
data.realtime[].word / data.realtime[].noteThe topic text. In the sample both hold the same plain text without hash marks.
data.realtime[].word_schemeThe topic written as a Weibo hashtag with # marks on both sides. Use it as a search term.
data.realtime[].numA numeric heat value for the topic. Higher values appear earlier in the list.
data.realtime[].rankZero-based rank of the topic in the list. The first item has 0.
data.realtime[].realposOne-based position of the topic in the list. The first item has 1.
data.realtime[].label_name / data.realtime[].icon_descThe short label shown beside the topic, such as 热 (hot) or 新 (new).
data.realtime[].iconURL of the label icon image for the topic.
data.hotgov.word / data.hotgov.urlThe pinned topic at the top of the board and a link to the related post.
data.hotgovs[]List of pinned topics. Each entry has word, pos and label icon fields.

Notes

  • The request has no parameters. Send {} as the body.
  • data.realtime[].rank starts at 0, while data.realtime[].realpos starts at 1. Pick one and use it consistently.
  • data.hotgov.stime looks like a Unix timestamp in seconds.
  • For other Weibo ranking views, see Weibo Real-Time Hot Search or Weibo Hot Search Categories.

Pricing

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

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Weibo$0.014286 mỗi lần gọiJSON
Weibo$0.001 mỗi lần gọiJSON
Weibo$0.001 mỗi lần gọiJSON
Weibo$0.001 mỗi lần gọiJSON
Weibo$0.001 mỗi lần gọiJSON
Weibo$0.001 mỗi lần gọiJSON

Hướng dẫn:Best Weibo API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Weibo Hot Search?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/weibo/hot-search với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Weibo Hot Search có giá bao nhiêu?

$0.014286 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Weibo Hot Search chấp nhận những tham số nào?

Weibo Hot Search không nhận tham số đầu vào; hãy gửi một phần thân JSON rỗng.

API Weibo Hot Search trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Weibo không?

Không. Weibo Hot Search chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Weibo.