Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Kuaishou User Search (V2)

Dokumentacja 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.

Cena
$0.01USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 4 opcjonalnych

Playground

Wejście
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
WyjściePrzykład
Odpowiedźoutputs · 9.1 KB · 248 wierszy
[
  {
    "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"
    }
  }
]

Przykłady

Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.

README 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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Kuaishou$0.01 za wywołanieJSON
Kuaishou$0.001 za wywołanieJSON
Kuaishou$0.001 za wywołanieJSON
Kuaishou$0.001 za wywołanieJSON
Kuaishou$0.001 za wywołanieJSON
Kuaishou$0.001 za wywołanieJSON

Przewodniki:Best Kuaishou API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API Kuaishou User Search (V2)?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/kuaishou/app/search-user-v2 z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Kuaishou User Search (V2)?

$0.01 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Kuaishou User Search (V2)?

Wymagane: keyword (string). Opcjonalne: fans_sort (jedna z opcji: default, most_to_least, least_to_most), pcursor (string), user_gender (jedna z opcji: all, male, female) i user_relation (jedna z opcji: all, same_city, verified, live, following). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Kuaishou User Search (V2)?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Kuaishou lub klucza API?

Nie. Kuaishou User Search (V2) działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Kuaishou.

Czy User Search V2 zwraca filmy czy kandydatów na konta?

Wyszukuje konta po słowie kluczowym. Kandydaci są wpisani w rekordach mixFeeds. Przed wyborem konta sprawdź zwrócone ID i publiczne pola profilu; pierwszy wynik ani najwyższa liczba obserwujących nie potwierdzają tożsamości.

Czy powinienem użyć pcursor czy recoPcursor dla kolejnej strony wyszukiwania?

Schemat requestu nazywa to pcursor i mówi, aby użyć zwróconej wartości. recoPcursor to inny kursor rekomendacji; no_more w tym miejscu nie dowodzi, że wyszukiwanie się zakończyło. Ten przewodnik kończy się na pierwszej stronie i nie twierdzi, że wykonano test kontynuacji.

Jakie filtry wyszukiwania mogę wybrać?

Trasa deklaruje fans_sort (default, most_to_least, least_to_most), user_gender (all, male, female) oraz user_relation (all, same_city, verified, live, following). Zapisz wybrane filtry; żaden filtr nie dowodzi, że kandydat jest właściwą osobą.