keywordstringrequerido
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.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
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.
Empiece a construir
Endpoint de la API de la plataforma con autenticación unificada y seguimiento 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": "美食"
}'Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
keywordstringrequeridoThe search keyword to find users.
pageintegerPage number for results, starting from 1.
Valor predeterminado: 1
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
No se ha publicado ninguna respuesta guardada. Ejecute la API en Playground para inspeccionar su respuesta.
Explorar más
| API | Precio | Respuesta |
|---|---|---|
Kuaishou User SearchEsta API Kuaishou | $0.014286 por llamada | JSON |
Kuaishou | $0.001 por llamada | JSON |
Kuaishou | $0.001 por llamada | JSON |
Kuaishou | $0.001 por llamada | JSON |
Kuaishou | $0.001 por llamada | JSON |
Kuaishou | $0.001 por llamada | JSON |
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/kuaishou/search-user con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.
$0.014286 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
Requeridos: keyword (string). Opcionales: page (integer). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.
No. Kuaishou User Search funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Kuaishou por separado.