# How do I export Douyin video comments to Excel? (2026)

There are two ways: run MediaCrawler yourself, which saves comments to Excel but needs a logged-in browser and comments switched on in its config, or call XTikAPI's `douyin.comments.list` page by page and write the rows to Excel yourself, $0.002 a page, with no Douyin account. XTikAPI reads Douyin with 34 endpoints from $0.002 a call. A failed call is not charged, and a verified account gets $0.50 of trial balance.

Updated 2026-11-20

## Doing it with MediaCrawler

MediaCrawler's README lists Douyin with keyword search, post IDs and second-level comments, and saves to CSV, JSON, JSONL, Excel, SQLite or MySQL. Comments are off by default: set `ENABLE_GET_COMMENTS` in `config/base_config.py`. It drives a logged-in browser, so you also need an account and, for volume, proxies.

## Doing it with XTikAPI

1. Turn each video link into an aweme_id with `douyin.videos.id_from_url`.
2. Call `douyin.comments.list` with the `id`; pass back `cursor` until there are no more.
3. For comments with replies, call `douyin.comment_replies.list` with `id` and `comment_id`.
4. Write user, text, likes and time to Excel.

## What it costs

A video with 1,000 comments, about 50 pages, plus replies for 50 comments: around 100 calls at $0.002, $0.20.

## Why XTikAPI

- See before you pay: 192 of 229 endpoints show a recorded real response on their page (30 of 34 for Douyin).
- One shape: posts, comments and accounts from 19 platforms come back as the same objects, author in author and counts in metrics, so another platform needs no new parser.
- Spending you control: a failed call or a timeout is not charged (charged: false), X-Max-Price caps one call, and the same Idempotency-Key within 24 hours is never billed twice.
- Prepaid balance, no subscription. Balance never expires, and unused top-up money can be refunded within 14 days.
- Made for AI: every page has a Markdown twin, plus llms.txt and OpenAPI, so ChatGPT, Claude and Cursor can read it directly.

## Endpoints

- [Douyin comments API](https://xtikapi.com/apis/douyin/comments/list) ($0.002 a call): Get single video comments data
- [Douyin comment replies API](https://xtikapi.com/apis/douyin/comment_replies/list) ($0.002 a call): Replies under one Douyin comment, by video ID and comment ID: text, replier, likes, time posted.
- [Douyin video ID from link API](https://xtikapi.com/apis/douyin/videos/id_from_url) ($0.002 a call): Extract the aweme_id from a Douyin share link or video URL.

## More about Douyin

- [Douyin API](https://xtikapi.com/apis/douyin)
- [Does Chanmama (蝉妈妈) have an API?](https://xtikapi.com/answers/chanmama-api)
- [How do I get replies to Douyin comments (second-level comments)?](https://xtikapi.com/answers/douyin-comment-replies-api)
- [How do I get the video ID from a Douyin share link?](https://xtikapi.com/answers/douyin-share-link-to-video-id)
- [TikTokDownloader shows Douyin cookie errors after a few dozen creators: why?](https://xtikapi.com/answers/tiktokdownloader-douyin-cookie-error)
- [What is a good Apify alternative for social media data?](https://xtikapi.com/answers/apify-alternative-for-social-media-data)
- [How do I pull the Douyin hot search list with code?](https://xtikapi.com/answers/douyin-hot-search-api)
- [How do I find viral Douyin videos from small accounts, and can I pull them in bulk?](https://xtikapi.com/answers/douyin-low-fan-viral-videos)
- [Is there an official Douyin API for public videos?](https://xtikapi.com/answers/douyin-open-platform-api)
- [What is the Ocean Engine (Juliang Suanshu) keyword index, and can I get it by API?](https://xtikapi.com/answers/douyin-trend-index-keywords)
- [What is a_bogus on Douyin and do I need to generate it?](https://xtikapi.com/answers/douyin-a-bogus)
- [What is the difference between uid and sec_uid on Douyin, and how do I convert one to the other?](https://xtikapi.com/answers/douyin-sec-uid-vs-uid)
- [Is there a hosted alternative to MediaCrawler for Xiaohongshu, Douyin and other Chinese platforms?](https://xtikapi.com/answers/mediacrawler-alternative)

## Sources

What this page says about other products comes from their own pages and docs, read on 2026-11-20.

- MediaCrawler README (features, data saving)

---

XTikAPI: one API key for public social media data, prepaid per call. [HTML version](https://xtikapi.com/answers/douyin-comments-export-excel) · [llms.txt](https://xtikapi.com/llms.txt) · [OpenAPI](https://xtikapi.com/openapi.json)
