Tool Open source · Apache-2.0
Douyin_TikTok_Download_API is a self-hosted open-source data API and no-watermark media downloader for Douyin and TikTok. It provides asynchronous REST and OpenAPI endpoints, an MCP server, CLI, and React web console for parsing links, retrieving posts, profiles, comments, replies, playlists, searches, and selected follower or following data, while archiving collected content in PostgreSQL and Redis and downloading videos or image albums to local storage.
A headless browser mints guest identities, and an identity pool manages them with health tiers, LRU rotation, per-identity request locks, token buckets, endpoint circuit breakers, and structured request records. The service implements platform signing methods in Python, with a browser fallback, and exposes the same service layer through REST, MCP, and the CLI. Docker Compose deploys the API, worker, databases, browser component, and optional downloader sidecar; asynchronous calls return a task identifier by default, with an option to wait synchronously.
The project is distributed under the Apache License 2.0 and can be self-hosted without signup or service quotas. Its repository includes the v5 implementation, while a legacy v4 branch remains available.