API di Weibo

Weibo Ricerca API

Cerca post Weibo pubblici con filtri facoltativi per risultati, media e tempo.

1,20 USD/1k richieste, paghi a richiesta, nessun abbonamento.

python - 微博搜索
s.weibo.com/weibo?q=python
微博
登录
综合实时热门视频图片

极客林工作室

September 23, 2025

用 Python 写了个自动整理照片的小脚本,附上代码截图,需要的自取

881331,920
Cosa ha restituito l'APIposts[0]
{
"id": "5290117743201456",
"url": "https://weibo.com/1722594714/5290117743201456",
"text": "用 Python 写了个自动整理照片的小脚本,附上代码截图,需要的自取",
"createdUtc": 1758636000,
"type": "original",
"authorName": "极客林工作室",
"authorImage": "https://tvax1.sinaimg.cn/crop.0.0.512.512.180/geeklin_avatar.jpg",
"likes": 1920,
... 5 campi in più
}
Disponibilità
88,00%
30d · 100 chiamate
Richieste
104
30 g · settimanale, ultime 12 sett.
Risposta
2,1s
mediana · 30d

Prezzi

Prezzi dell'API Weibo Ricerca

Paghi
12,00 USD
1,20 USD/1k richieste, solo per ciò che usi. Nessun piano mensile.
Le tue prime 83 richieste sono gratuite con il saldo iniziale di 0,10 USD.

Provalo

Ottieni Weibo Ricerca in una sola richiesta

Apri in
Risposta di esempio
Le esecuzioni gratuite restituiscono solo i primi 3 risultati. Ricarica una chiave per ottenere la risposta completa.

Questo esempio mostra 18 campi su 19. Vedi tutti i campi

{
  "found": true,
  "data": {
    "hasMore": true,
    "resultCount": 1284,
    "posts": [
      {
        "id": "5290117743201456",
        "url": "https://weibo.com/1722594714/5290117743201456",
        "text": "用 Python 写了个自动整理照片的小脚本,附上代码截图,需要的自取",
        "createdUtc": 1758636000,
        "type": "original",
        "authorName": "极客林工作室",
        "authorImage": "https://tvax1.sinaimg.cn/crop.0.0.512.512.180/geeklin_avatar.jpg",
        "likes": 1920,
        "comments": 133,
        "reposts": 88,
        "hasImage": true,
        "hasVideo": false,
        "authorUrl": "https://weibo.com/u/1722594714"
      },
      {
        "id": "5290120098345612",
        "url": "https://weibo.com/6390221145/5290120098345612",
        "text": "Python 3.13 新特性简单总结,性能提升挺明显的",
        "createdUtc": 1758639600,
        "type": "original",
        "authorName": "夜猫子小陈",
        "authorImage": "https://tvax3.sinaimg.cn/crop.0.0.400.400.180/xiaochen_avatar.jpg",
        "likes": 640,
        "comments": 41,
        "reposts": 22,
        "hasImage": false,
        "hasVideo": false,
        "authorUrl": "https://weibo.com/u/6390221145"
      },
      {
        "id": "5290122234567890",
        "url": "https://weibo.com/7002331890/5290122234567890",
        "text": "分享一个 Python 数据可视化教程视频,新手也能看懂",
        "createdUtc": 1758643200,
        "type": "video",
        "authorName": "数码测评君",
        "authorImage": "https://tvax4.sinaimg.cn/crop.0.0.400.400.180/pingce_avatar.jpg",
        "likes": 312,
        "comments": 19,
        "reposts": 8,
        "hasImage": false,
        "hasVideo": true,
        "authorUrl": "https://weibo.com/u/7002331890"
      }
    ]
  }
}

Riferimento completo di parametri e risposta - ogni campo, tipo ed esempio per questo endpoint.

Riferimento

Una richiesta, una sola forma di risposta.

Ogni campo che invii e ogni campo che ricevi, ciascuno con un esempio reale.

Ultima verifica 2026-11-21 · disponibilità e latenza misurate su 30d

Corpo della richiesta

JSON, inviato a questo endpoint.

  • querystring

    python

    Parola chiave di ricerca.

  • includeTypestring

    pic

    Filtro per media, come all, pic, video, music o link.

  • pageinteger

    1

    Numero di pagina a partire da 1.

  • searchTypestring

    hot

    Tipo di ricerca, come all, hot, original, verified, media o viewpoint.

  • timeScopestring

    Intervallo di tempo personalizzato nel formato custom:start:end dell'API.

