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

Weibo Post Comments (App)

Документация 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.

Цена
$0.001USD / вызов
Метод
POST
Ответ
JSON
Параметры
1 обязательных · 2 необязательных

Песочница

Ввод
Post ID or Video ID (required)
Pagination cursor, don't pass for first request, use returned max_id for subsequent requests
Comment sort type
ВыходГотово

Ваш результат появится здесь

Заполните входные данные, затем нажмите «Запустить».

README по 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.

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

Связанные 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 Post Comments (App)?

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

Сколько стоит API Weibo Post Comments (App)?

$0.001 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.

Какие параметры принимает API Weibo Post Comments (App)?

Обязательные: status_id (string). Необязательные: max_id (any) и sort_type (string). В таблице Parameters и в Playground на этой странице перечислены все поля.

Что возвращает API Weibo Post Comments (App)?

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

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

Нет. Weibo Post Comments (App) работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Weibo.