user_idstringจำเป็น
Kuaishou user eid, the ID in the profile URL (e.g. https://www.kuaishou.com/profile/3xz63mn6fngqtiq). Numeric user IDs are not accepted.
https://api.sandbase.ai/v1/api/kuaishou/web/user-infoReturns public profile information for a specified Kuaishou web user. Supply the target user identifier to retrieve account metadata.
[
{
"data": {
"host-name": "public-bjx-c34-kce-node3782.idchb1az1.hb1.kwaidc.com",
"result": 1,
"userProfile": {
"gender": "M",
"isFollowing": false,
"isUserIsolated": false,
"livingInfo": {
"iconType": 0,
"living": false,
"livingId": null
},
"ownerCount": {
"fan": 4168210,
"follow": 210,
"like": 38525721,
"photo_public": 256
},
"profile": {
"headurl": "https://p66.a.kwimgs.com/uhead/AB/2025/08/11/21/BMjAyNTA4MTEyMTEyNDlfMjI4OTA1ODAyXzFfaGQ5ODdfODg4_s.jpg",
"user_id": "3xz63mn6fngqtiq",
"user_name": "权少爱吃小汉堡🍔",
"user_profile_bg_url": "//s2-10623.kwimgs.com/kos/nlav10623/vision_images/profile_background.5bc08b1bf4fba1f4.svg",
"user_text": "感谢你的关注木木哒 我玩得游戏叫:Gmod\n\n禁止冒充搬运视频 违者必究"
},
"showCollectTab": false,
"userDefineId": "quanshaogmod"
}
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Returns the public profile of a Kuaishou web user, including name, avatar, bio, gender, and follower, following, like and public post counts. It needs one input, the user's user_id (eid).
ownerCount.fan and ownerCount.like on a schedule to chart a creator's growth.userProfile.livingInfo.living.userDefineId to their user_id.curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/web/user-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"user_id": "3xz63mn6fngqtiq"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
user_id | string | Yes |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"host-name": "public-bjy-c34-kce-node3594.idchb1az2.hb1.kwaidc.com",
"result": 1,
"userProfile": {
"gender": "M",
"isFollowing": false,
"isUserIsolated": false,
"livingInfo": {
"iconType": 0,
"living": false,
"livingId": null
},
"ownerCount": {
"fan": 4177857,
"follow": 210,
"like": 38618671,
"photo_public": 257
},
"profile": {
"headurl": "https://p66.a.kwimgs.com/uhead/AB/2025/08/11/21/BMjAyNTA4MTEyMTEyNDlfMjI4OTA1ODA…",
"user_id": "3xz63mn6fngqtiq",
"user_name": "权少爱吃小汉堡🍔",
"user_profile_bg_url": "//s2-10623.kwimgs.com/kos/nlav10623/vision_images/profile_background.5bc08b1bf4f…",
"user_text": "感谢你的关注木木哒 我玩得游戏叫:Gmod\n\n禁止冒充搬运视频 违者必究"
},
"showCollectTab": false,
"userDefineId": "quanshaogmod"
}
}
| Field | Meaning |
|---|---|
userProfile.profile.user_name | Display name of the user. It can contain emoji. |
userProfile.profile.user_id | The user ID (eid). It matches the user_id you sent. |
userProfile.profile.user_text | The bio text on the profile. It can contain line breaks. |
userProfile.profile.headurl / userProfile.profile.user_profile_bg_url | Image URLs for the avatar and the profile background. The background URL starts with //, so add a scheme before use. |
userProfile.ownerCount.fan / userProfile.ownerCount.follow | Number of followers and number of accounts this user follows. |
userProfile.ownerCount.like / userProfile.ownerCount.photo_public | Total likes counted for the user and the number of public posts. |
userProfile.gender | Gender code of the user. The sample value is M. |
userProfile.userDefineId | Custom handle set by the user, such as quanshaogmod. |
userProfile.livingInfo.living | Boolean that shows whether the user is live now. livingInfo.livingId is null when the user is not live. |
userProfile.isFollowing / userProfile.showCollectTab | Booleans for the follow state in the request context and for whether the favorites tab is shown on the profile. |
user_id. It is a string such as 3xz63mn6fngqtiq.$0.002 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/web/user-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"user_id": "3xz63mn6fngqtiq"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
user_idstringจำเป็นKuaishou user eid, the ID in the profile URL (e.g. https://www.kuaishou.com/profile/3xz63mn6fngqtiq). Numeric user IDs are not accepted.
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"host-name": "public-bjx-c34-kce-node3782.idchb1az1.hb1.kwaidc.com",
"result": 1,
"userProfile": {
"gender": "M",
"isFollowing": false,
"isUserIsolated": false,
"livingInfo": {
"iconType": 0,
"living": false,
"livingId": null
},
"ownerCount": {
"fan": 4168210,
"follow": 210,
"like": 38525721,
"photo_public": 256
},
"profile": {
"headurl": "https://p66.a.kwimgs.com/uhead/AB/2025/08/11/21/BMjAyNTA4MTEyMTEyNDlfMjI4OTA1ODAyXzFfaGQ5ODdfODg4_s.jpg",
"user_id": "3xz63mn6fngqtiq",
"user_name": "权少爱吃小汉堡🍔",
"user_profile_bg_url": "//s2-10623.kwimgs.com/kos/nlav10623/vision_images/profile_background.5bc08b1bf4fba1f4.svg",
"user_text": "感谢你的关注木木哒 我玩得游戏叫:Gmod\n\n禁止冒充搬运视频 违者必究"
},
"showCollectTab": false,
"userDefineId": "quanshaogmod"
}
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Kuaishou Web User InfoAPI นี้ Kuaishou | $0.002 ต่อการเรียก | JSON |
Kuaishou | $0.001 ต่อการเรียก | JSON |
Kuaishou | $0.001 ต่อการเรียก | JSON |
Kuaishou | $0.001 ต่อการเรียก | JSON |
Kuaishou | $0.001 ต่อการเรียก | JSON |
Kuaishou | $0.002 ต่อการเรียก | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/kuaishou/web/user-info โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.002 ต่อครั้ง ทุกองค์กรจะได้รับคำขอฟรี 100 ครั้งต่อวัน UTC โดยใช้ร่วมกันใน SandBase APIs ที่เข้าเงื่อนไขรวมถึงรายการนี้ หลังจากนั้นแต่ละคำขอจะคิดค่าบริการตามราคานี้จากยอดคงเหลือ SandBase ของคุณ ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: user_id (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Kuaishou Web User Info ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Kuaishou API แยกต่างหาก