Get top-level video comments
GET/v1/comment/list1 Credit / comment (min 10 Credits)($0.10 / 1K comments)
Paginated top-level comments on a TikTok video (data.comments), up to 50 per page, including commenter profile, like count, and reply count.
Query Parameters
urlstringrequiredTikTok video URL or numeric video ID.
Example:
https://www.tiktok.com/@tiktok/video/7106594312292453675countinteger (1 to 50)Number of comments per page (max 50).
Example:
20cursorintegerPagination cursor (
0for first page, then passdata.cursor).Example:
0
Example Request (cURL / Python / JavaScript)
curl "https://api.tiktokapi.io/v1/comment/list?url=https%3A%2F%2Fwww.tiktok.com%2F%40tiktok%2Fvideo%2F7106594312292453675" \
-H "x-api-key: tk_your_api_key"Live Response Preview
{
"code": 0,
"msg": "success",
"processed_time": 0.15,
"data": {}
}Response Fields
Success (code === 0). Charged according to the endpoint credit rate.
| Field | Type | Sample / Notes |
|---|---|---|
code | integer | Example: 0 |
msg | string | Example: success |
processed_time | number | Example: 0.15 |
data | object |
Status Codes
- 200
- Success (
code === 0). Charged according to the endpoint credit rate. - 400
- Invalid parameters, or API key placed in the URL query string (not charged).
- 401
- Missing or invalid
x-api-keyheader (not charged). - 402
- Insufficient credit balance (not charged).
- 403
- Account disabled (not charged).
- 404
- Unknown endpoint or disabled unstable endpoint (not charged).
- 405
- Method not allowed — all
/v1/*data endpoints useGET(not charged). - 429
- Rate limit exceeded (not charged). Respect the
Retry-Afterheader. - 503
- Temporary upstream or gateway error (not charged). Retry with exponential backoff.