#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
Stars, last 29 weeks+4,219
21 Apr 2026: 17,132 stars28 Apr 2026: 17,258 stars5 May 2026: 17,362 stars12 May 2026: 17,567 stars19 May 2026: 17,734 stars26 May 2026: 17,822 stars2 Jun 2026: 17,944 stars9 Jun 2026: 18,068 stars16 Jun 2026: 18,178 stars23 Jun 2026: 18,267 stars30 Jun 2026: 18,395 stars7 Jul 2026: 18,508 stars14 Jul 2026: 18,599 stars21 Jul 2026: 18,745 stars28 Jul 2026: 18,848 stars4 Aug 2026: 18,978 stars11 Aug 2026: 19,154 stars18 Aug 2026: 19,292 stars25 Aug 2026: 19,538 stars1 Sept 2026: 19,661 stars8 Sept 2026: 19,903 stars15 Sept 2026: 20,040 stars22 Sept 2026: 20,200 stars29 Sept 2026: 20,328 stars6 Oct 2026: 20,430 stars13 Oct 2026: 20,582 stars20 Oct 2026: 20,775 stars27 Oct 2026: 20,931 stars3 Nov 2026: 21,141 stars10 Nov 2026: 21,351 stars

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
Also in Backend and cloud templates
RankProjectScore
1fastapiPython web framework for typed REST APIs with automatic OpenAPI docs104.6k starsMIT90 out of 100
2fiberExpress-style HTTP web framework for Go, built on fasthttp40.3k stars+130 (+0.3%) in 30 daysMIT90 out of 100
3generator-jhipsterCode generator for Java apps with Angular, React or Vue frontends22.5k starsApache-2.090 out of 100
#4serverlessCLI that deploys AWS Lambda code and infrastructure from serverless.yml46.9k starscustom license88 out of 100
#5echoMinimalist Go web framework with a radix-tree router and middleware32.8k stars+73 (+0.2%) in 30 daysMIT86 out of 100