TikTok/Video Comments
Video Comments
GET
https://api.shofo.ai/api/tiktok/commentsGet comments from a TikTok video.
Pricing
Base cost: $0.0001 per comment
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
video_id | string | Required | TikTok video ID (aweme_id) |
count | integer | Optional | Number of comments (min: 10)Default: 20 |
cursor | integer | Optional | Pagination cursor from previous responseDefault: 0 |
Note: The minimum count is 10 comments per request.
Pagination
To fetch more comments, use the cursor value from the previous response. Continue fetching while has_more is true.
// First request GET /tiktok/comments?video_id=7123456789&count=20 // Subsequent requests GET /tiktok/comments?video_id=7123456789&count=20&cursor=1705320000000
Use Cases
- •Sentiment analysis: Analyze audience reactions to content
- •Community insights: Understand what resonates with viewers
- •Influencer research: Gauge engagement quality beyond likes
- •Content moderation: Monitor comments on brand content
Response Format
{
"success": true,
"data": {
"video_id": "7123456789012345678",
"comments": [
{
"comment_id": "7234567890123456789",
"text": "This is amazing!",
"author": {
"unique_id": "user123",
"nickname": "User Name",
"avatar_url": "https://..."
},
"create_time": 1705320000,
"like_count": 150,
"reply_count": 5
}
],
"cursor": 1705320000000,
"has_more": true,
"total_fetched": 20,
"api_calls": 1
},
"cost": "$0.0020",
"request_id": "req_abc123"
}Try It
GET
https://api.shofo.ai/api/tiktok/comments$0.0001
Send a request to see the response