← Back to TikTok CLI

About TikTok CLI

TikTok CLI is a high-performance, open-source command-line tool and programmatic automation interface designed for scraping TikTok videos, user profiles, hashtags, and search results via Apify's actor platform. Maintained under the SpaceCorps open-source organization, the project provides developers, data engineers, and autonomous AI agents with a single, standalone binary capable of operating seamlessly across macOS, Linux, and Windows without runtime dependencies or interpreter overhead.

Project Lineage & Motivation

The original prototype CLI was created as a .NET global tool (TikTok.Console) by Niels Bosma, showcasing the power of YAML-formatted output for LLM consumption. As agentic AI architectures evolved, production execution environments required cold start execution times under 3 milliseconds and zero runtime dependencies. In 2026, the tool was ported to native Rust (Edition 2024) under SpaceCorps, introducing secure OS keystore credential management, structured error envelopes, and complete multi-account support.

Architectural Tenets

TikTok CLI adheres to the SpaceCorps engineering blueprint:

Specification & Capabilities

TikTok CLI interfaces with the Apify platform, leveraging dedicated TikTok scrapers to collect rich video metadata, transcripts, user statistics, hashtag trends, and search queries with full control over pagination, sorting, date filters, and comment extraction.