Call it
curl https://api.peume.com/v1/call/tiktok-live-room-details-by-live-room-url \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"live_room_url": "https://www.tiktok.com/@.caseoh_daily/live"
}
}'const res = await fetch("https://api.peume.com/v1/call/tiktok-live-room-details-by-live-room-url", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"live_room_url": "https://www.tiktok.com/@.caseoh_daily/live"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/tiktok-live-room-details-by-live-room-url",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"live_room_url": "https://www.tiktok.com/@.caseoh_daily/live"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: tiktok-live-room-details-by-live-room-url.
Parameters
live_room_urlRequiredstringLive room link
Example: https://www.tiktok.com/@.caseoh_daily/live
Other ways to do it
Same job, other sources.
TikTok live room details by room idGet data of specified live roomTikTok user live stream details by usernameGet user live detailsTikTok webcast user info by user id or secUidGet information of specified Webcast userTikTok live room info by room id or user idGets curated room-level info for a TikTok live using TokAPI's live info endpoint.
