tiktok-live-api
tiktok-live-api is an unofficial client library for connecting to TikTok LIVE streams without reverse engineering. Powered by the tik.tools managed WebSocket API, it provides 99.9% uptime and automatic maintenance handling across platform updates. The tool supports Node.js, TypeScript, Python, Java, Go, and C via WebSocket. Key features include real-time streaming of chat messages, gift events with diamond counts, like and follow notifications, viewer count updates, and battle or room events. It also offers AI-powered speech-to-text for automatic live captions. The library simplifies integration by eliminating the need for complex setup, protocol buffers, or unstable reverse-engineered connections. Users connect by providing a streamer username and API key to instantiate the client and subscribe to specific event listeners such as chat, gifts, likes, follows, and viewer stats. It is designed for developers building chat bots, analytics dashboards, content moderation tools, or real-time engagement trackers. Th