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

TikTok LIVE Status

API-Dokumentation
https://api.sandbase.ai/v1/api/tiktok/app-v3/check-live-room-online

Check whether a TikTok LIVE room is currently live by room ID.

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

Playground

Eingabe
Live room id
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

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

API-README

TikTok LIVE Status API

Check whether a TikTok LIVE room is broadcasting right now. Pass the room_id; the answer says alive: true while the creator is live.

Use cases

  • Alert when a tracked creator goes live.
  • Skip live-comment or gift collection for rooms that are offline.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/check-live-room-online" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"room_id": "7358603858249009962"}'

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

Parameters

NameTypeRequiredDescription
room_idstringYesLive room id

Example response

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

{
  "data": [
    {
      "alive": false,
      "room_id": 7358603858249009962,
      "room_id_str": "7358603858249009962"
    }
  ],
  "extra": {
    "now": 1793676899476
  },
  "status_code": 0
}

Response fields

FieldMeaning
data[].alivetrue if the room is live now.
data[].room_id_strThe room ID as a string.

Notes

  • A creator gets a new room_id for each broadcast. Get the current one from a live link with TikTok Live Room ID.

Pricing

$0.001 per successful call. Failed calls, including lookups whose target does not exist, are not charged. It is included in the daily free quota of each organization.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
TikTok$0.001 pro AufrufJSON
TikTok$0.01 pro AufrufJSON
TikTok$0.001 pro AufrufJSON
TikTok$0.001 pro AufrufJSON
TikTok$0.001 pro AufrufJSON
TikTok$0.001 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 LIVE Status API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/tiktok/app-v3/check-live-room-online 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 LIVE Status 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 LIVE Status API?

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

Was gibt die TikTok LIVE Status API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.

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

Nein. TikTok LIVE Status 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.