TikTok
Get TikTok video comments
Authorization
bearerAuth AuthorizationBearer <token>
JWT token from /auth/login or API key from /keys
In: header
Request Body
application/json
videoUrl*string
Format
urimaxComments?number
Maximum number of comments to fetch. Charged per 10 comments.
Default
20Range
1 <= value <= 200webhookUrl?string
Webhook URL to receive results. If provided, request returns immediately.
Format
uriResponse Body
application/json
application/json
application/json
curl -X POST "http://localhost:3222/api/tiktok/video/comments" \ -H "Content-Type: application/json" \ -d '{ "videoUrl": "https://www.tiktok.com/@tiktok/video/7000000000000000000" }'{
"success": true,
"requestId": "string",
"data": [
{
"cid": "string",
"text": "string",
"create_time": 0,
"user": {
"id": "string",
"uniqueId": "string",
"nickname": "string",
"avatarThumb": "string",
"avatarMedium": "string",
"avatarLarger": "string",
"signature": "string",
"verified": true,
"secUid": "string",
"openFavorite": true,
"privateAccount": true
},
"digg_count": 0,
"reply_comment_total": 0,
"is_author_digged": true
}
],
"itemCount": 0,
"creditsCharged": 0
}{
"success": true,
"requestId": "string",
"status": "processing",
"message": "string"
}{
"success": false,
"error": "string",
"requestId": "string"
}