keywordstringจำเป็น
The search keyword to find users.
https://api.sandbase.ai/v1/api/kuaishou/search-userSearch public Kuaishou user accounts by keyword with page-number pagination. Use it to discover relevant creators or accounts before requesting profile and published-video data.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Returns a list of public Kuaishou user accounts that match a search keyword. Each account includes its ID, display name, bio, follower count, avatar and verification status. The only required input is keyword.
美食, and rank them by fansCount.user_id values to feed into profile and video list requests.kwaiId handles and bios to screen accounts for outreach.curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/search-user" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "美食"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | Yes | The search keyword to find users. |
page | integer | No | Page number for results, starting from 1. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"extParams": {
"disablePhotoInsert": false,
"dynamicShard": false,
"isShowPymkUserPhotos": true,
"isShowScrollTopButton": false,
"rsRecoAfterPlayInterval": 2,
"searchTaskParam": {},
"sessionParams": "",
"streamExtParams": "{\"single\":false,\"predict\":false,\"searchDetailCost\":{\"filterItem\":0,\"getView\":14}…",
"subtagWithPic": false
},
"host-name": "public-bjmt-c26-kce-node826.idchb1az4.hb1.kwaidc.com",
"llsid": "2006455000852273746",
"pcursor": "1",
"portalFlag": true,
"recoPcursor": "no_more",
"recoPymkFlag": false,
"responseCode": 0,
"result": 1,
"userFoldIndex": -1,
"users": [
{
"extra": {
"userInfoExposed": {
"lineSecond": "2"
}
},
"fans": false,
"fansCount": 1229553,
"feedLogCtx": {
"stidContainer": "In8xfDIwMDY0NTUwMDA4NTIyNzM3NDZ8QkFTRTo0MDMwMDA1OHx7InBnIjoic3VmIn18eyJiaXoiOiJz…"
},
"following": false,
"headurl": "http://p4.a.yximgs.com/uhead/AB/2021/02/18/12/BMjAyMTAyMTgxMjA0MTRfNDAzMDAwNThfM…",
"headurls": [
{
"cdn": "p4.a.yximgs.com",
"url": "http://p4.a.yximgs.com/uhead/AB/2021/02/18/12/BMjAyMTAyMTgxMjA0MTRfNDAzMDAwNThfM…"
}
],
"isBanned": false,
"isFavorited": false,
"is_followed": 0,
"kwaiId": "kuaishoumeishi",
"messageLink": "kwai://message/40300058"
}
],
"ussid": "MV81NzQ1MDc3MzkyXzE3OTM2OTEzNzUxNjBfXzQ0NzU"
}
| Field | Meaning |
|---|---|
users[] | List of matching user accounts for the requested page, in search rank order. |
users[].user_id | Numeric ID of the account. Use it to request profile or video data. |
users[].user_name | Display name of the account. |
users[].kwaiId | Public Kuaishou handle of the account. |
users[].user_text | Bio text written by the account owner. |
users[].fansCount | Number of followers the account has. |
users[].user_sex | Gender code of the account. The response shows F and U. |
users[].verified | true if the account is verified. When verified, verifiedDetail.description holds the badge text. |
users[].headurl / users[].headurls[].url | Avatar image URL. headurls lists the same image on different CDN hosts. |
pcursor | Cursor value returned with the page. It was 1 for the first page. |
page to get more results. It starts at 1 and defaults to 1.user_id is a number. Pass it to Kuaishou User Profile or Kuaishou User Published Videos to get more about an account.$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/search-user" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"keyword": "美食"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
keywordstringจำเป็นThe search keyword to find users.
pageintegerPage number for results, starting from 1.
ค่าเริ่มต้น: 1
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Kuaishou User SearchAPI นี้ Kuaishou | $0.014286 ต่อการเรียก | JSON |
Kuaishou | $0.001 ต่อการเรียก | JSON |
Kuaishou | $0.001 ต่อการเรียก | JSON |
Kuaishou | $0.001 ต่อการเรียก | JSON |
Kuaishou | $0.001 ต่อการเรียก | JSON |
Kuaishou | $0.001 ต่อการเรียก | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/kuaishou/search-user โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.014286 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: keyword (string). ตัวเลือก: page (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Kuaishou User Search ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Kuaishou API แยกต่างหาก