Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

Kuaishou User Search (V2)

Docs da API
https://api.sandbase.ai/v1/api/kuaishou/app/search-user-v2

Searches for Kuaishou accounts matching a query term. Results can be filtered by gender and account relationship status, as well as sorted by follower count.

Preço
$0.01USD / chamada
Método
POST
Resposta
JSON
Parâmetros
1 obrigatórios · 4 opcionais

Playground

Entrada
default / most_to_least / least_to_most
Pagination cursor, empty for first page, pass pcursor from previous response
all / male / female
all / same_city / verified / live / following
SaídaExemplo
Respostaoutputs · 9.1 KB · 248 linhas
[
  {
    "data": {
      "debug_id": "e334db95",
      "debug_info": "gAAAAABqu4HDA0KrIuZbXuM6MZplEUpJ_CdhPc4GHlUneBIPc5L-hX_Zr1VrX3PxrXFpAb7RneosmE_cs-gUKzg_1EgzeTh9vjeMCzFuk51j8Pm1D7qLvH3sefMOZpTnCJb5-lFxwzSbDvbdIkUaI9-XfCGCz--y0TBYtofrw5KFb3NdwjSj4AVHwWv4Yitg5LhrZia2LFEapjYRs_TXlz03shQHOGSqnhOAcjJhVCZ-nCgP77dCGEYdolQ4zWbb4F0jwnEe5ELR",
      "extParams": {
        "disablePhotoInsert": false,
        "dynamicShard": false,
        "isCreativeMode": false,
        "isShowPymkUserPhotos": true,
        "isShowScrollTopButton": false,
        "livePendantResource": "https://static.yximgs.com/udata/pkg/ks-nearby/nearby_living_tag/origin_196uxh2cvc4d2xh4qqxtb9pa4xutwddqgyzeo1dzo8ia2ux1nbhunibu0mo6x6kpui0w0g70j72ik1fzxiao.webp",
        "multiFilterModels": [
          {
            "filterModels": [
              {
                "filterType": "100",
                "multiSelect": false,
                "name": "All users"
              },
              {
                "filterType": "101",
                "multiSelect": false,
                "name": "Same city users"
              },
              {
                "filterType": "103",
                "multiSelect": false,
                "name": "Authenticated users"
              },
              "… 2 more items in the full response"
            ],
            "title": "relation"
          },
          {
            "filterModels": [
              {
                "filterType": "102",
                "multiSelect": false,
                "name": "Any sex"
              },
              {
                "filterType": "102_1",
                "multiSelect": false,
                "name": "Look at male"
              },
              {
                "filterType": "102_2",
                "multiSelect": false,
                "name": "Look at women"
              }
            ],
            "title": "gender"
          },
          {
            "filterModels": [
              {
                "filterType": "107",
                "multiSelect": false,
                "name": "Comprehensive Sort"
              },
              {
                "filterType": "107_2",
                "multiSelect": false,
                "name": "From more to less"
              },
              {
                "filterType": "107_1",
                "multiSelect": false,
                "name": "From less to more"
              }
            ],
            "title": "Fans count"
          }
        ],
        "outerStreamFetch": 6,
        "pageSingleDoubleStyle": 0,
        "rsRecoAfterPlayInterval": 2,
        "searchTaskParam": {},
        "sessionParams": "",
        "streamExtParams": "{\"single\":false,\"predict\":false,\"searchDetailCost\":{\"filterItem\":0,\"getView\":17}}",
        "subtagWithPic": false
      },
      "host-name": "public-bjx-c34-kce-node5502.idchb1az1.hb1.kwaidc.com",
      "llsid": "2010141303591782385",
      "mixFeeds": [
        {
          "atmosphereType": 0,
          "extInfo": {},
          "feedLogCtx": {
            "stidContainer": "InUxfDIwMTAxNDEzMDM1OTE3ODIzODV8VVNFUjoxODE2NjYwMTAxfHsicGciOiJzdWYifXx7ImJpeiI6InNlYXJjaCIsInJhbmsiOjAsInNzaWQiOiJNVjh3WHpFM09UQTJOek16TkRjME16TmZYekl6TXpnIn0="
          },
          "isSingleColumnMode": false,
          "itemTransferInfo": "{\"refer_single_double_type\":0}",
          "itemType": 4,
          "rank": 0,
          "user": {
            "extra": {
              "userInfoExposed": {
                "lineSecond": "2"
              }
            },
            "fans": false,
            "fansCount": 89774,
            "feedLogCtx": {
              "stidContainer": "InUxfDIwMTAxNDEzMDM1OTE3ODIzODV8QkFTRToxODE2NjYwMTAxfHsicGciOiJzdWYifXx7ImJpeiI6InNlYXJjaCIsInJhbmsiOjAsInNzaWQiOiJNVjh3WHpFM09UQTJOek16TkRjME16TmZYekl6TXpnIn0="
            },
            "following": false,
            "headurl": "http://p22.a.yximgs.com/uhead/AB/2026/06/19/13/BMjAyNjA2MTkxMzU2NThfMTgxNjY2MDEwMV8xX2hkMjU5Xzc3MA==_s.jpg",
            "headurls": [
              {
                "cdn": "p22.a.yximgs.com",
                "url": "http://p22.a.yximgs.com/uhead/AB/2026/06/19/13/BMjAyNjA2MTkxMzU2NThfMTgxNjY2MDEwMV8xX2hkMjU5Xzc3MA==_s.jpg"
              },
              {
                "cdn": "p4.a.yximgs.com",
                "url": "http://p4.a.yximgs.com/uhead/AB/2026/06/19/13/BMjAyNjA2MTkxMzU2NThfMTgxNjY2MDEwMV8xX2hkMjU5Xzc3MA==_s.jpg"
              }
            ],
            "isBanned": false,
            "isFavorited": false,
            "is_followed": 0,
            "messageLink": "kwai://message/1816660101",
            "photoCount": "50",
            "photoInfo": "共50个作品 获赞1.9m次",
            "profilePagePrefetchInfo": {
              "profilePageType": 1
            },
            "user_id": 1816660101,
            "user_name": "test",
            "user_sex": "M",
            "user_text": "诡异的帐号",
            "verified": false,
            "visitorBeFollowed": false
          }
        },
        {
          "atmosphereType": 0,
          "extInfo": {},
          "feedLogCtx": {
            "stidContainer": "InUxfDIwMTAxNDEzMDM1OTE3ODIzODV8VVNFUjoyNjQxMjc0NTAxfHsicGciOiJzdWYifXx7ImJpeiI6InNlYXJjaCIsInJhbmsiOjEsInNzaWQiOiJNVjh3WHpFM09UQTJOek16TkRjME16TmZYekl6TXpnIn0="
          },
          "isSingleColumnMode": false,
          "itemTransferInfo": "{\"refer_single_double_type\":0}",
          "itemType": 4,
          "rank": 1,
          "user": {
            "extra": {
              "userInfoExposed": {
                "lineSecond": "2"
              }
            },
            "fans": false,
            "fansCount": 813,
            "feedLogCtx": {
              "stidContainer": "InUxfDIwMTAxNDEzMDM1OTE3ODIzODV8QkFTRToyNjQxMjc0NTAxfHsicGciOiJzdWYifXx7ImJpeiI6InNlYXJjaCIsInJhbmsiOjEsInNzaWQiOiJNVjh3WHpFM09UQTJOek16TkRjME16TmZYekl6TXpnIn0="
            },
            "following": false,
            "headurl": "http://p22.a.yximgs.com/uhead/AB/2024/04/28/14/BMjAyNDA0MjgxNDU2NTZfMjY0MTI3NDUwMV8xX2hkMzY1XzYzNQ==_s.jpg",
            "headurls": [
              {
                "cdn": "p22.a.yximgs.com",
                "url": "http://p22.a.yximgs.com/uhead/AB/2024/04/28/14/BMjAyNDA0MjgxNDU2NTZfMjY0MTI3NDUwMV8xX2hkMzY1XzYzNQ==_s.jpg"
              },
              {
                "cdn": "p4.a.yximgs.com",
                "url": "http://p4.a.yximgs.com/uhead/AB/2024/04/28/14/BMjAyNDA0MjgxNDU2NTZfMjY0MTI3NDUwMV8xX2hkMzY1XzYzNQ==_s.jpg"
              }
            ],
            "isBanned": false,
            "isFavorited": false,
            "is_followed": 0,
            "messageLink": "kwai://message/2641274501",
            "photoCount": "144",
            "photoInfo": "共144个作品 获赞181次",
            "profilePagePrefetchInfo": {
              "profilePageType": 1
            },
            "user_id": 2641274501,
            "user_name": "test",
            "user_sex": "M",
            "user_text": "",
            "verified": false,
            "visitorBeFollowed": false
          }
        },
        {
          "atmosphereType": 0,
          "extInfo": {},
          "feedLogCtx": {
            "stidContainer": "InUxfDIwMTAxNDEzMDM1OTE3ODIzODV8VVNFUjoyMzE4NjQ3MDM2fHsicGciOiJzdWYifXx7ImJpeiI6InNlYXJjaCIsInJhbmsiOjIsInNzaWQiOiJNVjh3WHpFM09UQTJOek16TkRjME16TmZYekl6TXpnIn0="
          },
          "isSingleColumnMode": false,
          "itemTransferInfo": "{\"refer_single_double_type\":0}",
          "itemType": 4,
          "rank": 2,
          "user": {
            "extra": {
              "userInfoExposed": {
                "lineSecond": "2"
              }
            },
            "fans": false,
            "fansCount": 52,
            "feedLogCtx": {
              "stidContainer": "InUxfDIwMTAxNDEzMDM1OTE3ODIzODV8QkFTRToyMzE4NjQ3MDM2fHsicGciOiJzdWYifXx7ImJpeiI6InNlYXJjaCIsInJhbmsiOjIsInNzaWQiOiJNVjh3WHpFM09UQTJOek16TkRjME16TmZYekl6TXpnIn0="
            },
            "following": false,
            "headurl": "http://p22.a.yximgs.com/uhead/AB/2026/09/13/23/BMjAyNjA5MTMyMzQ1NTVfMjMxODY0NzAzNl8yX2hkNjIxXzcy_s.jpg",
            "headurls": [
              {
                "cdn": "p22.a.yximgs.com",
                "url": "http://p22.a.yximgs.com/uhead/AB/2026/09/13/23/BMjAyNjA5MTMyMzQ1NTVfMjMxODY0NzAzNl8yX2hkNjIxXzcy_s.jpg"
              },
              {
                "cdn": "p4.a.yximgs.com",
                "url": "http://p4.a.yximgs.com/uhead/AB/2026/09/13/23/BMjAyNjA5MTMyMzQ1NTVfMjMxODY0NzAzNl8yX2hkNjIxXzcy_s.jpg"
              }
            ],
            "isBanned": false,
            "isFavorited": false,
            "is_followed": 0,
            "messageLink": "kwai://message/2318647036",
            "profilePagePrefetchInfo": {
              "profilePageType": 1
            },
            "user_id": 2318647036,
            "user_name": "TEST",
            "user_sex": "F",
            "user_text": "神人请勿靠近",
            "verified": false,
            "visitorBeFollowed": false
          }
        },
        "… 17 more items in the full response"
      ],
      "pcursor": "1",
      "portalFlag": true,
      "recoInterestFlag": false,
      "recoPcursor": "no_more",
      "recoPymkFlag": false,
      "responseCode": 0,
      "result": 1,
      "userFoldIndex": -1,
      "ussid": "MV8wXzE3OTA2NzMzNDc0MzNfXzIzMzg"
    }
  }
]

Exemplos

Selecione um exemplo para carregar as entradas e o resultado no playground.

README da API

Kuaishou User Search (V2) API

Returns a page of Kuaishou accounts that match a search term. It needs a keyword, and you can add filters for gender, relationship status and follower sorting.

Use cases

  • Build a list of Kuaishou creators who work on a topic such as artificial intelligence.
  • Rank accounts for a keyword by follower count to find the largest ones.
  • Limit a creator search to verified accounts or to accounts that are live now.
  • Collect account avatars and follower counts for a keyword to compare creators.

Request

curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/app/search-user-v2" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "人工智能"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
keywordstringYes
fans_sortstringNodefault / most_to_least / least_to_most
pcursorstringNoPagination cursor, empty for first page, pass pcursor from previous response
user_genderstringNoall / male / female
user_relationstringNoall / same_city / verified / live / following

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "debug_id": "7fbac2b2",
  "debug_info": "gAAAAABq6Y7kO_4aeUqh7f6fgim7-5UXv1o1FrponeDxd468LhTh3DFWhujIQSLOOxcuXOslnnb_nc-Y…",
  "extParams": {
    "disablePhotoInsert": false,
    "dynamicShard": false,
    "isCreativeMode": false,
    "isShowPymkUserPhotos": true,
    "isShowScrollTopButton": false,
    "livePendantResource": "https://static.yximgs.com/udata/pkg/ks-nearby/nearby_living_tag/origin_196uxh2cv…",
    "multiFilterModels": [
      {
        "filterModels": [
          {
            "filterType": "100",
            "multiSelect": false,
            "name": "All users"
          }
        ],
        "title": "relation"
      }
    ],
    "outerStreamFetch": 6,
    "pageSingleDoubleStyle": 0,
    "rsRecoAfterPlayInterval": 2,
    "searchTaskParam": {},
    "sessionParams": ""
  },
  "host-name": "public-bjzey-c34-kce-node353.idchb1az3.hb1.kwaidc.com",
  "llsid": "2006449996850283570",
  "mixFeeds": [
    {
      "atmosphereType": 0,
      "extInfo": {},
      "feedLogCtx": {
        "stidContainer": "InUxfDIwMDY0NDk5OTY4NTAyODM1NzB8VVNFUjoyODgwMjIyNjkwfHsicGciOiJzdWYifXx7ImJpeiI6…"
      },
      "isSingleColumnMode": false,
      "itemTransferInfo": "{\"refer_single_double_type\":0}",
      "itemType": 4,
      "rank": 0,
      "user": {
        "extra": {
          "userInfoExposed": {
            "lineSecond": "2"
          }
        },
        "fans": false,
        "fansCount": 112583,
        "feedLogCtx": {
          "stidContainer": "InUxfDIwMDY0NDk5OTY4NTAyODM1NzB8QkFTRToyODgwMjIyNjkwfHsicGciOiJzdWYifXx7ImJpeiI6…"
        },
        "following": false,
        "headurl": "http://p22.a.yximgs.com/uhead/AB/2026/08/27/16/BMjAyNjA4MjcxNjI1MTNfMjg4MDIyMjY5…",
        "headurls": [
          {
            "cdn": "p22.a.yximgs.com",
            "url": "http://p22.a.yximgs.com/uhead/AB/2026/08/27/16/BMjAyNjA4MjcxNjI1MTNfMjg4MDIyMjY5…"
          }
        ],
        "isBanned": false
      }
    }
  ],
  "pcursor": "1",
  "portalFlag": true,
  "recoInterestFlag": false,
  "recoPcursor": "no_more",
  "recoPymkFlag": false,
  "responseCode": 0
}

