midstring必須
Video post ID or ID from link (required)
https://api.sandbase.ai/v1/api/weibo/app/video-detailRetrieves detailed information for a single Weibo video, including playback URLs and metadata, based on a specified post identifier.
[
{
"data": {
"status": {
"ad_marked": false,
"appid": 692,
"attitudes_animation": 1,
"attitudes_count": 651,
"attitudes_status": 0,
"bottom_bar_dyna": {
"cell_item": {
"category": "dynamic",
"itemExt": {
"bizType": "common"
},
"type": "detailBottomBarDefaultButtonStyle"
}
},
"can_edit": false,
"can_reprint": false,
"comment_guide_ext": "guide_type:-1|source:0",
"comment_guide_placeholder": "让大家听到你的声音",
"comment_manage_info": {
"approval_comment_type": 0,
"comment_permission_type": -1,
"comment_sort_type": 0
},
"comments_count": 59,
"content_auth": 0,
"created_at": "Fri Dec 12 10:32:50 +0800 2025",
"detail_bottom_bar": 0,
"edit_config": {
"edited": false
},
"enable_comment_guide": true,
"extend_info": {
"video_collection": {
"collection_oid": "1022:2319945242364034482236",
"video_oid": "1034:5242975572394012"
}
},
"favorited": false,
"favorites_count": 0,
"fid": 5242976283656720,
"fidStr": "5242976283656720",
"gif_ids": "",
"hide_flag": 0,
"id": 5242977759006596,
"idStr": "5242977759006596",
"idstr": "5242977759006596",
"isLongText": false,
"is_content_only": false,
"is_fold": 0,
"is_paid": false,
"is_show_bulletin": 2,
"is_show_mixed": false,
"item_category": "status",
"mblog_menus": [
{
"actionlog": {
"act_code": 1472,
"act_type": 1,
"id": "5242977759006596",
"materiel_type": 25,
"mid": 5242977759006596,
"midStr": "5242977759006596",
"scene": 1,
"source": "like_reduce",
"spr": "uicode:10001054|fid:232312|lfid:|luicode:10000003|fromlog:",
"unLike_type": 2
},
"icon": "https://h5.sinaimg.cn/upload/100/1413/2022/04/26/1.png",
"icon_dark": "https://h5.sinaimg.cn/upload/100/1413/2022/04/26/1d.png",
"name": "不想看此视频",
"type": "mblog_menus_no_interst"
},
{
"actionlog": {
"act_code": 1473,
"act_type": 1,
"id": "5677286398",
"materiel_type": 25,
"mid": 5242977759006596,
"midStr": "5242977759006596",
"scene": 1,
"source": "like_reduce",
"spr": "uicode:10001054|fid:232312|lfid:|luicode:10000003|fromlog:",
"unLike_type": 1
},
"icon": "https://h5.sinaimg.cn/upload/100/1413/2022/04/26/2.png",
"icon_dark": "https://h5.sinaimg.cn/upload/100/1413/2022/04/26/2d.png",
"name": "不想看该博主",
"type": "mblog_menus_no_interst"
},
"… 3 more items in the full response"
],
"mblog_vip_type": 0,
"mblogid": "Qi22XBN1G",
"mblogtype": 0,
"mid": "5242977759006596",
"mixed_count": 0,
"…": "37 more fields in the full response"
}
}
}
]例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。
Retrieve detailed video metadata and playback URLs using a specific mid.
curl -X POST "https://api.sandbase.ai/v1/api/weibo/app/video-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"mid": "5242977759006596"}'
| Name | Type | Required | Description |
|---|---|---|---|
mid | string | Yes | Video post ID or ID from link (required) |
Real response for the request above, trimmed to the main fields. User names and long IDs are masked.
{
"status": {
"video_info": {
"menus": [
{}
]
}
}
}
mid.Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
curl -X POST "https://api.sandbase.ai/v1/api/weibo/app/video-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"mid": "5242977759006596"
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
midstring必須Video post ID or ID from link (required)
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
[
{
"data": {
"status": {
"ad_marked": false,
"appid": 692,
"attitudes_animation": 1,
"attitudes_count": 651,
"attitudes_status": 0,
"bottom_bar_dyna": {
"cell_item": {
"category": "dynamic",
"itemExt": {
"bizType": "common"
},
"type": "detailBottomBarDefaultButtonStyle"
}
},
"can_edit": false,
"can_reprint": false,
"comment_guide_ext": "guide_type:-1|source:0",
"comment_guide_placeholder": "让大家听到你的声音",
"comment_manage_info": {
"approval_comment_type": 0,
"comment_permission_type": -1,
"comment_sort_type": 0
},
"comments_count": 59,
"content_auth": 0,
"created_at": "Fri Dec 12 10:32:50 +0800 2025",
"detail_bottom_bar": 0,
"edit_config": {
"edited": false
},
"enable_comment_guide": true,
"extend_info": {
"video_collection": {
"collection_oid": "1022:2319945242364034482236",
"video_oid": "1034:5242975572394012"
}
},
"favorited": false,
"favorites_count": 0,
"fid": 5242976283656720,
"fidStr": "5242976283656720",
"gif_ids": "",
"hide_flag": 0,
"id": 5242977759006596,
"idStr": "5242977759006596",
"idstr": "5242977759006596",
"isLongText": false,
"is_content_only": false,
"is_fold": 0,
"is_paid": false,
"is_show_bulletin": 2,
"is_show_mixed": false,
"item_category": "status",
"mblog_menus": [
{
"actionlog": {
"act_code": 1472,
"act_type": 1,
"id": "5242977759006596",
"materiel_type": 25,
"mid": 5242977759006596,
"midStr": "5242977759006596",
"scene": 1,
"source": "like_reduce",
"spr": "uicode:10001054|fid:232312|lfid:|luicode:10000003|fromlog:",
"unLike_type": 2
},
"icon": "https://h5.sinaimg.cn/upload/100/1413/2022/04/26/1.png",
"icon_dark": "https://h5.sinaimg.cn/upload/100/1413/2022/04/26/1d.png",
"name": "不想看此视频",
"type": "mblog_menus_no_interst"
},
{
"actionlog": {
"act_code": 1473,
"act_type": 1,
"id": "5677286398",
"materiel_type": 25,
"mid": 5242977759006596,
"midStr": "5242977759006596",
"scene": 1,
"source": "like_reduce",
"spr": "uicode:10001054|fid:232312|lfid:|luicode:10000003|fromlog:",
"unLike_type": 1
},
"icon": "https://h5.sinaimg.cn/upload/100/1413/2022/04/26/2.png",
"icon_dark": "https://h5.sinaimg.cn/upload/100/1413/2022/04/26/2d.png",
"name": "不想看该博主",
"type": "mblog_menus_no_interst"
},
"… 3 more items in the full response"
],
"mblog_vip_type": 0,
"mblogid": "Qi22XBN1G",
"mblogtype": 0,
"mid": "5242977759006596",
"mixed_count": 0,
"…": "37 more fields in the full response"
}
}
}
]さらに探索
| API | 価格 | レスポンス |
|---|---|---|
Weibo Video Detailこの 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 |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/weibo/app/video-detail に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.001。各組織には UTC 日ごとに 100 回の無料呼び出しが付与され、この API を含む対象の SandBase API 全体で共有されます。それ以降は、各呼び出しが SandBase 残高からこの料金で課金されます。サブスクリプションはありません。
必須: mid (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。Weibo Video Detail は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Weibo の API アクセスを別途申請する必要はありません。