Kuaishou User Video List (V2)
https://api.sandbase.ai/v1/api/kuaishou/app/user-post-v2Retrieves a list of video feeds posted by a specific Kuaishou user. Supports sorting by latest or hot posts and cursor-based pagination.
- Prix
- $0.01USD / appel
- Méthode
- POST
- Réponse
- JSON
- Paramètres
- 1 obligatoires · 2 facultatifs
Bac à sable
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
README de l'API
Kuaishou User Video List (V2) API
Returns a list of videos posted by one Kuaishou user, with captions, engagement counts, duration, cover images and author avatar URLs. It needs the user's user_id, and you can sort by latest or hot.
Use cases
- Track new uploads from a Kuaishou creator by polling the
latestsort. - Compare
like_count,comment_countandcollect_countacross one creator's videos. - Collect cover image URLs and captions to build a gallery of a creator's posts.
- Pull a creator's top videos with
sortset tohot.
Request
curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/app/user-post-v2" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"user_id": "3795214411"}'
The result is returned in outputs[0].data.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
user_id | string | Yes | |
pcursor | string | No | Video cursor, empty for the first request, and use the pcursor value in the returned response for subsequent requests. |
sort | string | No | Sort type, latest (default) / hot. |
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"feeds": [
{
"adminTags": [],
"bottomEntryInfo": {
"bizExtraData": {},
"bottomBizType": 14,
"bottomStyleInfo": {
"bottomStrongStyle": {
"actionUrl": "",
"backgroundColor": "",
"bottomStrongStyleType": 0,
"enableForceClose": false,
"fontColor": "",
"fontSize": 0,
"iconHeight": 0,
"iconUrl": ""
},
"bottomWeakStyle": {
"actionUrl": "kwai://search?keyword=李秀妍&sessionId=MzIwXzBfMTc5MzY5MTM3MTM2Nl9fODE5OA&source=se…",
"backgroundColor": "#444444",
"bottomWeakStyleType": 0,
"enableForceClose": false,
"fontColor": "#FFFFFF",
"fontSize": 13,
"iconHeight": 48,
"iconRightMargin": 4.0
},
"delayShowWeakStyle": false,
"playVideoEndToStrongMillis": 0,
"showStrongVideoCountdownMillis": 0,
"showStrongVideoMillis": 0,
"strongStyleCloseHideWeakStyle": false,
"styleTriggers": []
},
"eventTrackData": {
"all_source": "p2q_semantic_recall_v8,p2q_semantic_recall_v4,p2q_recall_exp_v16,p2q_recall_exp_…",
"entry_source": "search_entrance_featured_bottom_bar_profile",
"is_hotbar": "\u0000",
"query_id": "b2cff3d98343317003b3003769567d54",
"query_list_id": "MzIwXzBfMTc5MzY5MTM3MTM2Nl9fODE5OA",
"query_name": "李秀妍",
"rel_score": "0.059634",
"stg_recall_source": "p2q_recall_exp_v12"
}
},
"canShowQuickCommentGuide": true,
"caption": "#李秀妍u #刘屹琦 #喜爱度激励计划",
"captionToComment": "#李秀妍u #刘屹琦 #喜爱度激励计划",
"collect_count": 9,
"commentGuessSearch": {
"displayPrefix": "相关搜索:",
"extParams": "{\"all_source\":\"p2q_semantic_recall_v8,p2q_semantic_recall_v4,p2q_recall_exp_v16,…",
"iconUrl": "https://ali2.a.kwimgs.com/udata/pkg/se-cdn/search_blue3x.png",
"searchWord": "李秀妍",
"searchWordMD5": "b2cff3d98343317003b3003769567d54",
"searchWordUrl": "kwai://search?keyword=李秀妍&sessionId=MzIwXzBfMTc5MzY5MTM3MTM2Nl9fODE5OA&source=se…",
"sessionId": "MzIwXzBf…"
},
"commentInfo": {
"commentEducationGuide": {
"guideType": 0,
"triggerCharCount": 0
},
"enableAIPresetGuide": false,
"permissions": 191
},
"commentTopBarPriority": [
{
"bizType": "PLC",
"subBizType": "51"
}
],
"comment_count": 2,
"contactRelationFriend": false,
"coronaCaption": {
"captionSource": 1,
"detailCaption": {
"caption": "#李秀妍u #刘屹琦 #喜爱度激励计划",
"captionSource": 1,
"tagClickable": false
},
"tabCaption": "#李秀妍u #刘屹琦 #喜爱度激励计划"
}
}
],
"host-name": "public-bjx-c26-kce-node1143.idchb1az1.hb1.kwaidc.com",
"isUnfollowFeeds": false,
"llsid": "2010240768896749585",
"pcursor": "1.789836380852E12",
"result": 1
}
Response fields
| Field | Meaning |
|---|---|
feeds[] | One posted video. The list holds one entry per video on the page. |
feeds[].caption | Caption text of the video, including hashtags. |
feeds[].like_count / feeds[].comment_count / feeds[].collect_count / feeds[].forward_count | Counts of likes, comments, saves and shares for the video. |
feeds[].duration | Length of the video. The value 28266 suggests milliseconds, but the response does not state the unit. |
feeds[].ext_params.w / feeds[].ext_params.h | Width and height of the video. |
feeds[].cover_thumbnail_urls[].url | Cover image URL for the video. Each entry lists the cdn host it is served from. |
feeds[].headurls[].url | Avatar image URL of the posting user. Each entry lists the cdn host. |
feeds[].exp_tag | Tag string for the item. It contains an ID with a _p0 suffix. |
feeds[].liked / feeds[].following | Flags for whether the current viewer liked the video or follows the author. Both are 0 in this response. |
Notes
- Leave
pcursorempty on the first call. For later pages, pass thepcursorvalue from the previous response. sortacceptslatest(default) orhot.- To find a
user_idfrom a name, try Kuaishou User Search (V2). - For a creator's profile details, call Kuaishou Single User Data (V2).
Pricing
$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Commencer à construire
Envoyez votre première requête
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/kuaishou/app/user-post-v2" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"user_id": "3795214411"
}'2. Authentification
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.
3. Paramètres
pcursorstring
Video cursor, empty for the first request, and use the pcursor value in the returned response for subsequent requests.
sortstring
Sort type, latest (default) / hot.
Valeurs possibles : latest, hot
4. Réponse
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
APIs associées
| API | Prix | Réponse |
|---|---|---|
Kuaishou User Video List (V2)Cette API Kuaishou | $0.01 par appel | JSON |
Kuaishou | $0.001 par appel | JSON |
Kuaishou | $0.001 par appel | JSON |
Kuaishou | $0.001 par appel | JSON |
Kuaishou | $0.001 par appel | JSON |
Kuaishou | $0.001 par appel | JSON |
Questions
FAQ
Comment utiliser l’API Kuaishou User Video List (V2) ?
Envoyez une requête POST à https://api.sandbase.ai/v1/api/kuaishou/app/user-post-v2 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.
Combien coûte l’API Kuaishou User Video List (V2) ?
$0.01 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Quels paramètres l’API Kuaishou User Video List (V2) accepte-t-elle ?
Obligatoire : user_id (string). Facultatif : pcursor (string) et sort (l’un de latest, hot). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Que renvoie l’API Kuaishou User Video List (V2) ?
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.
Ai-je besoin d’un compte développeur ou d’une clé API Kuaishou ?
Non. Kuaishou User Video List (V2) 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 Kuaishou séparément.
