# Douyin_TikTok_Download_API

> Douyin_TikTok_Download_API is an open-source MCP server for web search and scraping. Self-hosted API for Douyin, TikTok and Bilibili data, downloads and offline transcripts. It is available on Web, API, CLI and self-hosted.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** Web, API, CLI, self-hosted
- **Website:** https://douyin.wtf
- **Repository:** https://github.com/evil0ctal/douyin_tiktok_download_api
- **GitHub stars:** 21,470
- **License:** Apache-2.0
- **Categories:** [web search and scraping](https://ai-powered.com/categories/web-search-and-scraping), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

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.

## Features

- **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

## Tools

- `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.

## 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.

## Alternatives

- [SocialTap](https://ai-powered.com/mcp/socialtap): SocialTap is a freemium MCP server for web search and scraping.
- [TikTok Scraper (Apify) – videos, profiles, comments, transcripts](https://ai-powered.com/mcp/tiktok-scraper-apify-videos-profiles-comments-transcripts): TikTok Scraper (Apify) – videos, profiles, comments, transcripts is a paid MCP server for web search and scraping.
- [MCP](https://ai-powered.com/mcp/mcp-mwenhxne): MCP is a freemium MCP server for design and media.
- [TranscriptFetch](https://ai-powered.com/mcp/transcriptfetch): TranscriptFetch is a freemium MCP server for design and media.
- [InsightSocial](https://ai-powered.com/mcp/insightsocial): InsightSocial is a freemium MCP server for analytics and data.
- [Soclip](https://ai-powered.com/mcp/soclip): Soclip is a freemium MCP server for web search and scraping.
- [VideoDataAPI — Video Transcript, Captions, Search & Comments MCP Server](https://ai-powered.com/mcp/videodataapi-video-transcript-captions-search-and-comments-m): VideoDataAPI — Video Transcript, Captions, Search & Comments MCP Server is a freemium MCP server for design and media.
- [YouTube Transcript, Comments & Video Data API MCP Server](https://ai-powered.com/mcp/youtube-transcript-comments-and-video-data-api-mcp-server): YouTube Transcript, Comments & Video Data API MCP Server is a freemium MCP server for design and media.

---
Source: https://ai-powered.com/mcp/douyin-tiktok-download-api
