Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Douyin User Broadcast Videos

เอกสาร API
https://api.sandbase.ai/v1/api/douyin/web/user-live-videos-by-sec-uid

Returns broadcast video data for a specified Douyin user using their security identifier. Provide the account identifier to inspect streaming content and badge details.

ราคา
$0.001USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 0 ไม่บังคับ
100 คำขอฟรี / วันคำขอ 100 ครั้งแรกต่อวันฟรี (ใช้ร่วมกันภายในองค์กร) · รีเซ็ตเวลา 00:00 UTC จากนั้นคิดค่าบริการตามจำนวนคำขอ

Playground

อินพุต
User sec_uid, also called sec_user_id, can be found in the user's homepage link.
เอาต์พุตตัวอย่าง
การตอบกลับoutputs · 202 B · 14 บรรทัด
[
  {
    "data": {
      "data": {
        "message": "forbidden",
        "prompts": "暂不支持查看个人信息"
      },
      "extra": {
        "now": 1787218998765
      },
      "status_code": 10033
    }
  }
]

ตัวอย่าง

เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground

API README

Douyin User Broadcast Videos API

Returns a Douyin user's live-streaming profile record for a given sec_uid. The response holds the account's display ID, avatar images, live privacy flags, and honor level badges. It needs only the sec_uid from the user's homepage link.

Use cases

  • Read the honor level badge of a Douyin account from badge_image_list and its level value.
  • Fetch avatar image URLs in three sizes for a user whose sec_uid you already have.
  • Check the display_id of an account to match a sec_uid to its visible Douyin ID.
  • Read the live-related permission flags, such as allow_use_linkmic, for a streamer account.

Request

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

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

Parameters

NameTypeRequiredDescription
sec_uidstringYesUser sec_uid, also called sec_user_id, can be found in the user's homepage link.

Example response

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

{
  "data": {
    "adversary_authorization_info": 3,
    "adversary_user_status": 1,
    "age_range": 0,
    "allow_be_located": false,
    "allow_find_by_contacts": false,
    "allow_others_download_video": false,
    "allow_others_download_when_sharing_video": false,
    "allow_share_show_profile": false,
    "allow_show_in_gossip": false,
    "allow_show_my_action": false,
    "allow_strange_comment": false,
    "allow_unfollower_comment": false
  },
  "extra": {
    "now": 1793691153681
  },
  "status_code": 0
}

Response fields

FieldMeaning
data.display_idThe public display ID of the account, for example Wuf666.
data.badge_image_list[].content.levelThe honor level shown on the badge. The example value is 21.
data.badge_image_list[].content.alternative_textText description of the badge. The example reads as an honor level 21 badge.
data.badge_image_list[].url_listImage URLs for the badge. Each item in the list points to the same badge image on a different host.
data.badge_image_list_v2A second badge list with the same structure as badge_image_list.
data.avatar_large.url_list / data.avatar_medium.url_list / data.avatar_thumb.url_listAvatar image URLs. The uri values show sizes of 1080x1080, 720x720 and 100x100.
data.allow_use_linkmic / data.allow_be_located / data.allow_find_by_contactsBoolean privacy and live settings of the account. All are false in the example.
data.fans_club.dataFans club details for the account, including club_name and level. The example values are empty or 0.
data.bottom_entry.schemaAn in-app link for the honor level page in the live room toolbar.
status_codeStatus of the call. 0 in the example response.

Notes

  • Find sec_uid in the user's homepage link. To pull it out of a link, use Douyin sec_user_id from URL.
  • Many fields come back empty or as 0 in the example, such as city, birthday and create_time. Treat these as not set.
  • For a full account profile, call Douyin User Profile (Web).

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

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Douyin User Broadcast Videos API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/douyin/web/user-live-videos-by-sec-uid โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Douyin User Broadcast Videos API ราคาเท่าไร?

$0.001 ต่อครั้ง ทุกองค์กรจะได้รับคำขอฟรี 100 ครั้งต่อวัน UTC โดยใช้ร่วมกันใน SandBase APIs ที่เข้าเงื่อนไขรวมถึงรายการนี้ หลังจากนั้นแต่ละคำขอจะคิดค่าบริการตามราคานี้จากยอดคงเหลือ SandBase ของคุณ ไม่มีค่าสมาชิกรายเดือน

Douyin User Broadcast Videos API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: sec_uid (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Douyin User Broadcast Videos API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Douyin ไหม?

ไม่จำเป็น Douyin User Broadcast Videos ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก