
Douyin_TikTok_Download_API
Self-hosted API for Douyin, TikTok and Bilibili data, downloads and offline transcripts
The repository was last updated 5 days ago and is published under Apache-2.0.
- Pricing
- Open source
- Platforms
- Web, API, CLI
- GitHub stars
- 21.5K
- Last commit
- 5 days ago
- Language
- Python
- License
- Apache-2.0
Similar MCP servers
About Douyin_TikTok_Download_API
Douyin_TikTok_Download_API is an open-source MCP server for web search and scraping. It is available on Web, API, CLI and self-hosted.
The README describes it as a service you run yourself with a single docker compose command, so posts, authors, comments, live rooms and search results land in your own PostgreSQL rather than someone else's server. Downloads take the clean stream the platform already publishes, which is how it avoids watermarks.
It exposes the same service layer through a REST API, an MCP server for AI agents and a dtk command line tool. Guest identities for Douyin and TikTok are minted by a headless browser container, and the pool rotates and retires them on its own; a logged-in cookie can be imported optionally. Signing for Douyin, TikTok and Bilibili is implemented in Python.
The project suits developers and data teams who want to collect short-video data on their own hardware. A public demo exists for trying the console, but the README says it is rate-limited and shared, so it is not meant to be built on.
Tools this server provides (10)
Taken from the project documentation; the running server may differ.
- parse_url
- Fetch whatever a link points at, such as a post, an author, a short link or pasted share text.
- get_video
- Retrieve one post by id.
- get_user
- Retrieve one author profile by id.
- list_user_posts
- List an author's posts, a page at a time.
- list_comments
- List a post's comments, a page at a time.
- get_content_history
- Return the recorded counter history of a post or author from the local database.
- pool_status
- Report identity-pool and endpoint health.
- download_media
- Store a post's media on the instance.
- transcribe_video
- Turn a stored video into text.
- get_task_result
- Collect a result that did not finish within the call.
What it does
- Self-hosted deployment
- Runs on your own machine with Docker Compose, backed by PostgreSQL and Redis, with no hosted tier or quota.
- Watermark-free downloads
- Saves video and image albums from the clean stream the platform publishes, with progress shown during download.
- Self-maintaining identity pool
- Mints guest identities on a timer, tests and retires them, and uses circuit breakers when risk-control signals appear.
- Offline speech to text
- Transcribes downloaded Mandarin videos on the host with FunASR models, without calling an external speech API.
- REST, MCP and CLI access
- Offers REST operations, a ten-tool MCP server and a dtk CLI, all calling the same service layer.
- Local content archive
- Keeps parsed posts in your own database so content deleted upstream remains readable locally.
Good for
- Archiving Douyin, TikTok or Bilibili posts and comments for analysis
- Letting an AI agent read posts and store media through MCP
- Downloading watermark-free videos in bulk by author
- Transcribing Mandarin short videos offline into text
- Tracking counter history of posts or authors on a timer
Pricing
Open source
Free, Apache-2.0, self-hosted; sponsors are listed but no paid tier is offered.
Prices change. Check douyin.wtf before you buy.
Douyin_TikTok_Download_API FAQ
What does it cost?
The README states it is open source and free to run on your own machine, with no signup or quota; the licence is Apache-2.0.
Does it need a Douyin or TikTok login?
No. Guest identities are minted automatically, though the README notes some endpoints such as Douyin search and liked posts need a logged-in cookie, which can be imported optionally.
Is the public demo suitable for production use?
No. The README says the demo is a shared instance limited to 30 requests per 10 seconds and may go down or be reset without notice.
Which platforms does it support?
Douyin, TikTok and Bilibili, with the README listing which capabilities apply to each platform.
Is Douyin_TikTok_Download_API free?
Yes. Douyin_TikTok_Download_API is open source, so you can use and self-host it for free.
What are the best alternatives to Douyin_TikTok_Download_API?
The closest alternatives to Douyin_TikTok_Download_API are SocialTap, TikTok Scraper (Apify) – videos, profiles, comments, transcripts, MCP, TranscriptFetch and InsightSocial.
Where this comes from
- Description: written from the project's README and the project's website.