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

TikTok Room Danmaku Messages

API दस्तावेज़
https://api.sandbase.ai/v1/api/tiktok/web/live-im-fetch

Retrieves real-time danmaku and chat messages from a TikTok broadcast room. Requires a room ID and supports both protobuf and JSON output formats.

मूल्य
$0.001USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
1 आवश्यक · 2 वैकल्पिक

प्लेग्राउंड

इनपुट
Live room id
Response format, protobuf (default) or json
User unique ID (optional)
आउटपुटतैयार

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

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

API README

TikTok Room Danmaku Messages API

Access danmaku chat messages from an active TikTok broadcast using room_id. You can optionally supply user_unique_id and specify the output format.

Use cases

  • Monitor real-time audience comments during a broadcast.
  • Collect stream interaction data for sentiment analysis.
  • Display incoming stream chat in external moderation dashboards.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/live-im-fetch" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"room_id": "7693529622901705485"}'

Parameters

NameTypeRequiredDescription
room_idstringYesLive room id
user_unique_idstringNoUser unique ID (optional)
resp_content_typestringNoResponse format, protobuf (default) or json

Notes

  • resp_content_type controls output format and accepts protobuf (default) or json.
  • user_unique_id is an optional parameter to identify a specific user.

Pricing

Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.

और जानें

संबंधित APIs

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

गाइड्स:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

प्रश्न

FAQ

TikTok Room Danmaku Messages API का उपयोग कैसे करें?

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

TikTok Room Danmaku Messages API की लागत कितनी है?

$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।

TikTok Room Danmaku Messages API कौन-से parameters स्वीकार करती है?

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

TikTok Room Danmaku Messages API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)।

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

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