One-Step Migration

Switch from TikTok-Live-Connector in Seconds

Already using tiktok-live-connector? Switch to the managed TikTool API with a single import line change. Same event names, same methods, zero code changes.

1

Install the SDK

npm install tiktok-live-api
2

Change one import line

-const { WebcastPushConnection } = require('tiktok-live-connector');
+const { WebcastPushConnection } = require('tiktok-live-api');
3

Use your TikTools API key

-signApiKey: 'EULER_API_KEY'
+signApiKey: 'TIKTOOL_API_KEY'

Get a free key at tik.tools — no credit card required.

That's it. All your existing event handlers work identically — chat, gift, member, roomUser, like, follow, share, emote, linkMicBattle, linkMicArmies, questionNew, getState(), connect(), disconnect().

Full Working Example

This code runs identically with both tiktok-live-connector and tiktok-live-api. Only the import changes.

// Before: const { WebcastPushConnection } = require('tiktok-live-connector');
const { WebcastPushConnection } = require('tiktok-live-api');

const connection = new WebcastPushConnection('username', {
  signApiKey: 'YOUR_TIKTOOL_API_KEY',
});

connection.on('chat', data => {
  console.log(`${data.user.uniqueId}: ${data.comment}`);
});

connection.on('gift', data => {
  console.log(`${data.user.uniqueId} sent ${data.giftName}`);
});

connection.on('roomUser', data => {
  console.log(`Viewers: ${data.viewerCount}`);
});

connection.on('connected', state => {
  console.log('Connected!', connection.getState());
});

connection.connect();

100% Event Name Compatibility

Every TTLC event name works exactly the same. We also fire the native TikTools name simultaneously.

TTLC Event NameStatusNotes
chatIdentical
memberIdentical
giftIdentical
likeIdentical
followIdentical
shareIdentical
subscribeIdentical
socialIdentical
roomUserAlias for roomUserSeq — both fire
questionNewAlias for question — both fire
linkMicBattleAlias for battle — both fire
linkMicArmiesAlias for battleArmies — both fire
emoteAlias for emoteChat — both fire
envelopeIdentical
liveIntroIdentical
roomPinIdentical
barrageIdentical
superFanNew in 2.0.8 — supported
superFanJoinNew in 2.0.8 — supported
superFanBoxNew in 2.0.8 — supported
connectedIdentical
disconnectedIdentical
errorIdentical
streamEndIdentical
rawDataFires with full raw event payload
websocketConnectedFires on WS open

Why Switch to the Managed API?

🛡️

Never Breaks

TikTok updates their protocol regularly, breaking direct integrations. TikTool handles all protocol changes for you — zero downtime.

Faster Event Delivery

Sub-50ms event latency through our optimized infrastructure. No protobuf decoding on your end.

🧩

Zero Dependencies

No protobufjs, no ws-client, no HTTP signing. Just one npm package with zero external dependencies.

🔄

Auto Reconnection

Built-in exponential backoff reconnection. Your connection survives network blips and TikTok server restarts.

📊

Usage Dashboard

Monitor your API usage, WebSocket connections, and event volume in real-time at tik.tools/dashboard.

💬

Developer Support

Get help via Discord, email, or the in-app support chat. Response time under 4 hours.

Bonus: Features TTLC Doesn't Have

🎤

Live Captions (Speech-to-Text)

AI-powered real-time transcription and translation for any TikTok LIVE stream. 50+ languages supported.

🧩

Unreal Engine Plugin

Native C++/Blueprint plugin for game integrations. Build TikTok-interactive games with zero Node.js.

🔍

Live Feed Discovery

Search and discover who's currently live on TikTok. Filter by language, region, and viewer count.

🐍

Python SDK

Full Python SDK available: pip install tiktok-live-api. Same API, same events, different language.

Ready to Migrate?

Get a free API key — no credit card needed. The Sandbox tier includes 50 requests/day and 1 WebSocket connection, free forever.