TikTok (live)

Get TikTok post comments (live)

Fetch top-level comments of a TikTok post on demand. TikTok may re-serve comments on later pages. Fetches directly from the platform and returns one page with a cursor. Not available for trial access keys.

get/api/data/tiktok/posts/{id}/comments/live

Request

  • Base URL: https://api.xpoz.ai
  • URL: https://api.xpoz.ai/api/data/tiktok/posts/{id}/comments/live
  • Auth: HTTP bearer

Path parameters

idstring required

TikTok post ID (numeric, max 50 digits).

Query parameters

fieldsstring[]

TikTok live comment fields to return. Comma-separated. Allowed values: id, postId, userId, username, text, likeCount, createdAt, createdAtTimestamp, createdAtDate, imageUrls, stickerUrl, replyCount, parentCommentId, replyToCommentId. replyCount is the number of replies (0 on replies), parentCommentId is the top-level comment a reply belongs to (null on top-level comments) and replyToCommentId is the reply a reply answers (null when it answers the top-level comment).

cursorstring

Opaque cursor from next_page_cursor of the previous page.

Response

One page of results.

resultsobject[] required
countinteger required
dataSource'database' | 'api' | 'hybrid' required

Where the results came from.

has_moreboolean required
next_page_cursorstring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.