Sand AISand AI MAGI-2MAGI-2 теперь на SandBase: видео 1080p с нативным звукомПопробовать сейчас

Kuaishou User Search (V2)

Документация 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.

Цена
$0.01USD / вызов
Метод
POST
Ответ
JSON
Параметры
1 обязательных · 4 необязательных

Песочница

Ввод
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
ВыходПример
Ответoutputs · 9.1 KB · 248 строк
[
  {
    "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"
    }
  }
]

Примеры

Выберите пример, чтобы загрузить его входные данные и результат в playground.

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.

Посмотреть больше

Связанные APIs

Все APIs
APIЦенаОтвет
Kuaishou$0.01 за запросJSON
Kuaishou$0.001 за запросJSON
Kuaishou$0.001 за запросJSON
Kuaishou$0.001 за запросJSON
Kuaishou$0.001 за запросJSON
Kuaishou$0.001 за запросJSON

Руководства:Best Kuaishou API in 2026: Pricing Compared

Вопросы

FAQ

Как использовать API Kuaishou User Search (V2)?

Отправьте POST-запрос на https://api.sandbase.ai/v1/api/kuaishou/app/search-user-v2, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.

Сколько стоит API Kuaishou User Search (V2)?

$0.01 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.

Какие параметры принимает API Kuaishou User Search (V2)?

Обязательные: keyword (string). Необязательные: fans_sort (один из default, most_to_least, least_to_most), pcursor (string), user_gender (один из all, male, female) и user_relation (один из all, same_city, verified, live, following). В таблице Parameters и в Playground на этой странице перечислены все поля.

Что возвращает API Kuaishou User Search (V2)?

JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.

Нужен ли мне аккаунт разработчика Kuaishou или API key?

Нет. Kuaishou User Search (V2) работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Kuaishou.

User Search V2 возвращает видео или кандидатов аккаунтов?

Он ищет аккаунты по ключевому слову. Кандидаты пользователей находятся в entries mixFeeds. Перед выбором аккаунта проверьте возвращённые ID и публичные поля профиля; первое совпадение или самый высокий число подписчиков не подтверждают личность.

Для другой страницы поиска нужно использовать pcursor или recoPcursor?

В схеме запроса указан pcursor, и сказано использовать возвращённое значение. recoPcursor — это другой курсор рекомендаций; no_more там не означает, что поиск завершён. Это руководство останавливается после первой страницы и не заявляет о тесте продолжения.

Какие фильтры поиска можно выбрать?

Маршрут объявляет fans_sort (default, most_to_least, least_to_most), user_gender (all, male, female) и user_relation (all, same_city, verified, live, following). Зафиксируйте выбранные фильтры; ни один фильтр не доказывает, что кандидат — это нужный вам человек.