Weibo Real-Time Hot Search
https://api.sandbase.ai/v1/api/weibo/web-v2/hot-searchGet 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개
Playground
[
{
"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"
]
}
}
]예시
예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.
API README
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
| Field | Meaning |
|---|---|
realtime[].word | The hot search keyword as plain text. |
realtime[].word_scheme | Reported topic-tag representation when present. An independently selected search query is a separate task; do not auto-chain it. |
realtime[].num | Provider heat value with unverified formula; not search volume, views or measured growth. |
realtime[].rank | Supplied rank; promotional rows can duplicate it. Do not substitute array position for organic rank. |
realtime[].realpos | Supplied ordinary position when present; advertisement rows can omit it. |
realtime[].label_name | Text label for the topic, such as 热 (hot) or 新 (new). |
realtime[].icon_desc / realtime[].icon_desc_color | The text and color code of the label badge shown beside the topic. |
realtime[].icon | URL of the label badge image. |
hotgov.word / hotgov.url | The 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[].pos | Pinned 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.
빌드를 시작하세요
첫 요청 보내기
통합 인증 및 사용량 추적이 있는 플랫폼 API 엔드포인트입니다.
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 '{}'2. 인증
서버 환경에 SandBase API 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
3. 파라미터
이 API에 대해 게시된 파라미터 스키마가 없습니다.
4. 응답
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
[
{
"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"
]
}
}
]더 살펴보기
관련 API
| 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 |
질문
FAQ
Weibo Real-Time Hot Search API를 어떻게 사용하나요?
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/weibo/web-v2/hot-search에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
Weibo Real-Time Hot Search API 비용은 얼마인가요?
호출당 $0.001. 모든 조직은 UTC 기준 하루에 100회의 무료 호출을 받으며, 이 API를 포함한 사용 가능 SandBase API 전반에서 공유됩니다. 이후에는 각 호출이 SandBase 잔액에서 이 요금으로 청구됩니다. 구독은 없습니다.
Weibo Real-Time Hot Search API는 어떤 매개변수를 받나요?
Weibo Real-Time Hot Search은 입력 매개변수를 받지 않습니다. 빈 JSON 본문을 보내세요.
Weibo Real-Time Hot Search API는 무엇을 반환하나요?
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
Weibo 개발자 계정이나 API 키가 필요한가요?
아니요. Weibo Real-Time Hot Search은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Weibo API 액세스를 별도로 신청할 필요는 없습니다.
저장된 52개 보드 행이 모두 자연 순위인가요?
아니요. 저장된 전체 참조에는 일반 행 50개와 is_ad: 1 행 2개가 있으며, 이 행들은 rank 값이 중복되고 realpos가 없습니다. 제공된 필드와 고정 주제 표현을 각각 유지하세요. 배열 순서나 응답 길이가 자연 순위를 보장하지 않습니다.
num은 검색, 조회, 또는 논의 증가를 측정하나요?
그 값은 제공자 heat 필드이며, 그 공식은 여기서 검증되지 않았습니다. 한 번의 스냅샷만으로는 검색량, 도달, 감정, 성장, 향후 수요를 입증할 수 없습니다. 표시 라벨과 제공자 타임스탬프는 정확한 주제 게시 시점이 아닙니다.
보드를 살펴보면 자동으로 첫 번째 주제를 검색하나요?
아니요. 보드는 빈 객체를 받고 작업은 한 번의 스냅샷으로 끝납니다. 쿼리는 의도적으로 별도로 선택해야 합니다. 누락된 word 필드는 조용히 대체되지 않으며, 검색 확장, 폴링, 미디어 가져오기도 뒤따르지 않습니다.
