VidNavigator TikTok LIVE
Latest: v1.4.2
Version 1.4.2 from github.com/vidnavigator/skills
TikTok LIVE, right now
Usage: /tiktok-live <keywords> for the rooms that are live, /tiktok-live @username for one creator's room, /tiktok-live @username what are they saying to listen to it.
Three questions: which rooms are live for a keyword (search_tiktok_live), what is happening in one room (get_tiktok_live_room), and what is being said in it (start_tiktok_live_transcription, then get_tiktok_live_transcription). The first two describe this moment: say when you looked.
Calling VidNavigator
Each step names a VidNavigator tool and its arguments. Call it in whichever way this session offers:
-
MCP tools. If tools such as
search_tiktok_liveare in your tool list (their names may carry a prefix, for examplemcp__vidnavigator__search_tiktok_live), call them directly. The search starts a background task and returns atask_idand atask_type: callget_task_statuswith both untiltask_statusiscompletedorfailed. That call waits for the task, so make it again whenever it still answersprocessing. -
The bundled CLI. Otherwise run the script that sits beside this file, where
SKILL_DIRis the directory containing this SKILL.md:bash node "$SKILL_DIR/scripts/vn.mjs" search_tiktok_live query=skincare country=gb max_results=20 --out live.json node "$SKILL_DIR/scripts/vn.mjs" get_tiktok_live_room username=nasa include_comments=true node "$SKILL_DIR/scripts/vn.mjs" start_tiktok_live_transcription username=nasa max_duration_minutes=3 node "$SKILL_DIR/scripts/vn.mjs" get_tiktok_live_transcription session_id=<id> after_seq=0Same tools, same arguments, written
key=value. Quote a value that holds spaces,&or?. The CLI waits for the search itself.--out FILEwrites the full result to a file and prints what it holds. It needs Node.js 18+ and the user's API key. When it reports that no key was found, give the user its instructions and stop.node "$SKILL_DIR/scripts/vn.mjs" help <tool>lists a tool's arguments.
Who is live: search_tiktok_live
query: 1 to 3 keywords, as a TikTok user types them, in the country's language.country: two letters, about 110 countries, defaultus. Results are the rooms TikTok shows to that country.max_results: what the request needs. TikTok serves about 50 rooms for a keyword.- Leave
include_stream_urlsoff unless the user wants to play or record a stream.
Each room has id, title, url, started_at, author (unique_id, nickname, followers), stats (viewers now, total_viewers, likes, comments, shares), hashtags, category and game_tags. Rooms come in TikTok's own order: sort them by stats.viewers when the user asks for the biggest.
Zero rooms is a valid answer: nobody is live for that keyword in that country at this moment. Say so, and offer another keyword or country rather than retrying the same search.
One room: get_tiktok_live_room
Pass exactly one of username (with or without @), url (https://www.tiktok.com/@username/live) or room_id (the id of a search result). It answers at once, with no task.
- Is this creator live?
room.statusisliveorended. Ausernamereturns the current LIVE, or the last one, withended_at, when the creator is offline. - How is it going?
room.stats.viewers,total_viewersandnew_followers, withtitle,started_at,chat_enabled,subscribers_onlyandproducts(the number of products on sale). - What is the chat saying? Add
include_comments=true: the latest comments (up to 50, newest first), the pinned comment, the intro text and the top viewers. TikTok keeps no older comments, and a room that has ended has none.
The likes, comment count and share count of a room come from the search, not from this call.
An account that does not exist, or has never been live, returns live_not_found: report it as it is.
What is said: start_tiktok_live_transcription
To hear a room, start a transcription session on it, read its sentences as they come, then stop it.
start_tiktok_live_transcriptionwith exactly one ofusername,urlorroom_id. The room must be on air (live_endedotherwise). Setmax_duration_minutesto what the user asked for (10 by default): the session stops by itself then. Addlanguagewhen you know it (en,fr...),include_speakers=trueto tell the voices apart. It answers at once with the session: keep itsid.get_tiktok_live_transcriptionwith thatsession_idandafter_seq=0. It waits up to 20 seconds for new sentences and returns them in order, each withseq,startandend(seconds from the start of the session),textandlanguage. Call it again withafter_seqset topagination.next_after_seqto follow the LIVE. Whensession.statusisendedorfailed, nothing more will come.stop_tiktok_live_transcriptionwith thesession_idas soon as you have what the user needs. A session nobody reads for a couple of minutes stops by itself (end_reasonno_reader): keep calling step 2 while you listen, without long pauses.list_tiktok_live_transcriptionsfinds a session again.
The sentences are what was said after the start: nothing from before. A room the user already transcribes returns its running session. too_many_active_sessions means the account transcribes as many rooms at once as its plan allows: stop one first. system_overload means no room is free right now: try again a little later.
Answer
Give the room's link with every room you mention, and the time of your reading. For what was said, quote the sentences with their time in the session, and say how long you listened.
A program that follows many rooms for hours uses the API's event stream instead of these tools: https://docs.vidnavigator.com/guides/tiktok-live-transcription.md
Credits
The search is billed per 30 rooms returned, at least 1 per search and 1 per 5 TikTok pages read; a room is billed once, and twice with its comments: ask for comments only when the user wants the chat. A transcription session is billed for the time it runs: stop it as soon as you have what you need. Checking a task and reading a session are free.