Response fields

FieldMeaning
mixFeeds[]List of search result entries. Each entry holds one account under user.
mixFeeds[].rankPosition of the result in the list, starting at 0.
mixFeeds[].user.fansCountNumber of followers the account has.
mixFeeds[].user.following / mixFeeds[].user.fansBoolean flags for the relationship between the account and the viewer.
mixFeeds[].user.headurlURL of the account avatar image.
mixFeeds[].user.headurls[].url / mixFeeds[].user.headurls[].cdnAlternative avatar URLs and the CDN host that serves each one.
mixFeeds[].user.isBannedBoolean flag that shows whether the account is banned.
mixFeeds[].feedLogCtx.stidContainerEncoded tracking string for the result. It ends with the user ID encoded inside it.
pcursorCursor for the next page of results.
extParams.multiFilterModels[]Filter options the search screen offers, grouped by relation, gender and Fans count.

Notes

  • Leave pcursor empty for the first page. Pass the pcursor value from the previous response to get the next page.
  • The response also has recoPcursor, which was no_more in this example.
  • Use fans_sort with most_to_least or least_to_most to order results by followers.
  • To read a full profile for an account, 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.

Search one page of account candidates

Use a keyword when you have a topic or name but have not selected an account. This is an account search, not a video or product search. Leave pcursor empty for the first page. Candidate rows are mixFeeds entries with a user record; inspect user_id, user_name and the available public fields before choosing an account. Do not automatically treat the first or largest candidate as the intended person.