Tu invii. Un piccolo corpo JSON. I valori mostrati sono esempi da sostituire con i tuoi.

Risposta

JSON, un valore di esempio per campo.

datadata

Search results and metadata, or null when none were found.

  • hasMoreboolean

    true

    Whether another result page is available.

  • resultCountinteger

    1284

    Result count reported for this page.

each postdata.posts[]

Normalized Weibo search results. Populated whenever the provider has data for the entity.

  • authorImagestring

    https://tvax1.sinaimg.cn/crop.0.0.512.512.180/geeklin_avatar.jpg

    Author avatar URL.

  • authorNamestring

    极客林工作室

    Author display name. Populated whenever the provider has data for the entity.

  • authorUrlstring

    https://weibo.com/u/1722594714

    Canonical URL of the author's Weibo profile.

  • commentsinteger

    133

    Comment count.

  • createdUtcnumber

    1758636000

    UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.

  • hasImageboolean

    true

    Whether the result contains an image.

  • hasVideoboolean

    false

    Whether the result contains a video.

  • idstring

    5290117743201456

    Post identifier. Populated whenever the provider has data for the entity.

  • likesinteger

    1920

    Like count.

  • repostsinteger

    88

    Repost count.

  • textstring

    用 Python 写了个自动整理照片的小脚本,附上代码截图,需要的自取

    Post text. Populated whenever the provider has data for the entity.

  • typestring

    original

    Post type.

  • urlstring

    https://weibo.com/1722594714/5290117743201456

    Canonical post URL. Populated whenever the provider has data for the entity.

top level
  • foundboolean

    true

    True when search results were found.

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

Tu ricevi. Campi con nome e tipo nella stessa struttura, qualunque fonte risponda.

FAQ

Sull'API Weibo Ricerca

L'API Weibo Ricerca di AnyAPI restituisce dati Weibo come JSON normalizzato da una sola chiamata POST a /v1/run/weibo.search. Cerca post Weibo pubblici con filtri facoltativi per risultati, media e tempo. AnyAPI restituisce un unico schema normalizzato qualunque fonte la serva. Costa da 1,20 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Negli ultimi 30 giorni, il 88,0% delle chiamate Weibo Ricerca tramite AnyAPI è riuscito, con un tempo di risposta mediano di 2,1 secondi su 100 chiamate misurate.

Costa da 1,20 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Ricarichi un portafoglio in USD e ogni chiamata lo scala. Alcune richieste fallite finanziate dal portafoglio comportano costi di elaborazione che trasferiamo al costo, senza ricarico; la risposta di errore mostra l'importo addebitato.

Cerca post Weibo pubblici con filtri facoltativi per risultati, media e tempo. La risposta è JSON normalizzato con la stessa busta che restituisce ogni endpoint AnyAPI, quindi analizzare un secondo endpoint significa cambiare l'URL e nient'altro.

Negli ultimi 30 giorni, il 88,0% delle chiamate Weibo Ricerca tramite AnyAPI è riuscito, con un tempo di risposta mediano di 2,1 secondi su 100 chiamate misurate. Sono misurazioni di AnyAPI sul traffico che passa dal gateway, ricalcolate di continuo, non un obiettivo di livello di servizio pubblicato.

Sì. Un nuovo account AnyAPI parte con 0,10 USD di saldo gratuito e senza bisogno di carta, che copre 83 chiamate Weibo Ricerca a 0,0012 USD ciascuna.

Invia una richiesta POST a https://api.getanyapi.com/v1/run/weibo.search con la tua chiave AnyAPI in un header "Authorization: Bearer" e l'input come corpo JSON. La stessa chiave e lo stesso portafoglio funzionano su ogni endpoint AnyAPI.

No. Aggiungi dollari statunitensi a un unico saldo prepagato AnyAPI e ogni richiesta lo scala. Non c'è un piano mensile né un minimo, e lo stesso saldo paga ogni endpoint AnyAPI.

Sì. Installa @getanyapi/sdk da npm per TypeScript o getanyapi da pip per Python. Entrambi chiamano ogni endpoint AnyAPI con la stessa chiave, e funziona anche qualsiasi client HTTP.

Sì. Un agente può collegarsi al server MCP di AnyAPI su https://api.getanyapi.com/mcp, oppure creare da solo la propria chiave di prova gratuita con un POST non autenticato a https://api.getanyapi.com/agent/signup e chiamare questo endpoint via HTTP.