uidstringobligatoire
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.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
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.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
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"
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
uidstringobligatoireWeibo User ID (UID).
cursorstringPagination cursor returned by the previous response.
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
Aucune réponse enregistrée n'a été publiée. Exécutez l'API dans Playground pour inspecter sa réponse.
Explorer plus
| API | Prix | Réponse |
|---|---|---|
Weibo User Video ListCette API Weibo | $0.014286 par appel | JSON |
Weibo | $0.001 par appel | JSON |
Weibo | $0.001 par appel | JSON |
Weibo | $0.001 par appel | JSON |
Weibo | $0.001 par appel | JSON |
Weibo | $0.001 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/weibo/user-video-list avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
$0.014286 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Obligatoire : uid (string). Facultatif : cursor (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.
Non. Weibo User Video List fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Weibo séparément.