Sand AISand AI MAGI-2ตอนนี้ MAGI-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 / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 4 ไม่บังคับ

Playground

อินพุต
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

API README

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

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Kuaishou User Search (V2) API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/kuaishou/app/search-user-v2 โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Kuaishou User Search (V2) API ราคาเท่าไร?

$0.01 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Kuaishou User Search (V2) API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: 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 ในหน้านี้แสดงทุกฟิลด์

Kuaishou User Search (V2) API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Kuaishou ไหม?

ไม่จำเป็น Kuaishou User Search (V2) ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Kuaishou API แยกต่างหาก

User Search V2 ส่งกลับวิดีโอหรือผู้สมัครบัญชี?

มันค้นหาบัญชีตามคีย์เวิร์ด ข้อมูลผู้ใช้ที่เป็นผู้สมัครอยู่ในรายการ mixFeeds ตรวจสอบ IDs ที่ส่งกลับมาและฟิลด์โปรไฟล์สาธารณะก่อนเลือกบัญชี; การจับคู่แรกหรือจำนวนผู้ติดตามสูงสุดไม่ได้ยืนยันตัวตน

ฉันควรใช้ pcursor หรือ recoPcursor สำหรับหน้าค้นหาอีกหน้าหนึ่ง?

สคีมาของ request ระบุ pcursor และบอกให้ใช้ค่าที่ส่งกลับมา recoPcursor เป็น cursor สำหรับคำแนะนำคนละแบบ; ค่า no_more ตรงนั้นไม่ได้พิสูจน์ว่าการค้นหาสิ้นสุดแล้ว คู่มือนี้หยุดที่หน้าแรกและไม่ได้อ้างว่ามีการทดสอบการต่อเนื่อง

ฉันเลือกฟิลเตอร์การค้นหาอะไรได้บ้าง?

เส้นทางระบุ fans_sort (default, most_to_least, least_to_most), user_gender (all, male, female) และ user_relation (all, same_city, verified, live, following) บันทึกฟิลเตอร์ที่คุณเลือกไว้; ไม่มีฟิลเตอร์ใดพิสูจน์ได้ว่าผู้สมัครคือคนที่คุณตั้งใจ