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

Weibo User Timeline

เอกสาร API
https://api.sandbase.ai/v1/api/weibo/app/user-timeline

Get the posts on a Weibo user's timeline: text, publish time, region, images and repost, comment and like counts, with page and month filters.

ราคา
$0.001USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 3 ไม่บังคับ
100 คำขอฟรี / วันคำขอ 100 ครั้งแรกต่อวันฟรี (ใช้ร่วมกันภายในองค์กร) · รีเซ็ตเวลา 00:00 UTC จากนั้นคิดค่าบริการตามจำนวนคำขอ

Playground

อินพุต
User ID (required)
Filter type (default "all")
Time filter parameter, format YYYYMMDD (only used when filter_type=month)
Page number, starts from 1 (default 1) ขั้นต่ำ: 1.
เอาต์พุตพร้อมใช้งาน

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

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

API README

Weibo User Timeline API

Returns a page of posts from a Weibo user's timeline. Each post carries its text, publish time, region, images and repost, comment and like counts. You pass the user ID as uid, and you can set page, filter_type and month to narrow the results.

Use cases

  • Track what a brand, media outlet or public figure posts on Weibo.
  • Compare like counts across an account's recent posts to see which ones drew the most reaction.
  • Collect the images and check-in places attached to a user's posts.
  • Pull a single month of an account's posts with filter_type set to month.

Request

curl -X POST "https://api.sandbase.ai/v1/api/weibo/app/user-timeline" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"uid": "7648703289"}'

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

Parameters

NameTypeRequiredDescription
uidstringYesUser ID (required)
filter_typestringNoFilter type (default "all")
monthstringNoTime filter parameter, format YYYYMMDD (only used when filter_type=month)
pageintegerNoPage number, starts from 1 (default 1)

Example response

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

{
  "config": "{}",
  "dsl": {
    "config": {
      "name": "dynamic",
      "version": "1643769",
      "xml": [
        {
          "bType": "profile",
          "cVersion": "13.3.4",
          "name": "profile_dyna_avatars.xml",
          "signature": "dec06681…"
        }
      ]
    },
    "version": "1643769",
    "xml": [
      {
        "layout": "%3C%3Fxml+version%3D%221.0%22+encoding%3D%22utf-8%22%3F%3E+%3CRootLayout+xmlns%3…",
        "name": "profile_dyna_avatars.xml"
      }
    ]
  },
  "items": [
    {
      "category": "card",
      "data": {
        "card_type": 216,
        "filter_scheme": "sinaweibo://wbaction_filterdialog?select_containerid=1076037648703289_-_WEIBO_SE…",
        "left_hint": [
          {
            "content": "全部微博(1136)",
            "style": {
              "textColor": "#ff828282",
              "textSize": 13
            },
            "type": "text"
          }
        ],
        "openurl": "",
        "right_filter": [
          {
            "iconUrl": "https://d.sinaimg.cn/prd/1059/799/2025/06/20/shaixuan.png",
            "style": {
              "darkMode": "urlAppend",
              "height": 15,
              "width": 15
            },
            "type": "icon"
          }
        ]
      },
      "itemExt": {
        "anchorId": "2161793691976"
      },
      "style": {
        "margin": [
          0.0
        ],
        "padding": [
          0.0
        ]
      }
    }
  ],
  "loadedInfo": "{}",
  "moreInfo": {
    "autoLoadMoreIndex": 10,
    "error": "网络加载失败,请稍后尝试",
    "loading": "正在加载更多",
    "moreType": "default",
    "pagingType": "cursor",
    "params": {
      "count": 20,
      "max_id": 0,
      "page": 2
    }
  },
  "navInfo": "{}",
  "pageData": "{}",
  "refreshInfo": "{}"
}

Response fields

FieldMeaning
items[].categoryType of each entry. card is a header block with the filter and post count, and feed is an actual post.
items[].data.left_hint[].contentLabel on the header card that shows the total post count for the account, for example 全部微博(1136).
items[].data.attitudes_countLike count of the post.
items[].data.bmiddle_picURL of the medium-size image attached to the post, when it has one.
items[].data.annotations[].place.title / items[].data.annotations[].place.poiidName and ID of the place tagged on the post. The type next to them is checkin in the sample.
items[].data.analysis_extraPipe-separated string of key:value pairs. It includes ouid, the user ID of the account that owns the timeline.
items[].itemExt.anchorId / items[].itemExt.extraItemIdID of the feed entry. It joins the timeline container ID and the post ID with _-_.
moreInfo.params.page / moreInfo.params.count / moreInfo.params.max_idPaging values for the next request. In the sample, page is 2 and count is 20.
moreInfo.pagingTypePaging style the response reports. The sample returns cursor.

Notes

  • The first item in items is a card with the filter and total post count. Posts are the items where category is feed.
  • Set page to get later pages. It starts at 1. moreInfo.params.page shows the next page number.
  • To filter by month, set filter_type to month and pass month as YYYYMMDD. month is ignored for other filter types.
  • Use Weibo User Profile Information for the account's profile, and Weibo Post Comments (App) for comments on a post.

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 User TimelineAPI นี้
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

คำถาม

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

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

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

Weibo User Timeline API ราคาเท่าไร?

$0.001 ต่อครั้ง ทุกองค์กรจะได้รับคำขอฟรี 100 ครั้งต่อวัน UTC โดยใช้ร่วมกันใน SandBase APIs ที่เข้าเงื่อนไขรวมถึงรายการนี้ หลังจากนั้นแต่ละคำขอจะคิดค่าบริการตามราคานี้จากยอดคงเหลือ SandBase ของคุณ ไม่มีค่าสมาชิกรายเดือน

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

ที่ต้องระบุ: uid (string). ตัวเลือก: filter_type (string), month (any) และ page (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Weibo User Timeline API ส่งคืนอะไร?

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

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

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