Read chat and gifts in real time, answer viewers, pin and remove comments, mute spammers and start or end your LIVE from code, on accounts you own.
{
"context_id": "ctx_c7e76567dd50fb8b108a",
"room_id": "7708619922263280397",
"chat": {
"cursor": "1794817461926_7708682297284804643_1_1_1794817420940_0",
"status_code": 0,
"fetch_interval": 1000,
"fetch_type": 1,
"internal_ext": "fetch_time:1794817461926|start_time:1794817434208|ack_ids:,,7708682176405375752_1a50,7708682194616648734_1a58,7708682165898300173_1a64,7708682246808158750_1a70,7708682237252274974_1a7e,770868225179790...",
"messages": [
{
"method": "WebcastRoomMessage",
"msg_id": "1794817461912729954",
"payload": "CioKDVN5c3RlbU1lc3NhZ2UQnZ/qr46fnvQYGI2Wgviin6H9aiCYndSbnjQSnAFXZWxjb21lIHRvIFRpa1RvayBMSVZFISBIYXZlIGZ1biBpbnRlcmFjdGluZyB3aXRoIG90aGVycyBpbiByZWFsIHRpbWUuIENyZWF0b3JzIG11c3QgYmUgMTggb3Igb2xkZXIgdG8g..."
},
{
"method": "WebcastLiveIntroMessage",
"msg_id": "7667769638348163853",
"payload": "CiMKF1dlYmNhc3RMaXZlSW50cm9NZXNzYWdlEI2WksrE+9i0ahCNlpLKxPvYtGoYASJGRXZlcnkgbmlnaHQgZnJvbSAxMVBNLTVBTSBFU1QgLSBMZXQncyB0ZWxsIGVhY2ggb3RoZXIgZ29vZG5pZ2h0ICNOQ1JQICqKCAiqiJqato/yzGUaB1NoZWxsaWVKogcKnwJo..."
}
],
"now": 1794817461926
}
}A TikTok LIVE bot is a program that watches a LIVE room’s chat and gifts and reacts: thanking gifters, answering commands, reading messages aloud, showing on-screen alerts or removing spam. With Tikultra, the bot reads events from /v1/live/chat and acts in your own room through /v1/account/live/moderate (post, pin or remove comments, mute viewers). It can also start the LIVE over RTMP with /v1/account/live/start, so OBS or ffmpeg streams straight to TikTok.
Watch for !commands, questions and keywords, then reply in chat or trigger your overlay.
WebcastChatMessageusercontentReact to gifts with on-screen alerts, sounds or text-to-speech, and keep a live leaderboard of gifters.
WebcastGiftMessagegift_idrepeat_countRemove comments that match your blocklist, pin your link, and mute repeat spammers in your own room.
live/moderatepinremovemuteCreate the room and get the RTMP ingest, keep it open with a heartbeat, invite co-hosts and end the LIVE.
rtmp_push_urlstream_keyping_interval_seclive/finishLink the TikTok account you stream from (email code or session import). It gets its own dedicated device context.
Call /v1/account/live/start, paste the RTMP URL and key into OBS or ffmpeg, and send /v1/account/live/ping while you stream.
Poll /v1/live/chat with the cursor, decide what to do with each event, and act through /v1/account/live/moderate.
The example calls GET /v1/live/chat. Swap the tab for your language, or open it in the API reference.
import { TikUltra } from 'tikultra'
const client = new TikUltra({ apiKey: process.env.TIKULTRA_KEY })
const res = await client.request('GET', '/v1/live/chat', { params: { room_id: '7708619922263280397' } })
console.log(res.data)Each chat poll is 2 reqs; each moderation action is 10 reqs. A one-hour stream polled every 5 seconds with 60 moderation actions is about 2,040 requests, around $1.85 on Growth.
Plans include a monthly request quota; past it, the same per-request price applies. Failed calls are never billed. Estimate your cost
| Starter $49/mo | $2.45 |
|---|---|
| Growth $159/mo | $1.82 |
| Scale $499/mo | $1.33 |
Tikultra runs LIVE bots for rooms you own or are authorized to manage. It is not a viewer bot: inflating viewers, likes or followers with fake accounts breaks TikTok’s rules, can get the stream banned and is against our acceptable use policy. Real moderation and engagement tools grow a LIVE; fake numbers get it flagged.
Gift thank-yous, TTS, song requests and chat games without a desktop app.
Answer product questions, pin the current product link and keep chat clean while you sell.
Run the same moderation rules across every creator account you manage.
Sign up and get 500 free requests — test public data & browser tools with no credit card, then upgrade anytime.