Skip to content

TikTok

Mode: 🔐 Browser · Domain: tiktok.com

Commands

CommandDescription
opencli tiktok profileGet user profile info
opencli tiktok searchSearch videos
opencli tiktok exploreTrending videos from explore page
opencli tiktok userGet recent videos from a user
opencli tiktok followingList accounts you follow
opencli tiktok friendsFriend suggestions
opencli tiktok liveBrowse live streams
opencli tiktok notificationsGet notifications
opencli tiktok likeLike a video
opencli tiktok unlikeUnlike a video
opencli tiktok saveAdd to Favorites
opencli tiktok unsaveRemove from Favorites
opencli tiktok followFollow a user
opencli tiktok unfollowUnfollow a user
opencli tiktok commentComment on a video

Usage Examples

bash
# View a user's profile
opencli tiktok profile --username tiktok

# Search videos
opencli tiktok search "cooking" --limit 10

# Trending explore videos
opencli tiktok explore --limit 20

# Browse live streams
opencli tiktok live --limit 10

# List who you follow
opencli tiktok following

# Friend suggestions
opencli tiktok friends --limit 10

# Like/unlike a video
opencli tiktok like --url "https://www.tiktok.com/@user/video/123"
opencli tiktok unlike --url "https://www.tiktok.com/@user/video/123"

# Save/unsave (Favorites)
opencli tiktok save --url "https://www.tiktok.com/@user/video/123"
opencli tiktok unsave --url "https://www.tiktok.com/@user/video/123"

# Follow/unfollow
opencli tiktok follow --username nasa
opencli tiktok unfollow --username nasa

# Comment on a video
opencli tiktok comment --url "https://www.tiktok.com/@user/video/123" --text "Great!"

# JSON output
opencli tiktok profile --username tiktok -f json

Prerequisites

Released under the Apache-2.0 License.