Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

TikTok LIVE Status

Documentación de la API
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.

Precio
$0.001USD / llamada
Método
POST
Respuesta
JSON
Parámetros
1 obligatorios · 0 opcionales

Entorno de pruebas

Entrada
Live room id
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la API

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.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
TikTok$0.001 por llamadaJSON
TikTok$0.01 por llamadaJSON
TikTok$0.001 por llamadaJSON
TikTok$0.001 por llamadaJSON
TikTok$0.001 por llamadaJSON
TikTok$0.001 por llamadaJSON

Guías:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Preguntas

FAQ

¿Cómo uso la API de TikTok LIVE Status?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/tiktok/app-v3/check-live-room-online con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de TikTok LIVE Status?

$0.001 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de TikTok LIVE Status?

Requeridos: room_id (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de TikTok LIVE Status?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de TikTok?

No. TikTok LIVE Status funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de TikTok por separado.