uidstring必須
Weibo User ID (UID).
https://api.sandbase.ai/v1/api/weibo/user-video-listGet a Weibo user's video waterfall feed by UID, with an optional cursor from a prior response. Use it to browse videos published by a known account or continue through its video feed.
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
Returns a page of videos posted by a Weibo account, taken from its video feed. It needs the account's uid, and it accepts an optional cursor to fetch the next page.
next_cursor.curl -X POST "https://api.sandbase.ai/v1/api/weibo/user-video-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uid": "2803301701"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
uid | string | Yes | Weibo User ID (UID). |
cursor | string | No | Pagination cursor returned by the previous response. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"list": [
{
"analysis_extra": "",
"annotations": [
[]
],
"attitudes_count": 206,
"attitudes_status": 0,
"can_edit": false,
"cardid": "star_1624",
"comment_manage_info": {
"approval_comment_type": 0,
"comment_anon_type": 0,
"comment_permission_type": -1,
"comment_sort_type": 0
},
"comments_count": 81,
"content_auth": 0,
"created_at": "Tue Nov 03 14:21:45 +0800 2026",
"favorited": false,
"id": 5361173809858197
}
],
"next_cursor": "5360540163509216"
},
"ok": 1
}
| Field | Meaning |
|---|---|
data.list[] | One video post from the account's feed. |
data.list[].mblogid / data.list[].idstr | Post identifiers. mblogid is a short code such as RpFpqFmzb. idstr is the numeric post ID as a string. |
data.list[].created_at | Publish time of the post as text, for example Tue Nov 03 14:21:45 +0800 2026. |
data.list[].attitudes_count / data.list[].comments_count / data.list[].reposts_count | Counts of likes, comments and reposts on the post. |
data.list[].page_info.content2 | Caption text of the video post, including hashtags. |
data.list[].page_info.media_info.duration | Video length. The values seen are whole numbers such as 48. |
data.list[].page_info.media_info.author_name | Display name of the account that posted the video. |
data.list[].page_info.media_info.big_pic_info.pic_big.url | Cover image URL of the video in the largest size. pic_middle and pic_small hold smaller versions, each with width and height. |
data.list[].page_info.media_info.ext_info.video_orientation | Orientation of the video, for example vertical. |
data.next_cursor | Cursor string for the next page of videos. |
next_cursor from data.next_cursor as cursor, with the same uid, to get the next page.uid is the numeric Weibo user ID. The example uses 2803301701. page_info.author_id in each item shows the owner's UID.$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
curl -X POST "https://api.sandbase.ai/v1/api/weibo/user-video-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"uid": "2803301701"
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
uidstring必須Weibo User ID (UID).
cursorstringPagination cursor returned by the previous response.
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
保存済みレスポンスはまだ公開されていません。PlaygroundでAPIを実行し、レスポンスを確認してください。
さらに探索
| API | 価格 | レスポンス |
|---|---|---|
Weibo User Video Listこの API Weibo | $0.014286 / 回 | JSON |
Weibo | $0.001 / 回 | JSON |
Weibo | $0.001 / 回 | JSON |
Weibo | $0.001 / 回 | JSON |
Weibo | $0.001 / 回 | JSON |
Weibo | $0.001 / 回 | JSON |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/weibo/user-video-list に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.014286、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須: uid (string)。 任意: cursor (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。Weibo User Video List は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Weibo の API アクセスを別途申請する必要はありません。