Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

Douyin User Stream Information by UID

API dokümanları
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.

Fiyat
$0.001USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
1 gerekli · 0 isteğe bağlı
Günde 100 ücretsiz çağrıHer gün ilk 100 çağrı ücretsizdir (kurum genelinde paylaşılır) · UTC 00:00'da sıfırlanır. Sonrasında çağrı başına ücretlendirilir.

Oynatma Alanı

Girdi
User UID
ÇıktıÖrnek
Yanıtoutputs · 265 B · 17 satır
[
  {
    "data": {
      "data": [
        {
          "log_id": "202608140134013C3A7F8683A494CC0A67",
          "scene_id": 253,
          "user_live": []
        }
      ],
      "extra": {
        "now": 1786642441492
      },
      "status_code": 0
    }
  }
]

Örnekler

Bir örnek seçerek girdilerini ve sonucunu playground'a yükleyin.

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.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
Douyin$0.001 çağrı başınaJSON
Douyin$0.001 çağrı başınaJSON
Douyin$0.001 çağrı başınaJSON
Douyin$0.001 çağrı başınaJSON
Douyin$0.001 çağrı başınaJSON
Douyin$0.03 çağrı başınaJSON

Kılavuzlar:Best Douyin API in 2026: Pricing Compared

Sorular

SSS

Douyin User Stream Information by UID API'sini nasıl kullanırım?

SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/douyin/web/user-live-info-by-uid adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

Douyin User Stream Information by UID API'sinin fiyatı nedir?

çağrı başına $0.001. Her kuruluş, UTC günü başına 100 ücretsiz çağrı alır; bu hak, bu API dahil uygun SandBase API'leri arasında ortaktır. Sonrasında her çağrı, SandBase bakiyenizden bu fiyat üzerinden ücretlendirilir. Abonelik yoktur.

Douyin User Stream Information by UID API'si hangi parametreleri kabul eder?

Gerekli: uid (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

Douyin User Stream Information by UID API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.

Bir Douyin geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. Douyin User Stream Information by UID, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Douyin API erişimi için ayrıca başvuru yapmanız gerekmez.