WebSocket API

TikTok LIVE
WebSocket API

Stream real-time TikTok LIVE events — chat, gifts, likes, follows, viewer counts, battles — through a single managed WebSocket connection. Sub-50ms latency. 99.9% uptime.

wss://api.tik.tools?uniqueId=USERNAME&apiKey=YOUR_KEY
<50msLatency
99.9%Uptime
18+Event Types
AnyLanguage

Connect in 3 lines of code

No protobuf, no reverse engineering, no signing servers. Just a WebSocket URL.

import WebSocket from 'ws';

const ws = new WebSocket('wss://api.tik.tools?uniqueId=streamer&apiKey=YOUR_KEY');

ws.on('message', (raw) => {
  const msg = JSON.parse(raw);
  console.log(msg.event, msg.data);
});

Every event, real-time

Structured JSON events for every interaction in the stream. All delivered in milliseconds.

Chat Messages

Every chat message with user data, emotes, and badges.

Virtual Gifts

Gift name, diamond value, repeat count, streaks.

Likes

Like events with user info and running totals.

Follows

New follower events during the livestream.

Viewer Count

Live viewer count updates in real-time.

Battles

Battle start, score updates, and results.

Member Joins

See who enters the livestream in real-time.

Shares

Track when viewers share the livestream.

Live Captions

AI speech-to-text with translation. Exclusive.

Why developers choose TikTool

The most complete TikTok LIVE WebSocket API available.

TikTool LiveEuler StreamTikTok-Live-Connector
WebSocket API❌ Self-hosted
Managed Infrastructure
AI Live Captions (STT)✅ Exclusive
CAPTCHA Solving✅ Pro+
Feed Discovery
Node.js SDK✅ @tiktool/live
Python SDK✅ tiktok-live-api
Free Tier✅ 50 req/day✅ Limited✅ (unreliable)
Uptime SLA99.9%99.9%N/A
Exclusive Feature

🎤 AI-Powered Live Captions

Real-time speech-to-text transcription with automatic language detection, translation to 50+ languages, and speaker diarization. No other TikTok API offers this.

Transparent Pricing

Start free, scale when you're ready.

Basic
From $7/wk
  • 10,000 requests/day
  • 3 WebSockets (8h)
  • 200 connects/day
  • Priority support
View Plans
Pro
From $15/wk
  • 75,000 requests/day
  • 50 WebSockets (8h)
  • CAPTCHA solving
  • Feed discovery
View Plans

Works with every language

Official SDKs for Node.js and Python. WebSocket works with everything else.

Start streaming TikTok LIVE data today

Free Sandbox tier — 50 requests/day, 1 WebSocket. No credit card required.