uidstringआवश्यक
User UID
https://api.sandbase.ai/v1/api/bilibili/web/user-post-videosReturns videos posted on a Bilibili user's homepage. Query by user identifier with options to control sorting order and page number.
[
{
"data": {
"code": 0,
"data": {
"episodic_button": {
"text": "播放全部",
"uri": "//www.bilibili.com/medialist/play/178360345?from=space"
},
"gaia_data": null,
"gaia_res_type": 0,
"is_risk": false,
"list": {
"slist": [],
"tlist": null,
"vlist": [
{
"aid": 112873720252518,
"attribute": 16512,
"author": "Azulsolitan",
"bvid": "BV1d4vzenECe",
"comment": 3,
"copyright": "1",
"created": 1722316574,
"description": "",
"elec_arc_badge": "",
"elec_arc_type": 0,
"enable_vt": 0,
"hide_click": false,
"is_avoided": 0,
"is_charging_arc": false,
"is_lesson_finished": 0,
"is_lesson_video": 0,
"is_live_playback": 0,
"is_pay": 0,
"is_self_view": false,
"is_steins_gate": 0,
"is_union_video": 0,
"jump_url": "",
"length": "01:51",
"lesson_update_info": "",
"meta": null,
"mid": 178360345,
"pic": "http://i1.hdslb.com/bfs/archive/abda1865c5379d60092a1a5f3f4bca60f865d09c.jpg",
"play": 340,
"playback_position": 0,
"review": 0,
"season_id": 0,
"subtitle": "",
"title": "新手:太刀侠怎么打黄金吗喽?老手:↑ ↓ ↑ → ← → ← →",
"typeid": 17,
"video_review": 3,
"view_self_type": 0,
"vt": 0,
"vt_display": ""
},
{
"aid": 112659609422497,
"attribute": 16512,
"author": "Azulsolitan",
"bvid": "BV1AkgYeSEPp",
"comment": 0,
"copyright": "1",
"created": 1719050068,
"description": "",
"elec_arc_badge": "",
"elec_arc_type": 0,
"enable_vt": 0,
"hide_click": false,
"is_avoided": 0,
"is_charging_arc": false,
"is_lesson_finished": 0,
"is_lesson_video": 0,
"is_live_playback": 0,
"is_pay": 0,
"is_self_view": false,
"is_steins_gate": 0,
"is_union_video": 0,
"jump_url": "",
"length": "03:34",
"lesson_update_info": "",
"meta": null,
"mid": 178360345,
"pic": "http://i0.hdslb.com/bfs/archive/db4290c2e3ea2758296d156c854f629cb4bead0b.jpg",
"play": 244,
"playback_position": 0,
"review": 0,
"season_id": 0,
"subtitle": "",
"title": "恐怖萌宝强如怪物,xdx与其鏖战数个小时,将其斩于马下,望周知",
"typeid": 17,
"video_review": 0,
"view_self_type": 0,
"vt": 0,
"vt_display": ""
},
{
"aid": 532554023,
"attribute": 16512,
"author": "Azulsolitan",
"bvid": "BV1Xu41177nj",
"comment": 6,
"copyright": "1",
"created": 1692606600,
"description": "基于微软azure语音识别技术,识别人声,启动原神同时播放启动小曲。目前还不发布,因为还包含azure语音识别接口的key,这期视频播放数据好的话会考虑打包成exe发布。",
"elec_arc_badge": "",
"elec_arc_type": 0,
"enable_vt": 0,
"hide_click": false,
"is_avoided": 0,
"is_charging_arc": false,
"is_lesson_finished": 0,
"is_lesson_video": 0,
"is_live_playback": 0,
"is_pay": 0,
"is_self_view": false,
"is_steins_gate": 0,
"is_union_video": 0,
"jump_url": "",
"length": "00:47",
"lesson_update_info": "",
"meta": null,
"mid": 178360345,
"pic": "http://i2.hdslb.com/bfs/archive/75592baf483e6df7f09419ee0572613a6f1ff4a1.jpg",
"play": 612,
"playback_position": 0,
"review": 0,
"season_id": 0,
"subtitle": "",
"title": "Python: 原神,启动!| python实现语音启动原神",
"typeid": 138,
"video_review": 0,
"view_self_type": 0,
"vt": 0,
"vt_display": ""
},
"… 2 more items in the full response"
]
},
"page": {
"count": 5,
"pn": 1,
"ps": 25
}
},
"message": "OK",
"ttl": 1
}
}
]प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
Returns the videos posted on a Bilibili user's homepage, one page at a time. It needs the user's decimal uid encoded as a string and accepts optional pn and order parameters.
curl -X POST "https://api.sandbase.ai/v1/api/bilibili/web/user-post-videos" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uid": "178360345"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
uid | string | Yes | User UID |
order | string | No | Order method |
pn | integer | No | Page number |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": {
"episodic_button": {
"text": "播放全部",
"uri": "//www.bilibili.com/medialist/play/178360345?from=space"
},
"gaia_data": null,
"gaia_res_type": 0,
"is_risk": false,
"list": {
"slist": [],
"tlist": null,
"vlist": [
{
"aid": 117346609990524,
"attribute": 16384,
"author": "Azulsolitan",
"bvid": "BV1RMaq65EAH",
"comment": 0,
"copyright": "3",
"created": 1790567470,
"description": ""
}
]
},
"page": {
"count": 6,
"pn": 1,
"ps": 25
}
},
"message": "OK",
"ttl": 1
}
| Field | Meaning |
|---|---|
data.list.vlist[] | The videos on the requested page. Each item is one posted video. |
data.list.vlist[].bvid / data.list.vlist[].aid | The two identifiers of a video. bvid is the string form that starts with BV, and aid is the numeric form. |
data.list.vlist[].author | The display name of the user who posted the video. |
data.list.vlist[].created | The post time of the video as a Unix timestamp in seconds. |
data.list.vlist[].comment | The comment count of the video. |
data.list.vlist[].description | The text description of the video. It can be an empty string. |
data.list.vlist[].copyright | The copyright type code of the video, returned as a string such as 1 or 3. |
data.page.count | The reported video total in this response, not independently verified complete history. |
data.page.pn / data.page.ps | The current page number and the page size. In this response pn is 1 and ps is 25. |
data.episodic_button.uri | A link to play all of the user's videos in order. |
uid as a string. The example value is 178360345.pn to move through pages. Keep response page metadata and define a page/call cap before any later continuation; the reported count can change.order defaults to pubdate.bvid to Bilibili Video Details. To get a user's profile, use Bilibili User Profile.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Send a selected uid string, order pubdate and pn 1 for a first page. The saved August 20 input used UID 178360345. The current schema documents no alternate order enum and has no ps, page_size, limit or cursor input. Returned page.ps is response metadata; it is not permission to add ps to the request.
After integer code 0 and the inner data object, require data.list.vlist as an array of records and inspect data.page separately. Do not parse tlist, slist or episodic_button as videos. A present empty vlist is different from an absent or malformed list and does not prove the account never had uploads. Preserve the selected UID, page and order with the response; compare item.mid when checking who posted a record.
Keep string bvid, numeric aid and creator mid in their distinct roles. created is documented as Unix seconds, while length is a displayed duration; neither is your observation timestamp. play, comment and video_review are separate source fields, not unique viewers or an engagement rate. Missing values are unknown, zero stays zero, and a copyright code is not permission to reuse a video.
The full saved response contains five video records and page count 5 with ps 25. The shortened README shows a different video and count 6. These are separate observations, not proof of a newly measured upload-growth series. Neither establishes current total uploads, private/deleted coverage or a complete archive. Requesting pubdate order does not prove continuous freshness or a fixed observation window.
A later pagination task must retain UID/order, impose a page and call cap, and check repeated pages or BVIDs and changes in the reported total. This revision did not request pn 2. Do not automatically calculate an unbounded loop from count/ps, fetch every video's details/comments, or follow the play-all link. For account metadata, choose User Profile separately with the intended UID.
Choose a profile read or one upload page, then supply the exact selected UID and fields you need. Share the setup Skill and Markdown quickstart. Keep SANDBASE_API_KEY locally; call POST /v1/api/ with Bearer authentication. A selected UID is a string, not a video BVID or a display name.
Validate completed SandBase status and an object at outputs[0].data, then check integer business code 0 and an inner data object. Do not treat false, a string zero, missing data or a business error as a successful empty result. The two selected routes still need different profile/list checks. The saved ttl field does not establish a refresh interval or freshness guarantee.
Pricing checked November 8, 2026 lists $0.001 for each selected request and eligibility for 100 daily calls shared across eligible organization data APIs, resetting at 00:00 UTC. Eligibility is not remaining allowance. No new business call, second page, supporter lookup or paid media download was made. The Bilibili creator Python guide separates historical illustrations, saved references and offline validation.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/bilibili/web/user-post-videos" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"pn": 1,
"uid": "178360345",
"order": "pubdate"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
uidstringआवश्यकUser UID
orderstringOrder method
डिफ़ॉल्ट: "pubdate"
pnintegerPage number
डिफ़ॉल्ट: 1
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
[
{
"data": {
"code": 0,
"data": {
"episodic_button": {
"text": "播放全部",
"uri": "//www.bilibili.com/medialist/play/178360345?from=space"
},
"gaia_data": null,
"gaia_res_type": 0,
"is_risk": false,
"list": {
"slist": [],
"tlist": null,
"vlist": [
{
"aid": 112873720252518,
"attribute": 16512,
"author": "Azulsolitan",
"bvid": "BV1d4vzenECe",
"comment": 3,
"copyright": "1",
"created": 1722316574,
"description": "",
"elec_arc_badge": "",
"elec_arc_type": 0,
"enable_vt": 0,
"hide_click": false,
"is_avoided": 0,
"is_charging_arc": false,
"is_lesson_finished": 0,
"is_lesson_video": 0,
"is_live_playback": 0,
"is_pay": 0,
"is_self_view": false,
"is_steins_gate": 0,
"is_union_video": 0,
"jump_url": "",
"length": "01:51",
"lesson_update_info": "",
"meta": null,
"mid": 178360345,
"pic": "http://i1.hdslb.com/bfs/archive/abda1865c5379d60092a1a5f3f4bca60f865d09c.jpg",
"play": 340,
"playback_position": 0,
"review": 0,
"season_id": 0,
"subtitle": "",
"title": "新手:太刀侠怎么打黄金吗喽?老手:↑ ↓ ↑ → ← → ← →",
"typeid": 17,
"video_review": 3,
"view_self_type": 0,
"vt": 0,
"vt_display": ""
},
{
"aid": 112659609422497,
"attribute": 16512,
"author": "Azulsolitan",
"bvid": "BV1AkgYeSEPp",
"comment": 0,
"copyright": "1",
"created": 1719050068,
"description": "",
"elec_arc_badge": "",
"elec_arc_type": 0,
"enable_vt": 0,
"hide_click": false,
"is_avoided": 0,
"is_charging_arc": false,
"is_lesson_finished": 0,
"is_lesson_video": 0,
"is_live_playback": 0,
"is_pay": 0,
"is_self_view": false,
"is_steins_gate": 0,
"is_union_video": 0,
"jump_url": "",
"length": "03:34",
"lesson_update_info": "",
"meta": null,
"mid": 178360345,
"pic": "http://i0.hdslb.com/bfs/archive/db4290c2e3ea2758296d156c854f629cb4bead0b.jpg",
"play": 244,
"playback_position": 0,
"review": 0,
"season_id": 0,
"subtitle": "",
"title": "恐怖萌宝强如怪物,xdx与其鏖战数个小时,将其斩于马下,望周知",
"typeid": 17,
"video_review": 0,
"view_self_type": 0,
"vt": 0,
"vt_display": ""
},
{
"aid": 532554023,
"attribute": 16512,
"author": "Azulsolitan",
"bvid": "BV1Xu41177nj",
"comment": 6,
"copyright": "1",
"created": 1692606600,
"description": "基于微软azure语音识别技术,识别人声,启动原神同时播放启动小曲。目前还不发布,因为还包含azure语音识别接口的key,这期视频播放数据好的话会考虑打包成exe发布。",
"elec_arc_badge": "",
"elec_arc_type": 0,
"enable_vt": 0,
"hide_click": false,
"is_avoided": 0,
"is_charging_arc": false,
"is_lesson_finished": 0,
"is_lesson_video": 0,
"is_live_playback": 0,
"is_pay": 0,
"is_self_view": false,
"is_steins_gate": 0,
"is_union_video": 0,
"jump_url": "",
"length": "00:47",
"lesson_update_info": "",
"meta": null,
"mid": 178360345,
"pic": "http://i2.hdslb.com/bfs/archive/75592baf483e6df7f09419ee0572613a6f1ff4a1.jpg",
"play": 612,
"playback_position": 0,
"review": 0,
"season_id": 0,
"subtitle": "",
"title": "Python: 原神,启动!| python实现语音启动原神",
"typeid": 138,
"video_review": 0,
"view_self_type": 0,
"vt": 0,
"vt_display": ""
},
"… 2 more items in the full response"
]
},
"page": {
"count": 5,
"pn": 1,
"ps": 25
}
},
"message": "OK",
"ttl": 1
}
}
]और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Bilibili | $0.001 प्रति कॉल | JSON |
Bilibili | $0.001 प्रति कॉल | JSON |
Bilibili | $0.001 प्रति कॉल | JSON |
Bilibili | $0.001 प्रति कॉल | JSON |
Bilibili | $0.001 प्रति कॉल | JSON |
Bilibili | $0.001 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/bilibili/web/user-post-videos पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.001 प्रति call। हर organization को प्रति UTC day 100 निःशुल्क calls मिलती हैं, जो इस सहित योग्य SandBase APIs के बीच साझा होती हैं; उसके बाद हर call का बिल आपकी SandBase balance से इस कीमत पर लिया जाता है। कोई subscription नहीं है।
आवश्यक: uid (string)। वैकल्पिक: order (string) और pn (integer)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Bilibili User Post Videos SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Bilibili API access के लिए आवेदन करने की आवश्यकता नहीं है।
वर्तमान selected input schema में uid, order और pn दिए गए हैं। first request में string UID, order pubdate और pn 1 इस्तेमाल किया जा सकता है। इसमें कोई ps/page_size/limit/cursor input या alternate order enum नहीं है। returned page.ps metadata है, अतिरिक्त request parameter नहीं।
integer code 0 validate करें और data.page को अलग से पढ़ते हुए data.list.vlist पढ़ें। bvid, aid और creator mid को अलग-अलग रखें और selected UID/order/page को बनाए रखें। absent list successful empty page नहीं है; play, comment और video_review interchangeable metrics नहीं हैं।
नहीं। saved August20 response में five records/count5 हैं, जबकि shortened README एक अलग count6 reference है। इनमें से कोई भी current completeness या tested interval साबित नहीं करता। कोई second page run नहीं किया गया; आगे की collection के लिए cap और repeated IDs/pages तथा changing totals की checks चाहिए।