keywordstringobrigatório
The search keyword to find users.
https://api.sandbase.ai/v1/api/kuaishou/search-userSearch public Kuaishou user accounts by keyword with page-number pagination. Use it to discover relevant creators or accounts before requesting profile and published-video data.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
Returns a list of public Kuaishou user accounts that match a search keyword. Each account includes its ID, display name, bio, follower count, avatar and verification status. The only required input is keyword.
美食, and rank them by fansCount.user_id values to feed into profile and video list requests.kwaiId handles and bios to screen accounts for outreach.curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/search-user" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "美食"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | Yes | The search keyword to find users. |
page | integer | No | Page number for results, starting from 1. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"extParams": {
"disablePhotoInsert": false,
"dynamicShard": false,
"isShowPymkUserPhotos": true,
"isShowScrollTopButton": false,
"rsRecoAfterPlayInterval": 2,
"searchTaskParam": {},
"sessionParams": "",
"streamExtParams": "{\"single\":false,\"predict\":false,\"searchDetailCost\":{\"filterItem\":0,\"getView\":14}…",
"subtagWithPic": false
},
"host-name": "public-bjmt-c26-kce-node826.idchb1az4.hb1.kwaidc.com",
"llsid": "2006455000852273746",
"pcursor": "1",
"portalFlag": true,
"recoPcursor": "no_more",
"recoPymkFlag": false,
"responseCode": 0,
"result": 1,
"userFoldIndex": -1,
"users": [
{
"extra": {
"userInfoExposed": {
"lineSecond": "2"
}
},
"fans": false,
"fansCount": 1229553,
"feedLogCtx": {
"stidContainer": "In8xfDIwMDY0NTUwMDA4NTIyNzM3NDZ8QkFTRTo0MDMwMDA1OHx7InBnIjoic3VmIn18eyJiaXoiOiJz…"
},
"following": false,
"headurl": "http://p4.a.yximgs.com/uhead/AB/2021/02/18/12/BMjAyMTAyMTgxMjA0MTRfNDAzMDAwNThfM…",
"headurls": [
{
"cdn": "p4.a.yximgs.com",
"url": "http://p4.a.yximgs.com/uhead/AB/2021/02/18/12/BMjAyMTAyMTgxMjA0MTRfNDAzMDAwNThfM…"
}
],
"isBanned": false,
"isFavorited": false,
"is_followed": 0,
"kwaiId": "kuaishoumeishi",
"messageLink": "kwai://message/40300058"
}
],
"ussid": "MV81NzQ1MDc3MzkyXzE3OTM2OTEzNzUxNjBfXzQ0NzU"
}
| Field | Meaning |
|---|---|
users[] | List of matching user accounts for the requested page, in search rank order. |
users[].user_id | Numeric ID of the account. Use it to request profile or video data. |
users[].user_name | Display name of the account. |
users[].kwaiId | Public Kuaishou handle of the account. |
users[].user_text | Bio text written by the account owner. |
users[].fansCount | Number of followers the account has. |
users[].user_sex | Gender code of the account. The response shows F and U. |
users[].verified | true if the account is verified. When verified, verifiedDetail.description holds the badge text. |
users[].headurl / users[].headurls[].url | Avatar image URL. headurls lists the same image on different CDN hosts. |
pcursor | Cursor value returned with the page. It was 1 for the first page. |
page to get more results. It starts at 1 and defaults to 1.user_id is a number. Pass it to Kuaishou User Profile or Kuaishou User Published Videos to get more about an account.$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/search-user" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"keyword": "美食"
}'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.
keywordstringobrigatórioThe search keyword to find users.
pageintegerPage number for results, starting from 1.
Padrão: 1
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
| API | Preço | Resposta |
|---|---|---|
Kuaishou User SearchEsta API Kuaishou | $0.014286 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
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/kuaishou/search-user 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.
$0.014286 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: keyword (string). Opcionais: page (integer). A tabela de Parâmetros e o Playground nesta página listam todos os campos.
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.
Não. Kuaishou User Search 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.