uidstringwymagane
User ID (required)
https://api.sandbase.ai/v1/api/weibo/web-v2/user-video-collection-listReturns the video collection list belonging to a specified Weibo user. Provide the target account identifier using the uid parameter to retrieve their curated video playlists.
[
{
"data": {
"code": 200,
"data": {
"message": "Invalid uid. Pass the numeric Weibo user id, for example 7277477906.",
"message_zh": "uid 非法。请传入纯数字的微博用户 ID,例如 7277477906。",
"ok": 0,
"param": "uid"
},
"docs": null,
"message": "Invalid uid. Pass the numeric Weibo user id, for example 7277477906.",
"message_zh": "uid 非法。请传入纯数字的微博用户 ID,例如 7277477906。",
"params": {
"uid": "example"
},
"request_id": "a76ef72a-efb6-41c3-aa13-2427882d3791",
"router": "/api/weibo/web_v2/fetch_user_video_collection_list",
"time": "2026-08-20 17:39:30",
"time_stamp": 1787218770,
"time_zone": "Asia/Shanghai"
}
}
]Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.
Returns the video collections (playlists) that a Weibo user has set up on their profile. It needs one input, the user's numeric uid. The response also carries a few profile video display settings.
curl -X POST "https://api.sandbase.ai/v1/api/weibo/web-v2/user-video-collection-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uid": "8431518763"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
uid | string | Yes | User ID (required) |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"attitude_msg": "",
"attitude_visible": 1,
"icon": "https://h5.sinaimg.cn/upload/1011/55/2023/02/08/svideo_profile_video_like.png",
"playlists": []
}
| Field | Meaning |
|---|---|
playlists | List of video collections for the user. It is empty ([]) when the account has no collections. |
attitude_visible | Flag with value 1 in the sample. The name suggests it controls whether the like tab on the profile video page is shown. |
attitude_msg | Message text tied to the like tab. It is an empty string in the sample. |
icon | URL of an icon image. The file name suggests it is the profile video like icon. |
uid, for example 8431518763. Use Weibo User Search to find an account if you do not have the ID.uid.playlists list means the account has no collections. Call Weibo User Video List to see the user's videos instead.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
curl -X POST "https://api.sandbase.ai/v1/api/weibo/web-v2/user-video-collection-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"uid": "example"
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
uidstringwymaganeUser ID (required)
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
[
{
"data": {
"code": 200,
"data": {
"message": "Invalid uid. Pass the numeric Weibo user id, for example 7277477906.",
"message_zh": "uid 非法。请传入纯数字的微博用户 ID,例如 7277477906。",
"ok": 0,
"param": "uid"
},
"docs": null,
"message": "Invalid uid. Pass the numeric Weibo user id, for example 7277477906.",
"message_zh": "uid 非法。请传入纯数字的微博用户 ID,例如 7277477906。",
"params": {
"uid": "example"
},
"request_id": "a76ef72a-efb6-41c3-aa13-2427882d3791",
"router": "/api/weibo/web_v2/fetch_user_video_collection_list",
"time": "2026-08-20 17:39:30",
"time_stamp": 1787218770,
"time_zone": "Asia/Shanghai"
}
}
]Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
Weibo | $0.001 za wywołanie | JSON |
Weibo | $0.001 za wywołanie | JSON |
Weibo | $0.001 za wywołanie | JSON |
Weibo | $0.001 za wywołanie | JSON |
Weibo | $0.001 za wywołanie | JSON |
Weibo | $0.001 za wywołanie | JSON |
Przewodniki:Best Weibo API in 2026: Pricing Compared
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/weibo/web-v2/user-video-collection-list z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
$0.001 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: uid (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Nie. Weibo User Video Collection List działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Weibo.