Unofficial TikTok Live Chat Streaming API (SSE)

GET/api/v1/live_chat_stream

LIVE chat pushed to you over one open SSE connection instead of polling. Same events as /live_chat (comments, joins, likes, gifts). Optional alternative — /live_chat polling still works. Duplicate events are removed automatically. Auto-closes after 10 min (or 15000 events), then asks you to reconnect. Each API key may hold up to 3 live streams at once (chat+gifts).

ParameterDescription
room_idrequiredTikTok live room id (get one from /room_id by username).

Returns

An text/event-stream (SSE). Events: open (limits info once at start), message (one comment — username, nickname, user_id, text), limit (stream hit the 10-min cap; reconnect), error (room offline). Connect with EventSource; no cursor needed — the server tracks it. Plain JSON polling? use /live_chat instead.

Example Request

https://dev.omar-thing.site/api/v1/live_chat_stream?room_id=7649810043075971853&key=YOUR_API_KEY
Sends a live request using your API key above.

More Live endpoints