Social Fetch
TikTok

List TikTok video comments

Lists top-level comments for a TikTok video URL with optional cursor-based pagination.

Operation

GET/v1/tiktok/videos/comments
Cost: 1 credit

Headers

x-api-keystringrequired(header)

API key (`sfk_...`)

Parameters

urlstringrequired(query)

Link to the TikTok video whose comments should be listed.

min 1 chars · max 4096 chars

cursorstring(query)

Opaque cursor from a previous response to fetch the next page.

min 1 chars

trimboolean(query)

When true, returns a smaller response with fewer fields.

Response fields

data
objectrequired

Endpoint-specific response payload.

datalookupStatus
stringrequired

Whether the video was resolved for this request.

one of: found, not_found

datacomments
arrayrequired

Top-level comments for the resolved video.

datacomments[]id
stringrequired

Stable identifier for the comment when provided by TikTok; otherwise a deterministic placeholder derived from available fields.

min 1 chars

datacomments[]text
stringrequired

Comment text.

datacomments[]createdAt
stringrequired

ISO-8601 timestamp when the comment was created.

datacomments[]likes
integerrequired

Like count on the comment.

≥ 0

datacomments[]replyCount
integerrequired

Direct reply count for the comment thread.

≥ 0

datacomments[]language
stringrequired

Reported language code for the comment text.

datacomments[]author
objectrequired

Comment author.

datacomments[]authorhandle
stringrequired

Public TikTok username without a leading @.

min 1 chars

datacomments[]authordisplayName
stringrequirednullable

Display name shown on the commenter profile.

datacomments[]authoravatarUrl
stringrequirednullable

Profile image URL for the commenter when available.

datacomments[]authorplatformUserId
string

Numeric user id for the commenter when available.

datacomments[]authorsecUid
string

Opaque stable user identifier when available.

datapage
objectrequired

Pagination information for this response.

datapagenextCursor
stringrequirednullable

Cursor to pass in the next request when more pages exist.

datapagehasMore
booleanrequired

Whether another page of comments is available.

datatotalComments
integerrequirednullable

Total comment count reported for the video when available; null when the video could not be resolved.

≥ 0

meta
objectrequired

Metadata describing the request and billing outcome.

metarequestId
stringrequired

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integerrequired

Credits charged for this request.

≥ 0

metaversion
stringrequired

Public API version that served the response.

one of: v1

Code example

Responses

Comment listing result. Check `data.lookupStatus` for `found` or `not_found`.

Error codes

bad_requestinsufficient_creditsinternal_errorlookup_failedtemporarily_unavailableunauthorized

On this page