Evil0ctal /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.
★ 21,413⑂ 2,971👁 107⑃ 110● 657▤ 68
+11
Daily
+280
Weekly
+717
Monthly
21,413
stars
2,971
forks
107
watchers
110
prs
657
issues
68
releases
README
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.
💖 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
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 downTop issues
#805[Bug] 视频地址403应该与域名有关5 comments · 2026-10-31#815💡 功能建议与反馈请发到 Discussions / Feature ideas and feedback go to Discussions0 comments · 2026-11-02
Discussions
#818加一个接口,接收 cookie 推送0 comments · 2026-11-04#816build 构建阶段卡默认官方源1 comments · 2026-11-02#814💡 功能建议与反馈从这里开始 / Feature ideas and feedback start here0 comments · 2026-11-02#806容器都正常启动,在开发者,锻造身份那里能正常请求返回cookie,但是在资源池-身份池那里锻造douyin 的身份,就会提示铸造失败 浏览器容器没有响应,这是什么原因?1 comments · 2026-10-31#802DTK 5.1.7 获取 TikTok 作品列表失败,如何获取视频播放量?2 comments · 2026-10-28#765下载列表中的内容,删除不了啊?根本没用啊1 comments · 2026-09-24#764限时日常是不是没有接口解析1 comments · 2026-09-22#760关注列表采集不全1 comments · 2026-09-17
Latest release
v5.1.11 v5.1.11 2026-11-08What's new TikTok lists and search that get past the posts TikTok will not play. One post sent without a media address used to turn a whole page of an author's posts or a search into a 502. Those posts are TikTok Shop videos, whose media TikTok's web API gives to nobody, guest or signed in; they now come back with their details and no streams, and asking for one directly says so with its own error code. Page two of a TikTok post search, empty until now, pages again. Also: the console's single-post form takes the share text the apps copy, retention stops rewriting the same finished tasks on ev