Live Info
tiktok_live_infoGet room-level details for a TikTok live, including viewer count, likes, status, title, and cover image, by providing the room_id and user_id.
Instructions
Gets curated room-level info for a TikTok live using TokAPI's live info endpoint. Use /v1/tiktok/user/live first to find the room_id. If you only have a TikTok handle and need the user's numeric id, use /v1/tiktok/profile first to get user.id. This endpoint is separate from /v1/tiktok/user/live because it uses a different upstream call and returns a smaller response with the most relevant fields: room_id, like_count, viewer_count, status, title, cover_url, and owner.
Potentially consumes paid API credits; requires confirm=true. Read-like POST requests do not publish to social platforms.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"room_id": "<room_id>",
"user_id": "<user_id>"
},
"name": "tiktok_live_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Named private ScrapeCreators account; selects credentials, not a remote account ID. | |
| confirm | No | Must be true for the specific approved credit-consuming research call. | |
| room_id | Yes | TikTok live room id. Get this from `/v1/tiktok/user/live` in `liveRoomUserInfo.roomId` or `liveRoom.id` when the user is live. | |
| user_id | Yes | TikTok numeric user id for the live owner. Get this from `/v1/tiktok/profile` in `user.id`. |