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.
- Preço
- $0.01USD / chamada
- Método
- POST
- Resposta
- JSON
- Parâmetros
- 1 obrigatórios · 2 opcionais
Playground
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
README da 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.
Comece a construir
Envie sua primeira solicitação
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
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. Autenticação
Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
3. Parâmetros
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.
Valores possíveis: latest, hot
4. Resposta
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
Explorar mais
APIs relacionadas
| API | Preço | Resposta |
|---|---|---|
Kuaishou User Video List (V2)Esta API Kuaishou | $0.01 por chamada | JSON |
Kuaishou | $0.001 por chamada | JSON |
Kuaishou | $0.001 por chamada | JSON |
Kuaishou | $0.001 por chamada | JSON |
Kuaishou | $0.001 por chamada | JSON |
Kuaishou | $0.001 por chamada | JSON |
Perguntas
FAQ
Como eu uso a API Kuaishou User Video List (V2)?
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/kuaishou/app/user-post-v2 com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
Quanto custa a API Kuaishou User Video List (V2)?
$0.01 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Quais parâmetros a API Kuaishou User Video List (V2) aceita?
Obrigatórios: user_id (string). Opcionais: pcursor (string) e sort (um de latest, hot). A tabela de Parâmetros e o Playground nesta página listam todos os campos.
O que a API Kuaishou User Video List (V2) retorna?
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.
Preciso de uma conta de desenvolvedor Kuaishou ou de uma chave de API?
Não. Kuaishou User Video List (V2) funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Kuaishou separadamente.
