Sand AISand AI MAGI-2MAGI-2 теперь на SandBase: видео 1080p с нативным звукомПопробовать сейчас

Weibo Real-Time Hot Search

Документация API
https://api.sandbase.ai/v1/api/weibo/web-v2/hot-search

Get the Weibo real-time hot search ranking: trending keywords with rank, heat value and labels such as new or hot.

Цена
$0.001USD / вызов
Метод
POST
Ответ
JSON
Параметры
0 обязательных · 0 необязательных
100 бесплатных вызовов в деньПервые 100 вызовов в день — бесплатно (общий лимит для организации) · Сброс в 00:00 UTC. Далее оплата за каждый вызов.

Песочница

Ввод
Схема ввода недоступна
ВыходПример
Ответoutputs · 2.8 KB · 103 строк
[
  {
    "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": "5329248484331851",
        "name": "#夯实基础开新局#",
        "note": "#夯实基础开新局#",
        "pos": 1,
        "small_icon_desc": "热",
        "small_icon_desc_color": "#ff9406",
        "stime": 1786088961,
        "topic_flag": 1,
        "url": "http://weibo.com/2656274875/RcgSYiaUz",
        "word": "#夯实基础开新局#"
      },
      "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": 1,
          "icon": "https://simg.s.weibo.com/moter/flags/1_0.png",
          "icon_desc": "新",
          "icon_desc_color": "#ff3852",
          "icon_height": 24,
          "icon_width": 24,
          "label_name": "新",
          "note": "南航 西梅汁",
          "num": 3563978,
          "rank": 0,
          "realpos": 1,
          "small_icon_desc": "新",
          "small_icon_desc_color": "#ff3852",
          "topic_flag": 0,
          "word": "南航 西梅汁",
          "word_scheme": "南航 西梅汁"
        },
        {
          "emoticon": "",
          "flag": 1,
          "flag_desc": "剧集",
          "icon": "https://simg.s.weibo.com/moter/flags/1_0.png",
          "icon_desc": "新",
          "icon_desc_color": "#ff3852",
          "icon_height": 24,
          "icon_width": 24,
          "label_name": "新",
          "note": "曝念相思停拍换男主",
          "num": 1463648,
          "rank": 1,
          "realpos": 2,
          "small_icon_desc": "新",
          "small_icon_desc_color": "#ff3852",
          "topic_flag": 1,
          "word": "曝念相思停拍换男主",
          "word_scheme": "#曝念相思停拍换男主#"
        },
        {
          "emoticon": "",
          "flag": 1,
          "icon": "https://simg.s.weibo.com/moter/flags/1_0.png",
          "icon_desc": "新",
          "icon_desc_color": "#ff3852",
          "icon_height": 24,
          "icon_width": 24,
          "label_name": "新",
          "note": "前7个月货物贸易进出口超30万亿元",
          "num": 913461,
          "rank": 2,
          "realpos": 3,
          "small_icon_desc": "新",
          "small_icon_desc_color": "#ff3852",
          "topic_flag": 1,
          "word": "前7个月货物贸易进出口超30万亿元",
          "word_scheme": "#前7个月货物贸易进出口超30万亿元#"
        },
        "… 49 more items in the full response"
      ]
    }
  }
]

Примеры

Выберите пример, чтобы загрузить его входные данные и результат в playground.

README по API

Weibo Real-Time Hot Search API

Returns a Weibo board snapshot. Ordinary, promotional and pinned entries can have different fields; preserve missing values and supplied positions separately. The request takes no input parameters, so you send an empty JSON object.

Use cases

  • Inspect and store one returned board snapshot with its own observation time; no refresh timing or repeated monitoring was verified.
  • Review supplied topic words for a selected research question; this task sends no alerts and does not assume every row has word.
  • Display supplied heat and label fields while separating advertisements and pinned entries from ordinary positions.
  • Preserve new-label text as a reported label, not proof of when a story began.

Request

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

{
  "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
    }
  ]
}

Response fields

FieldMeaning
realtime[].wordThe hot search keyword as plain text.
realtime[].word_schemeReported topic-tag representation when present. An independently selected search query is a separate task; do not auto-chain it.
realtime[].numProvider heat value with unverified formula; not search volume, views or measured growth.
realtime[].rankSupplied rank; promotional rows can duplicate it. Do not substitute array position for organic rank.
realtime[].realposSupplied ordinary position when present; advertisement rows can omit it.
realtime[].label_nameText label for the topic, such as 热 (hot) or 新 (new).
realtime[].icon_desc / realtime[].icon_desc_colorThe text and color code of the label badge shown beside the topic.
realtime[].iconURL of the label badge image.
hotgov.word / hotgov.urlThe pinned topic shown at the top of the board, with a link to the related Weibo post. hotgov.name holds the topic name.
hotgovs[].word / hotgovs[].posPinned topics in a list, with the position of each one.

