Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Weibo Post Comments

เอกสาร API
https://api.sandbase.ai/v1/api/weibo/post-comments

Get comments for a Weibo post identified by MID, with optional maxId cursor pagination and time or hot sorting.

ราคา
$0.014286USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 2 ไม่บังคับ

Playground

อินพุต
Weibo post mid.
Sort order for the result set.
Pagination cursor returned by the previous response.
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

Weibo Post Comments API

Returns the comments on a Weibo post. It needs the post mid and returns a page of comments with text, author, like count and posting time. You can sort by TIME or HOT and page through results with a cursor.

Use cases

  • Collect public reactions to a Weibo post for sentiment analysis.
  • Track how many comments a post has gathered and which ones get the most likes.
  • Study where commenters are posting from using the source field.
  • Export comment text and author details for moderation or research.

Request

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

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

Parameters

NameTypeRequiredDescription
midstringYesWeibo post mid.
maxIdstringNoPagination cursor returned by the previous response.
sortstringNoSort order for the result set.

Example response

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

{
  "data": [
    {
      "allow_follow": false,
      "analysis_extra": "author_uid:2803301701|mid:5359793518938198|rid:2022842004866702828",
      "biz_mark_type": 0,
      "cmt_ext": "level_type:1",
      "comment_bubble": {
        "end_color": "#1AA55DAB",
        "end_color_dark": "#33A55DAB",
        "icon_url": "https://h5.sinaimg.cn/upload/100/1720/2023/06/14/commentbubble_zuan_A55DAB.png",
        "id": "zuan_0001",
        "name": "钻粉专属",
        "obtain_type": 3,
        "start_color": "#00A55DAB",
        "start_color_dark": "#00A55DAB"
      },
      "comments": [],
      "created_at": "Fri Oct 30 19:21:31 +0800 2026",
      "degrade_type": "normal",
      "disable_reply": 0,
      "floor_number": 79,
      "hasvisible": false,
      "id": 5359799699247641
    }
  ],
  "filter_group": [
    {
      "isDefault": 0,
      "param": "flow=0",
      "scheme": "",
      "title": "按热度"
    }
  ],
  "header_text": "以下为博主精选评论 ",
  "max_id": 0,
  "ok": 1,
  "rootComment": [],
  "tip_msg": "",
  "total_number": 384,
  "trendsText": "博主已开启评论精选"
}

Response fields

FieldMeaning
data[]The list of comments on this page. Each item is one top-level comment.
data[].text_raw / data[].textThe comment text as written by the user.
data[].created_atWhen the comment was posted, in a format like Fri Oct 30 19:21:31 +0800 2026.
data[].like_countsNumber of likes on the comment.
data[].floor_numberThe comment's floor number in the thread.
data[].idstr / data[].midThe comment's own ID as a string. It differs from the mid of the post you requested.
data[].sourceWhere the comment was posted from, such as a province name with a 来自 prefix.
data[].user.followers_countFollower count of the commenter. The user object also holds avatar URLs and the profile description.
data[].commentsNested replies to the comment. It is empty in this response.
total_numberTotal number of comments reported for the post.
max_idCursor for the next page. A value of 0 means the response gives no further cursor.

Notes

  • Take the post mid from a post detail or user feed response. Weibo Post Detail returns post data.
  • For the next page, pass the max_id value from the response as maxId. Stop when max_id is 0.
  • sort accepts TIME (default) or HOT.
  • To read replies under a comment, call Weibo Post Sub-Comments.

Pricing

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

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
Weibo Post CommentsAPI นี้
Weibo
$0.014286 ต่อการเรียก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

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Weibo Post Comments API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/weibo/post-comments โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Weibo Post Comments API ราคาเท่าไร?

$0.014286 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Weibo Post Comments API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: mid (string). ตัวเลือก: sort (หนึ่งใน TIME, HOT) และ maxId (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Weibo Post Comments API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Weibo ไหม?

ไม่จำเป็น Weibo Post Comments ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Weibo API แยกต่างหาก