# Douyin_TikTok_Download_API

> 抖音、TikTok 数据采集与无水印视频下载 API，自托管，支持 MCP 调用与 Docker 一键部署。 Self-hosted TikTok & Douyin scraper and no-watermark video downloader — async REST API, MCP server, CLI and…

- Type: agent or tool
- Field: Web Automation & Scraping
- Repository: https://github.com/Evil0ctal/Douyin_TikTok_Download_API
- GitHub stars: 21543
- Licence: Apache-2.0
- Language: Python
- Last push: 2026-11-20
- Page: https://imutechz.in/agents/douyin_tiktok_download_api

## What it is
A self-hosted data API for Douyin, TikTok and Bilibili that fetches posts, authors, comments, sounds, hashtags, live rooms, trending boards and search results, and downloads video and image albums without a watermark. It is aimed at developers and agents who want to run collection on their own machine. It exposes a REST API, an MCP server and a web console, keeps collected data in your own PostgreSQL, and can turn downloaded video into text offline.

## Features
- REST API, MCP server and web console on one deployment
- Fetches posts, authors, comments, sounds, hashtags, live rooms, trending boards and search
- Downloads video and image albums without a watermark
- Stores collected data in your own PostgreSQL
- Offline video-to-text on the same machine
- Identity pool that maintains itself

## Best for
- Self-hosted social media data collection
- Building agents that call scraping tools over MCP
- Archiving TikTok and Douyin videos without watermarks
- Research on posts, comments and trending boards

## Pros
- Runs on your own machine with no signup or quota
- Open source and free
- Data stays in your own PostgreSQL
- Deployable with one docker compose up

## Cons
- Requires PostgreSQL
- Requires Python 3.12+
- Needs Docker for the one-command deployment

## Install
```
docker compose up
```

Tags: tiktok, douyin, bilibili, scraper, video-download, mcp, self-hosted, rest-api