Notes

  • The request has no parameters. Send {} as the body.
  • realtime can contain ordinary and promotional entries. Keep hotgov/hotgovs separate and avoid double-counting their repeated pinned representation.
  • For a list with a search link for each topic, call Weibo Hot Search List.
  • To read posts about a trending keyword, pass it to Weibo Real-Time Search or Weibo Advanced Search.

Pricing

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

Inspect one board snapshot without choosing a topic automatically

Send an empty object. This web-v2/hot-search schema declares no keyword, limit, page or period input. Do not substitute an App endpoint, hot-search-summary or an advanced search contract.

Read the direct business object's realtime array. A valid empty array differs from an absent or malformed list. The August 20 full saved reference has 52 rows: 50 ordinary rows with realpos 1–50 and two explicit is_ad: 1 rows. Promotional rows duplicate rank 2 and 5 and omit realpos. Array position, rank and realpos are different fields; this is not a 52-position organic ranking or a guaranteed response length.

Preserve supplied advertisement flags; an absent flag is not a verified false value. The saved ordinary first entry has num 3563978, rank 0 and realpos 1. num is a provider heat value, not independently verified searches, post counts, readers or views. One snapshot cannot establish growth, future demand or representative sentiment. A new label is a display label, not an exact publication time.

The sample's hotgov and hotgovs repeat a pinned topic. Keep those representations separate from realtime and avoid double-counting. Provider stime, saved-reference creation time and a local observation time are different clocks. Do not assign one timestamp to every topic.

The full reference has word_scheme on 50 ordinary rows; the two advertisements omit it. The README's different one-row excerpt omits word and word_scheme too. Preserve missing fields rather than forcing a universal word shape or silently using note as a selected query. A name in a board is not an instruction to investigate an account.

If you independently choose a topic to inspect, use one keyword search as a separate task. No automatic board-to-search chain or refresh cadence was tested.

Give your agent one snapshot task

Give your agent the setup Skill, Markdown quickstart, selected endpoint and requested output. Keep SANDBASE_API_KEY locally and use Bearer authentication with POST /v1/api/. Choose a board snapshot or an explicit query. Do not choose the first topic automatically, fan out searches, fetch profiles/media or start a polling loop.

Require valid HTTP/JSON, completed SandBase status and an object exactly at outputs[0].data. The board has realtime directly; search has parsed_data. Neither reference declares a business code or ok flag. Validate the selected shape instead of borrowing another Weibo endpoint's status rule or defaulting malformed data to an empty success. Preserve unknown optional values separately from zero.

November 8 inspection lists $0.001 per selected route, both eligible for 100 daily calls shared across eligible APIs within the organization, reset at 00:00 UTC. This is eligibility, not remaining allowance or measured charge. An independently selected pair lists at $0.002 before quota effects; no pair was executed here. No new business, paid, continuation, polling or media calls were made. The Weibo Python guide links to the earlier monitoring design; use this page's current boundaries for the first request.

Посмотреть больше

Связанные APIs

Все APIs
APIЦенаОтвет
Weibo$0.001 за запросJSON
Weibo$0.001 за запросJSON
Weibo$0.001 за запросJSON
Weibo$0.001 за запросJSON
Weibo$0.001 за запросJSON
Weibo$0.001 за запросJSON

Руководства:Best Weibo API in 2026: Pricing Compared

Вопросы

FAQ

Как использовать API Weibo Real-Time Hot Search?

Отправьте POST-запрос на https://api.sandbase.ai/v1/api/weibo/web-v2/hot-search, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.

Сколько стоит API Weibo Real-Time Hot Search?

$0.001 за вызов. Каждой организации предоставляется 100 бесплатных вызовов в сутки по UTC, общих для всех подходящих API SandBase, включая этот; после этого каждый вызов тарифицируется по этой цене и списывается с баланса SandBase. Подписка не требуется.

Какие параметры принимает API Weibo Real-Time Hot Search?

Weibo Real-Time Hot Search не принимает входных параметров; отправьте пустое тело JSON.

Что возвращает API Weibo Real-Time Hot Search?

JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.

Нужен ли мне аккаунт разработчика Weibo или API key?

Нет. Weibo Real-Time Hot Search работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Weibo.

Все 52 сохраненные строки доски — это органические ранги?

Нет. В полном сохраненном reference 50 обычных строк и две строки is_ad: 1 с дублирующимися значениями rank и без realpos. Сохраняйте переданные поля и представления закрепленных тем отдельно; ни порядок массива, ни длина ответа не гарантируют органический рейтинг.

Измеряет ли num поисковые запросы, просмотры или рост обсуждения?

Это поле heat провайдера, формула которого здесь не верифицирована. Один снимок не доказывает объем поиска, охват, тональность, рост или будущий спрос. Подписи и временные метки провайдера — это не точное время публикации темы.

При просмотре доски автоматически ищется ее первая тема?

Нет. Доска принимает пустой объект, и задача завершается после одного снимка. Запрос — это отдельный осознанный выбор. Отсутствующие поля word не подставляются молча, и за этим не следует fan-out поиска, polling или получение медиа.