Weibo Hot Search List
https://api.sandbase.ai/v1/api/weibo/web-v2/hot-search-summaryGet the complete real-time Weibo hot search ranking (top 50): keyword, rank, heat tag and search link for each trending topic.
- Prezzo
- $0.0015USD / chiamata
- Metodo
- POST
- Risposta
- JSON
- Parametri
- 0 obbligatori · 0 opzionali
Playground
[
{
"data": {
"data": [
{
"heat": "",
"is_top": true,
"keyword": "总书记指引宣传思想文化工作",
"keyword_url": "/weibo?q=%23%E6%80%BB%E4%B9%A6%E8%AE%B0%E6%8C%87%E5%BC%95%E5%AE%A3%E4%BC%A0%E6%80%9D%E6%83%B3%E6%96%87%E5%8C%96%E5%B7%A5%E4%BD%9C%23&Refer=new_time",
"rank": 0,
"tag": "热"
},
{
"heat": "",
"is_top": false,
"keyword": "疑似缅北电诈园区图片曝光",
"keyword_url": "/weibo?q=%E7%96%91%E4%BC%BC%E7%BC%85%E5%8C%97%E7%94%B5%E8%AF%88%E5%9B%AD%E5%8C%BA%E5%9B%BE%E7%89%87%E6%9B%9D%E5%85%89&t=31&band_rank=1&Refer=top",
"rank": 1,
"tag": ""
},
{
"heat": "",
"is_top": false,
"keyword": "华为PuraXView",
"keyword_url": "/weibo?q=%E5%8D%8E%E4%B8%BAPuraXView&t=31&band_rank=2&Refer=top",
"rank": 2,
"tag": "新"
},
"… 49 more items in the full response"
],
"total": 52
}
}
]Esempi
Seleziona un esempio per caricare i suoi input e il risultato nel playground.
README API
Weibo Hot Search List API
Returns the current Weibo hot search ranking as a list of trending topics. Each entry has a keyword, rank, tag and a search link. The request takes no input parameters.
Use cases
- Track which topics trend on Weibo right now and log the list at set times.
- Send an alert when a brand name or product keyword appears in the hot list.
- Build a daily report of trending topics and how long each stays in the ranking.
- Feed trending keywords into a post search to collect the discussion around each topic.
Request
curl -X POST "https://api.sandbase.ai/v1/api/weibo/web-v2/hot-search-summary" \
-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.
{
"data": [
{
"heat": "",
"is_top": true,
"keyword": "乌镇网事",
"keyword_url": "/weibo?q=%23%E4%B9%8C%E9%95%87%E7%BD%91%E4%BA%8B%23&Refer=new_time",
"rank": 0,
"tag": "热"
}
],
"total": 51
}
Response fields
| Field | Meaning |
|---|---|
data[].keyword | The trending topic text as shown on the hot search list. |
data[].rank | Position of the topic in the list. The first entry has rank set to 0, so the count starts at zero. |
data[].tag | Short label for the topic, such as 热 (hot) or 新 (new). |
data[].keyword_url | Relative Weibo search path for the topic. The q value is the URL-encoded keyword wrapped in # hashtag marks. |
data[].is_top | true for the pinned entry at the top of the list, false for the others. |
data[].heat | Heat value for the topic. It can be an empty string, as in the sample response. |
total | Number of items counted for the list. It can be one higher than the number of ranked entries. |
Notes
- The request body is an empty JSON object
{}. There is no pagination. keyword_urlis a relative path. Add the Weibo domain before you open it in a browser.- To read the posts behind a topic, pass the
keywordto Weibo Real-Time Search or Weibo Topic Search. - For a different view of the ranking, see Weibo Real-Time Hot Search.
Pricing
$0.0015 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Inizia a costruire
Invia la tua prima richiesta
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
curl -X POST "https://api.sandbase.ai/v1/api/weibo/web-v2/hot-search-summary" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. Autenticazione
Imposta la tua SandBase API key nell'ambiente del server. Le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la tua key sul server. Non esporla nel codice del browser.
3. Parametri
Non è stato pubblicato alcuno schema dei parametri per questa API.
4. Risposta
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
[
{
"data": {
"data": [
{
"heat": "",
"is_top": true,
"keyword": "总书记指引宣传思想文化工作",
"keyword_url": "/weibo?q=%23%E6%80%BB%E4%B9%A6%E8%AE%B0%E6%8C%87%E5%BC%95%E5%AE%A3%E4%BC%A0%E6%80%9D%E6%83%B3%E6%96%87%E5%8C%96%E5%B7%A5%E4%BD%9C%23&Refer=new_time",
"rank": 0,
"tag": "热"
},
{
"heat": "",
"is_top": false,
"keyword": "疑似缅北电诈园区图片曝光",
"keyword_url": "/weibo?q=%E7%96%91%E4%BC%BC%E7%BC%85%E5%8C%97%E7%94%B5%E8%AF%88%E5%9B%AD%E5%8C%BA%E5%9B%BE%E7%89%87%E6%9B%9D%E5%85%89&t=31&band_rank=1&Refer=top",
"rank": 1,
"tag": ""
},
{
"heat": "",
"is_top": false,
"keyword": "华为PuraXView",
"keyword_url": "/weibo?q=%E5%8D%8E%E4%B8%BAPuraXView&t=31&band_rank=2&Refer=top",
"rank": 2,
"tag": "新"
},
"… 49 more items in the full response"
],
"total": 52
}
}
]Esplora altro
API correlate
| API | Prezzo | Risposta |
|---|---|---|
Weibo Hot Search ListQuesta API Weibo | $0.0015 per chiamata | JSON |
Weibo | $0.001 per chiamata | JSON |
Weibo | $0.001 per chiamata | JSON |
Weibo | $0.001 per chiamata | JSON |
Weibo | $0.001 per chiamata | JSON |
Weibo | $0.001 per chiamata | JSON |
Domande
FAQ
Come uso l'API Weibo Hot Search List?
Invia una richiesta POST a https://api.sandbase.ai/v1/api/weibo/web-v2/hot-search-summary con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.
Quanto costa l'API Weibo Hot Search List?
$0.0015 per chiamata. Ogni organizzazione riceve 100 chiamate gratuite al giorno UTC, condivise tra le API SandBase idonee, inclusa questa; dopo, ogni chiamata viene addebitata a questo prezzo dal tuo saldo SandBase. Non c'è alcun abbonamento.
Quali parametri accetta l'API Weibo Hot Search List?
Weibo Hot Search List non accetta parametri di input; invia un body JSON vuoto.
Cosa restituisce l'API Weibo Hot Search List?
Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.
Mi serve un account sviluppatore o una chiave API Weibo?
No. Weibo Hot Search List funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Weibo.
