Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

Douyin sec_user_id from URL

API दस्तावेज़
https://api.sandbase.ai/v1/api/douyin/web/sec-user-id

Extracts the Douyin sec_user_id identifier from a provided web link or profile URL. Input the target link in the query parameter to resolve the user identifier.

मूल्य
$0.001USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
1 आवश्यक · 0 वैकल्पिक
100 निःशुल्क कॉल / दिनपहली 100 कॉल प्रति दिन निःशुल्क (organization के लिए साझा) · 00:00 UTC पर रीसेट होता है। उसके बाद प्रति कॉल भुगतान करें।

प्लेग्राउंड

इनपुट
आउटपुटतैयार

आपका आउटपुट यहाँ दिखाई देगा

इनपुट पूरा करें, फिर Run पर क्लिक करें।

API README

Douyin sec_user_id from URL API

This API takes a Douyin web link in the url parameter and returns a single JSON string. It is meant to extract the sec_user_id from a user profile link. In the sample call, a video link came back as the same URL text.

Use cases

  • Turn a shared Douyin profile link into a sec_user_id before you request that user's data.
  • Prepare user identifiers for Douyin User Profile (Web) from profile links you collected.
  • Check whether a pasted Douyin link resolves to an identifier or comes back unchanged.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/sec-user-id" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.douyin.com/video/7691553968815623478"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
urlstringYes

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

"https://www.douyin.com/video/7691553968815623478"

Response fields

FieldMeaning
$The whole response is one plain JSON string, not an object, so it has no named fields.
$For a user profile link, this string is the resolved sec_user_id, according to the API description.
$In the sample call with a video link, the string was the same URL that was sent in url.

Notes

  • Send a user profile or homepage URL in url if you want a sec_user_id. The sample video URL https://www.douyin.com/video/7691553968815623478 returned the input unchanged.
  • For a video link, call Douyin Video ID Extractor to get the video ID.
  • To process many profile links in one call, use Douyin sec_user_ids from URLs (Batch).

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

और जानें

संबंधित APIs

सभी APIs
APIकीमतप्रतिक्रिया
Douyin$0.001 प्रति कॉलJSON
Douyin$0.001 प्रति कॉलJSON
Douyin$0.001 प्रति कॉलJSON
Douyin$0.001 प्रति कॉलJSON
Douyin$0.001 प्रति कॉलJSON
Douyin$0.03 प्रति कॉलJSON

गाइड्स:Best Douyin API in 2026: Pricing Compared

प्रश्न

FAQ

Douyin sec_user_id from URL API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/douyin/web/sec-user-id पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

Douyin sec_user_id from URL API की लागत कितनी है?

$0.001 प्रति call। हर organization को प्रति UTC day 100 निःशुल्क calls मिलती हैं, जो इस सहित योग्य SandBase APIs के बीच साझा होती हैं; उसके बाद हर call का बिल आपकी SandBase balance से इस कीमत पर लिया जाता है। कोई subscription नहीं है।

Douyin sec_user_id from URL API कौन-से parameters स्वीकार करती है?

आवश्यक: url (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

Douyin sec_user_id from URL API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।

क्या मुझे एक Douyin developer account या API key चाहिए?

नहीं। Douyin sec_user_id from URL SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Douyin API access के लिए आवेदन करने की आवश्यकता नहीं है।