Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Weibo User Video Collection Detail

API 文件
https://api.sandbase.ai/v1/api/weibo/web-v2/user-video-collection-detail

Retrieves detailed information and video listings for a specified Weibo video collection. Supports sorting by default, hottest, or latest videos, alongside cursor-based pagination.

價格
$0.001美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 2 個選填

Playground

輸入
Collection ID (required, get from fetch_user_video_collection_list)
Pagination cursor, pass empty for first request, use returned cursor for subsequent
Sort type (0=default, 1=hottest, 2=latest)
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

Weibo User Video Collection Detail API

Returns the videos in one Weibo video collection, plus a header with the collection's page segments and sort tabs. It needs the collection ID in cid. You can sort by default, hottest or latest and page with a cursor.

Use cases

  • Export every video post in a creator's themed collection, such as a celebrity edit series.
  • Rank the videos in a collection by attitudes_count, comments_count and reposts_count to find the best performers.
  • Collect cover images and durations to build a video gallery for a collection.
  • Page through a long collection in hottest or latest order to track new uploads.

Request

curl -X POST "https://api.sandbase.ai/v1/api/weibo/web-v2/user-video-collection-detail" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"cid": "4883992307236954"}'

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

Parameters

NameTypeRequiredDescription
cidstringYesCollection ID (required, get from fetch_user_video_collection_list)
cursorstringNoPagination cursor, pass empty for first request, use returned cursor for subsequent
tab_codeintegerNoSort type (0=default, 1=hottest, 2=latest)

Example response

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

{
  "header": {
    "page_segment_size": 20,
    "page_segments": [
      {
        "action_log": {
          "act_code": 5599,
          "ext": "type:2|t_id:4883992307236954|t_name:%E5%89%AA%E8%BE%91|mid:null|oid:null"
        },
        "first_cursor": 4883992359471289,
        "first_cursorStr": "4883992359471289",
        "last_cursor": 4890466766557477,
        "last_cursorStr": "4890466766557477",
        "page_index": 0,
        "part_name": "1-20",
        "part_state": 1
      }
    ],
    "tabs": [
      {
        "code": 0,
        "name": "默认",
        "type": 0
      }
    ]
  },
  "list": [
    {
      "analysis_extra": "",
      "annotations": [
        []
      ],
      "attitudes_count": 121,
      "attitudes_status": 0,
      "can_edit": false,
      "cardid": "star_329",
      "comment_manage_info": {
        "approval_comment_type": 0,
        "comment_anon_type": 0,
        "comment_permission_type": -1,
        "comment_sort_type": 0
      },
      "comments_count": 1,
      "content_auth": 0,
      "created_at": "Mon Mar 27 19:53:01 +0800 2023",
      "favorited": false,
      "id": 4883992359471289
    }
  ],
  "next_cursor": 4890787378892026
}

Response fields

FieldMeaning
list[]One video post in the collection. Each item is a Weibo post with its counts, time and video details.
list[].mid / list[].idstrPost ID as a number-like string. id holds the same value as a number.
list[].mblogidShort post ID. It is a different format from mid.
list[].created_atPublish time as a text date, for example Mon Mar 27 19:53:01 +0800 2023.
list[].attitudes_count / list[].comments_count / list[].reposts_countCounts of likes, comments and reposts on the post.
list[].region_nameRegion label shown with the post, for example 发布于 辽宁.
list[].page_info.content2Short label shown on the video card. In this response it holds a person's name.
list[].page_info.media_info.author_nameDisplay name of the account that posted the video.
list[].page_info.media_info.durationVideo length. The values are small whole numbers, such as 16.
list[].page_info.media_info.big_pic_info.pic_big.urlCover image URL at the largest size. pic_middle and pic_small hold smaller versions with width and height.
next_cursorCursor value to send as cursor to get the next page of videos.
header.tabs[]Sort options with code and name. The codes match the tab_code values 0, 1 and 2.

Notes

  • Get cid from the Weibo User Video Collection List API.
  • Leave cursor empty on the first call. Then pass next_cursor from the previous response.
  • header.page_segments[] splits the collection into ranges such as 1-20 and 21-30. Each range has first_cursorStr and last_cursorStr.
  • Set tab_code to 0 for default, 1 for hottest or 2 for latest order.

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.001JSON
Weibo每次呼叫 $0.001JSON
Weibo每次呼叫 $0.001JSON
Weibo每次呼叫 $0.001JSON
Weibo每次呼叫 $0.001JSON
Weibo每次呼叫 $0.001JSON

指南:Best Weibo API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Weibo User Video Collection Detail API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/weibo/web-v2/user-video-collection-detail。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Weibo User Video Collection Detail API 的費用是多少?

每次 $0.001,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Weibo User Video Collection Detail API 接受哪些參數?

必要:cid (string)。 選填:cursor (string) 和 tab_code (integer)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Weibo User Video Collection Detail API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Weibo 開發者帳號或 API 金鑰嗎?

不需要。Weibo User Video Collection Detail 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Weibo API 存取權。