Developer Guides

TikTok LIVE API Developer Guides

Build real-time applications with TikTok LIVE data.

$npx tiktok-live-api
tiktok.com/@
Stream offlineEnter a live TikTok username above
Connecting to @ live
Offline
Live Stream Monitor
@
<50msLatency
99.9%Uptime
FreeTo Test
Quick Start

Getting Started with TikTok LIVE API

Install the SDK, get a free API key, connect to any live stream, and receive real-time events in under 30 seconds.

2 min readBeginner
Guide

TikTok LIVE WebSocket API

Connect to any TikTok LIVE stream via WebSocket. Receive real-time chat, gifts, viewer counts, battles with sub-50ms latency.

5 min readBeginner
Tutorial

Build a TikTok Live Chat Bot in 5 Minutes

Create a fully functional chat bot that responds to commands, tracks gifts, maintains a leaderboard, and welcomes viewers.

5 min readBeginner
Tutorial

Build a TikTok LIVE Stream Overlay

Create an OBS-compatible browser source overlay with real-time chat feed, animated gift alerts, and viewer count display.

10 min readIntermediate
Tutorial

TikTok LIVE API Python Guide

Connect to any TikTok LIVE stream from Python using WebSocket. Real-time chat, gifts, viewer counts - a production-ready alternative to TikTokLive library.

5 min readBeginner
Reference

TikTok LIVE API Events Reference

Complete reference for all real-time WebSocket events: chat, gift, like, follow, viewer count, battles, subscriptions, and more.

8 min readAll Levels
Feature

TikTok LIVE Captions & Subtitles

Add real-time AI-powered captions and subtitles to any TikTok LIVE stream. 60+ languages, OBS overlay, WebSocket API.

4 min readBeginner
Guide

Text to Speech TTS on TikTok Live

Learn how to use text-to-speech on TikTok Live streams. Build TTS bots, read chat aloud, and create interactive voice experiences.

5 min readBeginner
Migration

Migrate from TikTok-Live-Connector

Switch from tiktok-live-connector to tiktok-live-api in one line. Same event names, same constructor — just change the import.

2 min readAll Levels