Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

TikTok Room Danmaku Messages

API-Dokumentation
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.

Preis
$0.001USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
1 erforderlich · 2 optional

Playground

Eingabe
Live room id
Response format, protobuf (default) or json
User unique ID (optional)
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

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.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
TikTok$0.001 pro AufrufJSON
TikTok$0.001 pro AufrufJSON
TikTok$0.001 pro AufrufJSON
TikTok$0.001 pro AufrufJSON
TikTok$0.001 pro AufrufJSON
TikTok$0.05 pro AufrufJSON

Anleitungen:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Fragen

FAQ

Wie verwende ich die TikTok Room Danmaku Messages API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/tiktok/web/live-im-fetch mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die TikTok Room Danmaku Messages API?

$0.001 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die TikTok Room Danmaku Messages API?

Erforderlich: room_id (string). Optional: resp_content_type (string) und user_unique_id (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die TikTok Room Danmaku Messages API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron).

Benötige ich ein TikTok-Entwicklerkonto oder einen API-Schlüssel?

Nein. TikTok Room Danmaku Messages läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für TikTok API beantragen.