TikTok.Console 1.0.0

dotnet tool install --global TikTok.Console --version 1.0.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local TikTok.Console --version 1.0.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=TikTok.Console&version=1.0.0
                    
nuke :add-package TikTok.Console --version 1.0.0
                    

TikTok.Console

CLI for scraping TikTok videos, profiles, hashtags, and search results via Apify. YAML-first output optimized for LLM agent consumption.

Installation

dotnet tool install -g TikTok.Console

Prerequisites

Set your Apify API token:

export APIFY_TOKEN=your-token-here

Or pass it per-command with --api-key.

Usage

Profile

# Scrape videos from a user profile
tiktok profile https://www.tiktok.com/@username
tiktok profile https://www.tiktok.com/@username --max-items 20

Hashtag

# Scrape videos by hashtag
tiktok hashtag "coding"
tiktok hashtag "dotnet" --max-items 20
# Search for videos
tiktok search "machine learning"

# Search for users
tiktok search "tech" --users

Video

# Scrape specific videos by URL
tiktok video "https://www.tiktok.com/@user/video/1234567890"

Common options

--api-key <KEY>       Apify token (or set APIFY_TOKEN env var)
--max-items <N>       Maximum items to return (default: 10)

License

MIT

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.0.0 97 4/30/2026