TikTok Live Room Info
TikTok Live Room Info represents a point-in-time view of one active public room, including its title, status, owner identity, cover image, and visible viewer and like counts. These fields support live-status checks, audience snapshots, room enrichment, and time-stamped reporting for rooms that are already known.
TikTok Live Room Info API Features
- Paired room and owner lookupResolve one known live room from its room_id and matching owner user_id, returning at most one normalized live_room record.
- Room and owner contextReturn the current room title and status together with the owner's public ID, username, and display name.
- Audience and cover snapshotCapture the visible viewer count, like count, public cover image, and collection timestamp from the TikTok Live Room Info API for point-in-time interpretation.
TikTok Live Room Info API Parameters
| Parameters | Required | Description |
|---|---|---|
room_id | Required | Required non-empty live room identifier. Supply the numeric identifier as a string from a source that exposes the current TikTok live session. |
user_id | Required | Required non-empty numeric TikTok user identifier for the room owner, supplied as a string and paired with the same room. |
How to Use the TikTok Live Room Info API
Pair the identifiers for one known active room, submit an asynchronous lookup to the TikTok Live Room Info API, then read the normalized snapshot from the task results.
- Obtain room_id from a source that exposes the current TikTok live session, and obtain the matching owner user_id from the same context or a TikTok Profiles result.
- POST both non-empty string identifiers to /v1/tiktok/live-room-info.
- Poll /v1/tasks/{task_id} until the status is succeeded or failed.
- Read data.results.items from /v1/tasks/{task_id}?limit=50; a resolved room produces at most one record, and the standard next_cursor applies only if results.has_more is true.
curl -X POST "https://api.socq.ai/v1/tiktok/live-room-info" \
-H "Authorization: Bearer $SOCQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{"room_id":"7523685855395842871","user_id":"6742945285876515845"}'
# Poll GET /v1/tasks/{task_id}, then read data.results.items from /v1/tasks/{task_id}?limit=50.TikTok Live Room Info API Use Cases
- Point-in-time live-status checks: Use the returned status, title, room ID, and collected_at value to confirm the snapshot available for a known room.
- Audience snapshot reporting: Call the TikTok Live Room Info API repeatedly and record viewers_count and likes_count with collected_at to compare observations made at different times during a known broadcast.
- Live room enrichment: Attach the owner ID, username, display name, room title, status, and cover image to an existing live-room record.
TikTok Live Room Info API Pro Tips
- Keep room_id paired with the owner user_id from the same active session; a room and user mismatch can return no record or an input-specific source error.
- Send both identifiers to the TikTok Live Room Info API as strings so large numeric TikTok IDs are not rounded by a client or database.
- Run the lookup while the room is expected to be live, and treat an empty result as ended, unavailable, invalid, or mismatched rather than as a discovered offline-room record.
- Use collected_at as the observation time for status and metrics; created_at is null and url is empty in the normalized record.
Related APIs
Beyond the TikTok Live Room Info API, use these APIs when you need a different type of public TikTok data.
- TikTok Profiles API — Retrieve public profile identity, biographies, account flags, and audience counts by username.
- TikTok Hashtags API — Collect public videos, creators, media, sound, and engagement for specified hashtags.
- TikTok Search API — Search public videos by keyword with supported sorting and publication filters.
- TikTok User Videos API — Collect public profile-feed videos by username with captions, creators, media, timestamps, engagement, and source-account context.
- TikTok Search Users API — Search public TikTok accounts by keyword.
- TikTok Top Search API — Search by keyword for videos and image posts, with captions, creators and interaction counts.
- TikTok Comments API
- TikTok Videos API
- TikTok Comment Replies API
- TikTok Followers List API
- TikTok Following List API
- TikTok Trending Feed API
- TikTok Video Transcript API
- TikTok Song API
- TikTok Song Videos API
- TikTok Popular Songs API
- TikTok User Live API
- TikTok Audience Demographics API
- TikTok Similar Accounts API
- TikTok Reposts API
- TikTok Playlists API
- TikTok Hashtag Views API
- TikTok Sound Search API
- TikTok Live Search API
- TikTok Photo Search API
- TikTok Trending Searches API
- TikTok Creator Search Insights API
- TikTok Live Ranking API
- TikTok Live Shopping API
- TikTok Fake Views Checker API
- TikTok Comment Keywords API