Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

Kuaishou User Search (V2)

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

Harga
$0.01USD / panggilan
Metode
POST
Respons
JSON
Parameter
1 wajib · 4 opsional

Playground

Input
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
OutputContoh
Responsoutputs · 9.1 KB · 248 baris
[
  {
    "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"
    }
  }
]

Contoh

Pilih contoh untuk memuat input dan hasilnya ke 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.

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
Kuaishou$0.01 per panggilanJSON
Kuaishou$0.001 per panggilanJSON
Kuaishou$0.001 per panggilanJSON
Kuaishou$0.001 per panggilanJSON
Kuaishou$0.001 per panggilanJSON
Kuaishou$0.001 per panggilanJSON

Panduan:Best Kuaishou API in 2026: Pricing Compared

Pertanyaan

FAQ

Bagaimana cara menggunakan API Kuaishou User Search (V2)?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/kuaishou/app/search-user-v2 dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API Kuaishou User Search (V2)?

$0.01 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.

Parameter apa yang diterima API Kuaishou User Search (V2)?

Wajib: keyword (string). Opsional: fans_sort (salah satu dari default, most_to_least, least_to_most), pcursor (string), user_gender (salah satu dari all, male, female) dan user_relation (salah satu dari all, same_city, verified, live, following). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API Kuaishou User Search (V2)?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.

Apakah saya memerlukan akun developer atau kunci API Kuaishou?

Tidak. Kuaishou User Search (V2) berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Kuaishou secara terpisah.

Apakah User Search V2 mengembalikan video atau kandidat akun?

Ini mencari akun berdasarkan kata kunci. Rekor user kandidat berada di dalam entri mixFeeds. Tinjau ID yang dikembalikan dan field profil publik sebelum memilih akun; kecocokan pertama atau jumlah pengikut tertinggi tidak memverifikasi identitas.

Haruskah saya menggunakan pcursor atau recoPcursor untuk halaman pencarian lain?

Skema permintaan menyebut pcursor dan mengatakan untuk menggunakan nilai yang dikembalikan. recoPcursor adalah cursor rekomendasi yang berbeda; no_more di sana tidak membuktikan bahwa pencarian sudah berakhir. Panduan ini berhenti setelah halaman pertama dan tidak mengklaim uji kelanjutan.

Filter pencarian apa yang bisa saya pilih?

Rute ini mendeklarasikan fans_sort (default, most_to_least, least_to_most), user_gender (all, male, female), dan user_relation (all, same_city, verified, live, following). Catat filter yang Anda pilih; tidak ada filter yang membuktikan bahwa kandidat adalah orang yang Anda maksud.