Douyin_TikTok_Download_API
A self-hosted service that collects public posts and downloads videos from TikTok, Douyin and Bilibili.
- Your data
- Stays on your device
- Coding needed
- With some setup
- Cost
- Free
- Runs on
- Server, Web browser
A self-hosted service that collects public posts and downloads videos from TikTok, Douyin and Bilibili.
This is a service you run on your own machine. It fetches posts, authors, comments, sounds, hashtags, live rooms, trending lists and search results from Douyin, TikTok and Bilibili. It can also download videos and image albums without a watermark. Its makers say it does this by picking the clean version the platform already publishes.
Everything it collects is saved in your own PostgreSQL database, a common type of database. So a post deleted from the platform is still kept in your copy. You can use it through a web console in your browser, a command line tool, or a REST API (a doorway that lets other programs talk to it).
It manages its own pool of guest identities to make requests, and shows the health of each one in the console. A downloaded video can be turned into text on the same machine, without going online. A public demo lets you try it before installing.
It includes an MCP server, so an AI agent can drive its data collection and downloads. Its makers also say a downloaded video can be turned into text offline on the same machine.
Platform terms: TikTok
Douyin_TikTok_Download_API connects to TikTok by a method that TikTok does not officially support. This use may be inconsistent with TikTok's terms of service, and accounts used in this way may be restricted or suspended. Please review TikTok's terms before connecting an account you depend on. TikTok terms of service.
People who research or archive social video content and are comfortable running a self-hosted service with Docker.
With some setup. It is set up with Docker, a tool for running packaged software, using a single start command. New to this? Start here.
Before you download
Plain-AyI is an independent guide: we link to each project's official pages, but we don't host, review or endorse the software, and we can't accept responsibility for how it works on your device. Please download and install at your own discretion.
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?