Douyin TikTok Download API
Douyin_TikTok_Download_API
A self-hosted Douyin and TikTok data service with a REST API, MCP server and CLI, watermark-free
Medium risk
We rate an entry medium when the tool runs code, makes network calls or reads project files. Check what exactly it does before installing.
Why this level
- Collects data from external platforms and downloads media
- Stores what it collects in a database and depends on platform-side changes
Install
Manual install
docker compose -p dtk -f docker/compose.yml up -dRecommended way to start the whole stack, including the MCP server. The setup token is printed in the api container logs.
This is third-party code. Review the repository files before installing.
What it does
The service runs on your machine and collects posts, authors, comments and search results from Douyin and TikTok, and downloads videos and image albums without a watermark by picking the clean stream the platform already publishes. On top of it sit a REST API, a web console and an MCP server through which an agent reaches the same data. An identity pool maintains itself, and what it collects is kept in your own PostgreSQL. It deploys with a single docker compose command or from Python source.
Who it is for. For SMM and marketers who need to collect Douyin and TikTok content and data through an agent.
Good fit when
- You want the agent to pull posts, authors or comments from a link
- You need watermark-free videos in your pipeline
- You want a single self-hosted Douyin and TikTok data source over MCP
Not a fit when
- You need a cloud service without your own server and database
- You plan usage that breaks platform rules or creators' rights
Example request
Use the local service to pull this TikTok author's posts and download the videos without a watermarkLimitations
You self-host the service and run PostgreSQL. Reliability depends on Douyin and TikTok availability and can change when the platforms change. Compliance with platform rules and copyright is the user's responsibility.
How to disable. Stop the stack (docker compose down per the project's config) and remove the MCP entry from your client's config.
MCP
- Transport
- http
- Authentication
- not required
Security check
- Collects data from external platforms and downloads media
- Stores what it collects in a database and depends on platform-side changes
README in short
The README describes a self-hosted service for Douyin and TikTok: collecting posts, authors, comments and search, downloading videos and albums without a watermark, and storing in PostgreSQL. A REST API, an MCP server and a web console sit on top of the data, and a self-healing identity pool reduces blocks. Installation is available via a single docker compose command, an install.sh script or from Python source with uv. Apache-2.0 licensed.
FAQ
Do I need a platform account?
No, the service needs no login and runs on your machine, with no external quota.
How does the agent get data?
Through the MCP server that starts together with the stack's REST API and web console.
Related
Skills and CLI from HeyGen: the agent writes HTML compositions and renders them into MP4 videos, captions, motion graphics and decks
Blender MCP
MCP for Blender
An MCP server and Blender addon: the agent creates and edits objects, materials and scenes, pulls assets and runs Python in Blender
Official Remotion skills for making videos in React: compositions, animation, captions, maps and rendering
Agentic video studio for Claude Code, Cursor and Codex: script, voiceover, images, stock footage, music, subtitles and render