#66th of 45 in Backend and cloud templates
douyin_tiktok_download_api
Self-hosted REST and MCP API for Douyin, TikTok and Bilibili data
- Stars
- 21.4k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Python
17,132 on 21 Apr 202621,351 on 10 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
FastAPI service that fetches posts, authors, comments, sounds, hashtags, live rooms and trending boards from Douyin, TikTok and Bilibili, and downloads media without watermarks. It keeps a self-maintaining pool of guest identities minted by a headless browser, archives parsed data in PostgreSQL, and exposes REST, an MCP endpoint and a React console. Downloaded videos can be transcribed offline with FunASR, mainly for Mandarin.
Who it is for: Developers needing a self-hosted Douyin, TikTok or Bilibili data API
Strengths
- Identity pool with health tiers, rate limits and circuit breakers; per-request logs visible in console
- Same service layer served over REST, MCP (streamable-http) and a CLI
- Offline FunASR transcription ran a 3 min clip in 3.7 s on two CPU cores
- Archives parsed posts in PostgreSQL, so content deleted upstream stays available
Weaknesses
- Needs PostgreSQL and Redis, plus separate browser and transcription containers
- Douyin search, hashtag posts, followers and following are not offered without a signed-in session
- Transcription models are general Chinese ones; other languages come out poorly
- v5 is a full rewrite; v4 is frozen and its bundled Douyin cookie has expired
What it needs
- Python, FunASR ONNX (Paraformer, FSMN-VAD, CT-Transformer)
- Needs PostgreSQL, Redis, CloakBrowser (headless, container), FunASR ONNX models (optional)
- Docker
- env example file
Quick answers
Is douyin_tiktok_download_api open source?
Yes. Its code is on GitHub under the Apache-2.0 license.
Can you run douyin_tiktok_download_api with Docker?
Yes. Its repository has a Docker setup: a Dockerfile, a Compose file or a published image.
Also in Backend and cloud templates
See all 45| Rank | Project | Score |
|---|---|---|
| 1 | fastapiPython web framework for typed REST APIs with automatic OpenAPI docs | 90 out of 100 |
| 2 | fiberExpress-style HTTP web framework for Go, built on fasthttp | 90 out of 100 |
| 3 | generator-jhipsterCode generator for Java apps with Angular, React or Vue frontends | 90 out of 100 |
| #4 | serverlessCLI that deploys AWS Lambda code and infrastructure from serverless.yml | 88 out of 100 |
| #5 | echoMinimalist Go web framework with a radix-tree router and middleware | 86 out of 100 |