TikTok
TikTok User Live Status
Check whether a TikTok user is live right now by username - live room status, title, start time and viewer counts, plus the user and follower counts - as JSON.
POST/api/v1/tiktok/user/live
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonusernamestringrequiredTikTok username, with or without the @.
Example: mrbeast
Notes
liveRoom.status is 2 when the user is live now and 4 when not. liveRoomStats.userCount is the current viewer count. An unknown username answers 404 and is billed (1 credit), because the lookup ran.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
results = client.tiktok.user_live(username="mrbeast")
print(results)Response
"message": "",
"statusCode": 0
},
"response_time": 1125
}