Skip to main content
ClaudeWave
ES, Spanish
Evil0ctal / MCP Servers

Douyin_TikTok_Download_API

🚀 自托管的抖音、TikTok、B 站数据采集与无水印视频下载 API,支持 AI agent 通过 MCP 调用与离线语音转文字,Docker 一键部署。| Self-hosted TikTok, Douyin & Bilibili scraper and no-watermark video downloader — async REST API, MCP server for AI agents, CLI and web console, plus offline speech-to-text for downloaded videos. Self-healing identity pool, PostgreSQL archive, one docker compose up.

  • 20.9k estrellas
  • 2.9k forks
  • 3 issues abiertos
  • Lenguaje: Python
  • Licencia: Apache-2.0
  • actualizado

Instalación

local · pip / python
Claude Code CLI
claude mcp add douyin-tiktok-download-api -- python -m -r
  1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
  2. Replace any <placeholder> values with your API keys or paths.
  3. Restart Claude. The MCP server and its tools appear automatically.

Install first: pip install -r

README

Resumen de MCP Servers

README completo en GitHub

Douyin_TikTok_Download_API

English | 简体中文

🚀 A self-hosted data API for Douyin, TikTok and Bilibili. One docker compose up, an identity pool that maintains itself, and a REST API, MCP server and web console on top.

Open source, free, and it runs on your own machine — no signup, no quota, nobody else in the path. It fetches posts, authors and comments, sounds, hashtags, live rooms, trending boards and search results, downloads video and image albums without a watermark (it picks the clean stream the platform already publishes rather than stripping anything), and keeps what it collects in your own PostgreSQL. A video it has downloaded can be turned into text on the same machine, offline, and an AI agent can drive all of it over MCP.

GitHub license Release Version GitHub Star GitHub forks GitHub issues

CI CodeQL Last commit Website Live demo Python MCP Docker Pulls Docker Image Size

💖 Sponsors

These sponsors paid to be here, and Douyin_TikTok_Download_API stays free and open because of it. To sponsor the project, see my GitHub Sponsors page.

TikHub.io Your Ultimate Social Media Data & API Marketplace Professional data solutions for Douyin, Xiaohongshu, TikTok, Instagram, YouTube, Twitter, and more. Real-time Data | Flexible APIs | Seamless Integration | Competitive Pricing with Discounts Buy and sell custom APIs, services, and social media solutions on the TikHub.io Marketplace, alongside developers, businesses and content creators. Trusted by leading global influencer marketing and social media intelligence platforms → Visit TikHub.io  ·  API docs

🧩 REER — a forum for reverse engineering

reer.dev

Somewhere to put what you work out. This project exists because people wrote down how a signature was built; the forum is for the next round of that — signatures, protocols, packers, anything taken apart.

Free, no advertising, and close to no rules beyond the obvious. Bilingual, English and Chinese. Register and post; nothing is gated.

🎬 What it looks like

One real call: paste a link, send it, get the normalised result back. The identity pool, the scheduler and the API reference it passed through on the way are all in the same console. The interface follows the browser's language, and both are written by hand rather than machine-translated. 中文界面

Try it without installing anything

https://demo.douyin.wtf is a live instance, open to everyone. Sign in — the login page fills the demo account in for you — and use the console: the playground, the scheduler, the library, the API reference. The same account comes with an API key you can call the scraping endpoints with, shown in plaintext on the API keys page.

It is read-only. Demo requests are not written to the request log or the archive, so the database of a public instance cannot be filled by strangers, and switching demo mode off ends every demo session and kills the key immediately.

Rate limit: 30 requests per 10 seconds. Go over it and you are cooled down for 10 seconds, during which every request is refused. It is a shared instance, and the identity pool behind it is the ceiling for everybody using it at once.

What the demo is for is deciding whether to run your own. It is not a service to build on — it can go down, be reset, or be switched off, and none of that will be announced.

🚀 v4 vs v5

v5 is a rewrite. It started from an empty branch and inherits no v4 code.

