Kuaishou User ID Lookup
https://api.sandbase.ai/v1/api/kuaishou/web/get-user-idResolves a Kuaishou user ID from a provided user share link. Useful for extracting internal profile identifiers from public sharing URLs.
- मूल्य
- $0.001USD / कॉल
- मेथड
- POST
- प्रतिक्रिया
- JSON
- पैरामीटर
- 1 आवश्यक · 0 वैकल्पिक
प्लेग्राउंड
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
API README
Kuaishou User ID Lookup API
Returns the Kuaishou user ID found in a user share link. It needs one input, share_link, which is a Kuaishou user share URL such as https://c.kuaishou.com/fw/user/3xcuu5habgc8z29.
Use cases
- Turn a copied Kuaishou profile share link into a user ID you can store.
- Normalize a list of user share URLs into IDs before you run profile lookups.
- Match a creator's shared link to the same creator in your own database.
Request
curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/web/get-user-id" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"share_link": "https://c.kuaishou.com/fw/user/3xcuu5habgc8z29"}'
The result is returned in outputs[0].data.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
share_link | string | Yes |
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"user_id": "3xcuu5habgc8z29"
}
Response fields
| Field | Meaning |
|---|---|
user_id | The Kuaishou user ID, returned as a string. |
user_id | In the sample, the value equals the last segment of the share link path (/fw/user/3xcuu5habgc8z29). |
user_id | The only field in the response. Pass it to other Kuaishou APIs that take a user identifier. |
Notes
- Pass the full user share URL in
share_link. The sample uses the formhttps://c.kuaishou.com/fw/user/<id>. - The response holds only
user_id. Use it as input to a profile API such as Kuaishou Web User Info or Kuaishou Single User Data (V2). - To list a creator's posts after the lookup, try Kuaishou User Video List (V2).
Pricing
$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
बिल्डिंग शुरू करें
अपना पहला अनुरोध भेजें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/web/get-user-id" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"share_link": "https://c.kuaishou.com/fw/user/3xcuu5habgc8z29"
}'2. प्रमाणीकरण
अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
3. पैरामीटर
4. रिस्पॉन्स
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
संबंधित APIs
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Kuaishou User ID Lookupयह API Kuaishou | $0.001 प्रति कॉल | JSON |
Kuaishou | $0.001 प्रति कॉल | JSON |
Kuaishou | $0.001 प्रति कॉल | JSON |
Kuaishou | $0.001 प्रति कॉल | JSON |
Kuaishou | $0.002 प्रति कॉल | JSON |
Kuaishou | $0.002 प्रति कॉल | JSON |
प्रश्न
FAQ
Kuaishou User ID Lookup API का उपयोग कैसे करें?
https://api.sandbase.ai/v1/api/kuaishou/web/get-user-id पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
Kuaishou User ID Lookup API की लागत कितनी है?
$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
Kuaishou User ID Lookup API कौन-से parameters स्वीकार करती है?
आवश्यक: share_link (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
Kuaishou User ID Lookup API क्या लौटाती है?
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
क्या मुझे एक Kuaishou developer account या API key चाहिए?
नहीं। Kuaishou User ID Lookup SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Kuaishou API access के लिए आवेदन करने की आवश्यकता नहीं है।