The optional fans_sort, user_gender and user_relation filters belong to this route. Its declared fans_sort values are default, most_to_least and least_to_most; gender values are all, male and female; relationship values are all, same_city, verified, live and following. These are allowed choices, not evidence of caller identity, consent or a filter already applied. Preserve the exact keyword and filters with your result.

The schema says continuation uses the returned pcursor. Do not increment it as a page number or use recoPcursor: the public reference can show pcursor 1 while recoPcursor is no_more. That recommendation cursor is not the search cursor. This first-request guide neither tests nor automatically follows a continuation. Names and follower counts are candidate evidence, not identity verification or audience reach.

Already know the target user_id? Choose Single User Data V2 as a separate request. Do not loop over every search result, download avatars or fetch posts as part of the first search.

Give your agent one bounded account task

Already have a SandBase key? Keep SANDBASE_API_KEY in your local environment and use this page's API tab for POST /v1/api/ with Bearer authentication. If your agent is connected, give it the exact endpoint and one keyword or selected user ID. Starting a project? Share the setup Skill, Markdown quickstart and your intended result. Save one response before adding more lookups.

Read completed SandBase outputs[0].data and check the selected route's provider result. A successful HTTP status alone is insufficient. Search references show responseCode 0 with mixFeeds; profile references show result 1 with userProfile. A missing or malformed payload must not become an empty success. Public README JSON is trimmed: fields absent from that excerpt can still appear in its field table or a saved response. Validate the actual returned shape rather than filling missing counts with zero.