v4's real problem was never a shortage of features — it was that the API would die quietly and nobody would know. A cookie expires, a signature algorithm changes, an endpoint gets rate-limited, and you find out when someone files an issue. v5 puts "you can see it" and "it heals itself" ahead of features.

v4v5
Where identities come fromYou copy cookies out of a browser into config.yamlA headless browser mints guest identities, and the pool tops itself up when usable ones run low
How requests go outStraight out, as they arriveHealth tiers, quantised LRU rotation, one in-flight lock per identity, a token bucket per (identity, endpoint), a circuit breaker per endpoint
When something breaksYou wait for a bug reportOne structured record per request, live health for every identity and endpoint, visible in the console
Call styleSynchronous — send and waitAsynchronous by default (202 + task_id); add ?wait= to go back to synchronous
What is keptNothing; parsed and discardedPostgreSQL + Redis. Everything parsed is archived, so a post deleted upstream is still here
Access controlNone; anyone can call itAPI keys with scopes and roles, managed in the console
InterfaceA single PyWebIO pageA React console: identity pool, scheduler, library, downloads, logs, diagnostics
Ways inRESTREST, MCP and a CLI, all over the same service layer
SigningX-Bogus, A_Bogusa_bogus, X-Bogus, X-Gnarly, X-Dynosaur and Bilibili's WBI in pure Python, with a browser fallback
Deploymentpip install -r requirements.txt + python start.pydocker compose up, three images
PlatformsDouyin, TikTok, BilibiliDouyin, TikTok, Bilibili

Bilibili was the one thing that went backwards in 5.0, because it shares neither the signing nor the identity machinery with Douyin and TikTok. It is back in 5.1.6, with the two pieces of its own that needed writing: its WBI signature in pure Python, and guest identities minted over plain HTTP, so a Bilibili pool needs no browser container.

Still on v4?

v4's code stays on the v4 branch, the image is still published, and one command brings it up:

Topics
bilibilicrawlerdata-collectiondouyindouyin-apidownloaderfastapimcp-servermodel-context-protocolopenapirest-apiscrapersocial-mediaspeech-to-texttiktoktiktok-apitiktok-downloadertiktok-scrapervideo-downloaderweb-scraping
Preguntas frecuentes

Lo que la gente pregunta sobre Douyin_TikTok_Download_API

¿Qué es Evil0ctal/Douyin_TikTok_Download_API?

Evil0ctal/Douyin_TikTok_Download_API es mcp servers para el ecosistema de Claude AI. 🚀 自托管的抖音、TikTok、B 站数据采集与无水印视频下载 API,支持 AI agent 通过 MCP 调用与离线语音转文字,Docker 一键部署。| Self-hosted TikTok, Douyin & Bilibili scraper and no-watermark video downloader — async REST API, MCP server for AI agents, CLI and web console, plus offline speech-to-text for downloaded videos. Self-healing identity pool, PostgreSQL archive, one docker compose up. Tiene 20.9k estrellas en GitHub y su última actualización registrada es del 2026-10-21.

¿Cómo se instala Douyin_TikTok_Download_API?

Puedes instalar Douyin_TikTok_Download_API clonando el repositorio (https://github.com/Evil0ctal/Douyin_TikTok_Download_API) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.

¿Es seguro usar Evil0ctal/Douyin_TikTok_Download_API?

Nuestro agente de seguridad ha analizado Evil0ctal/Douyin_TikTok_Download_API y le ha asignado un Trust Score de 100/100 (tier: Verified). Revisa el desglose completo de comprobaciones superadas y flags en esta página.

¿Quién mantiene Evil0ctal/Douyin_TikTok_Download_API?

Evil0ctal/Douyin_TikTok_Download_API es mantenido por Evil0ctal. La última actividad registrada en GitHub es del 2026-10-21, con 3 issues abiertos.

¿Hay alternativas a Douyin_TikTok_Download_API?

Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.

Deploy en 1 click

Despliega Douyin_TikTok_Download_API en tu cloud

Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.

Alternativas

Web del proyecto
https://douyin.wtf