Meet the AI-friendly #1
Cloud-Native
TikTok LIVE
WebSocket API
Offering TikTok LIVE events in any language.
See it in live-action
Connect to a real TikTok LIVE stream and watch events flow in real-time.
const apiKey = "MY_API_KEY";
const wsUrl = `wss://ws.eulerstream.com?uniqueId=tv_asahi_news&apiKey=${apiKey}`;
const ws = new WebSocket(wsUrl);
// Log event messages
ws.onmessage = (event) => {
const data = JSON.parse(event.data);
if (data && data.messages) {
data.messages.forEach((msg) => {
console.log(msg);
});
}
}Check out the events we support...
Euler Stream supports over 250+ extra events available exclusively through the WebSocket API.
Chat & comments
14 events
Open source
- Barrage
- Caption
- Chat
- EmoteChat
- ImDelete
- MsgDetect
Euler Stream
- Barrage
- Caption
- Chat
- CommentReply
- Comments
- CommentTray
- EmoteChat
- ImDelete
- MsgDetect
- QuickChatList
- ScreenChat
- StarCommentNotification
- StarCommentPush
- Whisper
Viewers & engagement
16 events
Open source
- Like
- Member
- Social
- UnauthorizedMember
- ViewerPicksUpdate
Euler Stream
- AudienceReserveUserState
- BoostedUsers
- Digg
- FollowCard
- Greeting
- HotRoom
- Like
- Member
- PopularCard
- ShareGuide
- Social
- UnauthorizedMember
- UserStats
- ViewerPicksGiftPickReview
- ViewerPicksUpdate
- ViewerWishesGameTricks
Gifts
26 events
Open source
- BoostCard
- Capsule
- Envelope
- Gift
- GiftBroadcast
- GiftDynamicRestriction
- GiftPanelUpdate
- GiftPrompt
- VaultGloveCardInfo
Euler Stream
- Backpack
- BoostCard
- Capsule
- CollabGift
- Donation
- DonationInfo
- DonationStickerModifyMethod
- Envelope
- EnvelopePortal
- Gift
- GiftBroadcast
- GiftCollectionUpdate
- GiftDynamicRestriction
- GiftGallery
- GiftGuide
- GiftNotice
- GiftPanelUpdate
- GiftProgress
- GiftPrompt
- GiftRecommendation
- GiftRecordCapsule
- GiftUnlock
- GiftUpdate
- GoodyBag
- VaultGloveCardInfo
- WishlistUpdate
Co-host & LinkMic
36 events
Open source
- Link
- LinkLayer
- LinkMicArmies
- LinkMicBattle
- LinkMicBattleItemCard
- LinkMicBattlePunishFinish
- LinkmicBattleTask
- LinkMicFanTicketMethod
- LinkMicLayoutState
- LinkMicMethod
- LinkState
Euler Stream
- AgreeApplyGuide
- BattleAICommentary
- BattleGameplay
- CohostLayoutUpdate
- CohostPlatform
- CohostReserve
- CohostSettingsUpdate
- CohostSubtitleBan
- CohostSubtitleSetting
- CohostTopic
- CohostTranslatePopUp
- Link
- LinkBusiness
- LinkLayer
- LinkLayout
- LinkMicAd
- LinkMicAnchorGuide
- LinkmicAnimation
- LinkMicArmies
- LinkmicAudienceNotice
- LinkMicBattle
- LinkMicBattleArtifact
- LinkMicBattleItemCard
- LinkmicBattleNotice
- LinkMicBattlePunishFinish
- LinkmicBattleTask
- LinkMicBattleVictoryLap
- LinkMicFanTicketMethod
- LinkMicLayoutState
- LinkMicMethod
- LinkMicOpponentGifts
- LinkMicSignalingMethod
- LinkScreenChange
- LinkState
- PermitOutsideApply
- RivalsUpdate
Multi-guest
16 events
Open source
NoneEuler Stream
- GroupLiveMemberNotify
- GuestInvite
- GuestInviteGuide
- GuestShowdown
- MgActivityInRoomBanner
- MGOutsideInvite
- MGPunishCenterAction
- MGQuickCallAutoApprove
- MultiGuestBubble
- MultiGuestGuide
- MultiGuestHangoutLanding
- MultiGuestPreApprove
- MultiGuestRandomMatch
- MultiGuestSuggest
- MultiGuestTopGuest
- MultiGuestUpdateSkylight
Games
32 events
Open source
- GameRankNotify
Euler Stream
- Competition
- CompetitionContributor
- CompetitionPlatform
- CompetitionRankList
- EsportsMatchUpdate
- EsportsScoreBoardUpdate
- GameAiScript
- GameAutoPostNotice
- GameEmoteUpdate
- GameGuessPinCard
- GameGuessToast
- GameGuessWidgets
- GameInteraction
- GameInteractionMultiSource
- GameLiveGoalRewardAudit
- GameLiveGoalRewardNotify
- GameMoment
- GameOCRPing
- GameRankNotify
- GameRecommendCreateGuess
- GameReqSetGuess
- GameRevenueTips
- GameServerFeature
- GameSettingChange
- MinuteGameUpdate
- PictionaryEnd
- PictionaryExit
- PictionaryStart
- PictionaryUpdate
- PlaySnapshotSync
- PlayTogether
- PreviewGameMoment
Q&A, polls & quizzes
9 events
Open source
- Poll
- QuestionNew
Euler Stream
- ActivityQuizCard
- ActivityQuizUserIdentity
- GuessQuestionAudit
- Poll
- QuestionDelete
- QuestionNew
- QuestionSelected
- QuestionSlideDown
- QuestionSwitch
Rankings
10 events
Open source
- HourlyRankReward
- RankText
- RankUpdate
- Top2CardInfo
- Top3CardInfo
Euler Stream
- DailyChallengesLiveCard
- HourlyRankReward
- RankNotice
- RankText
- RankToast
- RankUpdate
- ScorePerception
- Top2CardInfo
- Top3CardInfo
- WeeklyRankReward
Subscriptions & fans
11 events
Open source
- SubNotify
- SubPinEvent
Euler Stream
- FansCommunity
- FansEvent
- PrivilegeAdvance
- PrivilegeDynamicEffect
- SubContractStatus
- SubNotify
- SubPinEvent
- SubQueue
- SubscriptionGuide
- SubTimerSticker
- SubWave
Shop & commerce
29 events
Open source
- OecLiveShopping
Euler Stream
- BALeadGen
- CommercialCustom
- EcBarrage
- EcDraw
- EcDrawGrabRemind
- EcShortItemRefresh
- EcTaskRefreshCouponList
- EcTaskRegister
- OECAuctionAction
- OECAuctionPaymentFailure
- OECDisplayScriptInfo
- OecLiveBillboard
- OecLiveCreator
- OecLiveForwarded
- OecLiveHotRoom
- OecLiveManager
- OecLiveRank
- OecLiveShopping
- OecLiveSmartPin
- OecLiveSuggest
- OECPcScriptUpdate
- OECPinCardStatusUpdate
- PaidContentLiveShopping
- PromoteAdStatus
- SMBBoard
- SMBStateSync
- VideoLiveCouponRcmd
- VideoLiveGoodsOrder
- VideoLiveGoodsRcmd
Creator tools
25 events
Open source
- GoalUpdate
- Guide
Euler Stream
- AnchorAiCoach
- AnchorGetSubQuota
- AnchorGrowLevel
- AnchorGuideTrigger
- AnchorReminderWord
- AnchorTaskReminder
- AnchorToolModification
- ColdStart
- FeatureGuide
- GapHighlightPushGuide
- GoalUpdate
- Guide
- GuideTask
- HighlightFragementReady
- HostBoard
- HostFeature
- InteractionHubGoal
- NewAnchorGuide
- NewPin
- RealtimeLiveCenterMethod
- RealtimeLiveCenterUpdate
- RealTimePerformancePage
- RealtimeUnifiedEntrance
- UpdateShareRevenueNotice
- WalletLiveRewardsRatio
Partnerships
9 events
Open source
- PartnershipDropsUpdate
- PartnershipGameOffline
- PartnershipPunish
Euler Stream
- PartnershipAnchor
- PartnershipCardChange
- PartnershipDownloadCount
- PartnershipDropsAnchor
- PartnershipDropsCardChange
- PartnershipDropsUpdate
- PartnershipGameOffline
- PartnershipPunish
- PartnershipTaskShow
Karaoke & music
7 events
Open source
- MusicCardInfo
Euler Stream
- KaraokeQueue
- KaraokeQueueList
- KaraokeRedDot
- KaraokeReq
- KaraokeSwitch
- KaraokeYouSingReq
- MusicCardInfo
Effects & AI
14 events
Open source
NoneEuler Stream
- AIBeautyResult
- AIGCBackgroundReview
- AILiveSummary
- AISummary
- AvatarGenerateResult
- AvatarReportDelete
- AvatarStyleResult
- BizSticker
- EffectControl
- EffectPreloading
- InteractiveEffect
- StageReaction
- Wallpaper
- WallpaperReview
Room & system
57 events
Open source
- AccessControl
- AccessRecall
- Bottom
- Control
- InRoomBanner
- LiveGameIntro
- LiveIntro
- MarqueeAnnouncement
- Notice
- Perception
- Room
- RoomNotify
- RoomPin
- RoomUserSeq
- RoomVerify
- Speaker
- System
- Toast
Euler Stream
- AccessControl
- AccessRecall
- Asset
- AuthorizationNotify
- Bottom
- CommonPopup
- CommonToast
- Control
- Countdown
- CountdownForAll
- Epi
- Event
- ExecutorDispatch
- FeedUserRoomMonitor
- ForceFetchRecommendations
- Hashtag
- InRoomBanner
- InRoomBannerEvent
- InRoomBannerRefresh
- LiveCenterStatusBar
- LiveChain
- LiveGameIntro
- LiveInfoAuditNotice
- LiveIntro
- LiveJourney
- LiveShow
- MarqueeAnnouncement
- MiddleTouch
- Notice
- Noticeboard
- NoticeboardReview
- OChannelAnchor
- OChannelModify
- OChannelUser
- Perception
- Playbook
- Portal
- ProjectDModifyH5
- Room
- RoomBottom
- RoomEvent
- RoomNotify
- RoomPin
- RoomSticker
- RoomStreamAdaptation
- RoomUserSeq
- RoomVerify
- ShortTouch
- Speaker
- SpecialPush
- StreamStatus
- System
- TextHeader
- Toast
- Tray
- TTLSLiveControl
- Upgrade
State of the art tooling
The SDK, a frame decoder and the full API reference.
WebSocket SDK
Typed TypeScript client for Node.js and the browser, with every TikTok LIVE event schema.
WebSocket Decoder
Paste a base64 TikTok WebSocket frame and inspect its decoded protobuf payload.
WebSocket API Reference
Every WebSocket API route, with its parameters and responses.
Frequently Asked Questions
wss://ws.eulerstream.com. Open a connection with a creator's username and it streams their LIVE events, such as gifts, comments, likes, follows and joins, to you as JSON in real time. There is no library to install and no TikTok signing or scaling to run yourself.wss://ws.eulerstream.com?uniqueId=CREATOR&apiKey=YOUR_KEY with any WebSocket client. In Node.js that is two lines of code. Read the WebSocket docsjwtKey in place of apiKey. Your API key never reaches the client. See the JWT guide