Pricing checked on 2026-11-08: both selected endpoints list $0.01 per call and eligibility for 100 daily calls shared across eligible data APIs in the organization, resetting at 00:00 UTC. Eligibility does not establish remaining quota. Check current pricing before a request. This revision made no new business call. The Kuaishou Python creator guide separates current code from historical evidence.

Explorar mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
Kuaishou$0.01 por chamadaJSON
Kuaishou$0.001 por chamadaJSON
Kuaishou$0.001 por chamadaJSON
Kuaishou$0.001 por chamadaJSON
Kuaishou$0.001 por chamadaJSON
Kuaishou$0.001 por chamadaJSON

Guias:Best Kuaishou API in 2026: Pricing Compared

Perguntas

FAQ

Como eu uso a API Kuaishou User Search (V2)?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/kuaishou/app/search-user-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 Search (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 Search (V2) aceita?

Obrigatórios: keyword (string). Opcionais: fans_sort (um de default, most_to_least, least_to_most), pcursor (string), user_gender (um de all, male, female) e user_relation (um de all, same_city, verified, live, following). A tabela de Parâmetros e o Playground nesta página listam todos os campos.

O que a API Kuaishou User Search (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 Search (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.

A User Search V2 retorna vídeos ou candidatos a conta?

Ela busca contas por palavra-chave. Os registros de usuário candidatos estão dentro das entradas mixFeeds. Revise os IDs retornados e os campos públicos do perfil antes de escolher uma conta; a primeira correspondência ou o maior número de seguidores não verifica a identidade.

Devo usar pcursor ou recoPcursor para outra página de busca?

O schema da solicitação nomeia pcursor e diz para usar o valor retornado. recoPcursor é um cursor de recomendação diferente; o no_more ali não estabelece que a busca terminou. Este guia para após a primeira página e não afirma um teste de continuação.

Quais filtros de busca posso selecionar?

A rota declara fans_sort (default, most_to_least, least_to_most), user_gender (all, male, female) e user_relation (all, same_city, verified, live, following). Registre os filtros selecionados; nenhum filtro prova que um candidato é a pessoa que você pretendia.