Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

Weibo Post Comments (App)

Docs da API
https://api.sandbase.ai/v1/api/weibo/app/status-comments

Returns the first-level comments for a designated post or video on Weibo. Supports sorting options and cursor-based pagination for browsing discussion threads.

Preço
$0.001USD / chamada
Método
POST
Resposta
JSON
Parâmetros
1 obrigatórios · 2 opcionais

Playground

Entrada
Post ID or Video ID (required)
Pagination cursor, don't pass for first request, use returned max_id for subsequent requests
Comment sort type
SaídaPronto

Sua saída aparecerá aqui

Preencha as entradas e clique em Executar.

README da API

Weibo Post Comments (App) API

Returns the first-level comments under a Weibo post or video, along with a pagination cursor. It needs the post or video ID as status_id.

Use cases

  • Collect the top-level comments under a Weibo post to review how readers respond.
  • Page through a long comment thread with the returned max_id cursor.
  • Read the comment timestamps and floor numbers to see when a discussion was active.
  • Check the comment count and author tags in analysis_extra for a quick per-comment summary.

Request

curl -X POST "https://api.sandbase.ai/v1/api/weibo/app/status-comments" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"status_id": "5258708168476831"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
status_idstringYesPost ID or Video ID (required)
max_idstringNoPagination cursor, don't pass for first request, use returned max_id for subsequent requests
sort_typestringNoComment sort type

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "config": "{}",
  "items": [
    {
      "category": "detail",
      "data": {
        "tip_biz_type": 0,
        "tip_icon": "https://d.sinaimg.cn/prd/100/1985/2025/09/24/icon.png",
        "tip_icon_dark": "https://d.sinaimg.cn/prd/100/1985/2025/09/24/icon_dark.png",
        "tip_msg": "查看我的铁粉关系 查看详情",
        "tip_scheme": "sinaweibo://cardlist?containerid=231093_-_bigfans&extparam=7480401147",
        "tip_state": 0,
        "tip_struct": [
          {
            "color": "#507DAF",
            "color_dark": "#6290C3",
            "title": "查看详情"
          }
        ],
        "tip_type": 3
      },
      "type": "comment_header_tip"
    }
  ],
  "loadedInfo": "{}",
  "moreInfo": {
    "error": "网络加载失败,请稍后尝试",
    "loading": "正在加载更多",
    "moreType": "default",
    "pagingType": "cursor",
    "params": {
      "count": 20,
      "lastAdInterval": 10,
      "max_id": 138889559850779,
      "max_id_type": 0,
      "recommend_max_id": 0,
      "recommend_page": 0
    }
  },
  "pageData": "{}"
}

Response fields

FieldMeaning
items[]List of cards on the page. The first card can be a header tip and the rest are comments. Check type to tell them apart.
items[].typeCard kind. comment marks a comment card and comment_header_tip marks a notice shown above the comments.
items[].data.created_atTime the comment was posted, as text such as Sun Jan 25 16:55:24 +0800 2026.
items[].data.floor_numberFloor number of the comment in the thread.
items[].data.analysis_extraPipe-separated text with author_uid, mid (the post ID), page, index and comment_count.
items[].data.comment_bubble.name / items[].data.comment_bubble.idName and ID of the bubble style attached to the comment, for example 金粉专属.
items[].data.disable_replyFlag for whether replies are turned off for this comment. 0 is the value in this response.
moreInfo.params.max_idCursor for the next page. Pass it as max_id in the next request.
moreInfo.params.countNumber of items per page, 20 in this response.
moreInfo.pagingTypePaging style. The value cursor means pages are fetched with a cursor.

Notes

  • A post with no comments returns a target not found error instead of an empty list, and the call is not charged. To skip those posts, check comments_count with Weibo Post Detail first.
  • Leave out max_id on the first call. For later pages, copy the value from moreInfo.params.max_id.
  • status_id is the numeric post or video ID, such as 5258708168476831. It also appears as mid inside analysis_extra.
  • The response mixes card types in items. Filter on type equal to comment to keep only comments.
  • To get the post itself, call Weibo Post Detail (App).

Pricing

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

Explorar mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
Weibo$0.001 por chamadaJSON
Weibo$0.001 por chamadaJSON
Weibo$0.001 por chamadaJSON
Weibo$0.001 por chamadaJSON
Weibo$0.001 por chamadaJSON
Weibo$0.001 por chamadaJSON

Guias:Best Weibo API in 2026: Pricing Compared

Perguntas

FAQ

Como eu uso a API Weibo Post Comments (App)?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/weibo/app/status-comments com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.

Quanto custa a API Weibo Post Comments (App)?

$0.001 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.

Quais parâmetros a API Weibo Post Comments (App) aceita?

Obrigatórios: status_id (string). Opcionais: max_id (any) e sort_type (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.

O que a API Weibo Post Comments (App) retorna?

Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.

Preciso de uma conta de desenvolvedor Weibo ou de uma chave de API?

Não. Weibo Post Comments (App) funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Weibo separadamente.