Skip to main content

TikTok post comments

Fetch a TikTok post's comments, including their nested replies.

GET /v1/tiktok/post/{video_id}/comments

Path parameters​

ParameterTypeDescription
video_idstringRequired. The numeric video id, or a full video URL.

Query parameters​

ParameterTypeDefaultDescription
countinteger30Comments requested per page. Maximum 50.
max_pagesinteger1Number of pages to fetch. Maximum 20.

Example​

curl -G "$LISTENX_BASE/v1/tiktok/post/7523456789012345678/comments" \
-H "X-API-Key: $LISTENX_KEY" \
--data-urlencode 'max_pages=3'

Response​

{
"video_id": "7523456789012345678",
"pages_requested": 3,
"pages_fetched": 3,
"comment_count": 238,
"returned": 90,
"has_more": true,
"comments": [
{
"id": "7524000000000000000",
"text": "This actually works 🙌",
"created_at": "2025-06-13T09:14:02+00:00",
"like_count": 412,
"reply_count": 3,
"author": {
"id": "99887766",
"unique_id": "janedoe",
"nickname": "Jane",
"sec_uid": "MS4wLjABAAAA…",
"avatar_url": "https://…"
},
"replies": [
{
"id": "7524000000000000111",
"text": "glad it helped!",
"created_at": "2025-06-13T10:02:11+00:00",
"like_count": 12,
"reply_count": 0,
"author": { "unique_id": "doc", "nickname": "Dr. Smile" },
"replies": []
}
]
}
],
"billing": {
"endpoint": "tiktok.comments",
"units": 3,
"unit_price": "0.010000",
"amount": "0.030000",
"balance_after": "96.000000",
"request_id": "…"
}
}

Fields​

FieldDescription
comment_countTotal comments on the post (may exceed those returned).
returnedNumber of top-level comments in comments.
has_moretrue if more comment pages remain.
comments[]Top-level comments; each has a nested replies[] array.

Billing​

Charged per page fetched — units = pages_fetched, minimum 1. See Billing.