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

Douyin User Stream Information by UID

API दस्तावेज़
https://api.sandbase.ai/v1/api/douyin/web/user-live-info-by-uid

Retrieves stream session information and broadcast metadata for a Douyin user based on their unique identifier. Accepts a user UID to return stream scene and logging data.

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

प्लेग्राउंड

इनपुट
User UID
आउटपुटउदाहरण
प्रतिक्रियाoutputs · 265 B · 17 पंक्तियाँ
[
  {
    "data": {
      "data": [
        {
          "log_id": "202608140134013C3A7F8683A494CC0A67",
          "scene_id": 253,
          "user_live": []
        }
      ],
      "extra": {
        "now": 1786642441492
      },
      "status_code": 0
    }
  }
]

उदाहरण

प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।

API README

Douyin User Stream Information by UID API

This API takes a Douyin user uid and returns a short record with stream session metadata. The response holds a log_id, a scene_id and a user_live list. In the sample response, user_live is empty.

Use cases

  • Check whether a Douyin account has any entries in user_live for a known uid.
  • Store the log_id of each lookup to trace a specific request in your own logs.
  • Run a quick check on a list of creator UIDs before calling heavier live-room APIs.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/user-live-info-by-uid" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"uid": "92769419069"}'

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

Parameters

NameTypeRequiredDescription
uidstringYesUser UID

Example response

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

{
  "data": [
    {
      "log_id": "2026110315323230CB2D8E36B04148220A",
      "scene_id": 253,
      "user_live": []
    }
  ],
  "extra": {
    "now": 1793691152930
  },
  "status_code": 0
}

Response fields

FieldMeaning
data[]List of result objects for the requested uid. The sample holds one object.
data[].user_liveList of stream entries for the user. It is an empty list in the sample response, which means no stream entries came back for that uid.
data[].log_idString that identifies this lookup. Its first 14 digits look like a date and time, but the time zone is not shown.
data[].scene_idNumber that labels the scene of the request. The sample value is 253.
extra.nowServer time as a 13-digit number, which looks like a Unix timestamp in milliseconds.
status_codeStatus of the call. 0 in the sample response.

Notes

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 User Stream Information by UID API का उपयोग कैसे करें?

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

Douyin User Stream Information by UID API की लागत कितनी है?

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

Douyin User Stream Information by UID API कौन-से parameters स्वीकार करती है?

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

Douyin User Stream Information by UID API क्या लौटाती है?

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

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

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