# The TikTok comments endpoint in Douyin_TikTok_Download_API stopped working: what now?

In Douyin_TikTok_Download_API the TikTok comments route `/api/tiktok/web/fetch_post_comment` returned `code 400, An error occurred` for a normal video ID in December 2025 (issue 691), and the issue was closed in September 2026 only because v5.0.0 replaced the whole v4 codebase, so old routes don't come back. XTikAPI's `tiktok.comments.list` returns a video's comments with `cursor` paging, and `tiktok.comment_replies.list` the replies, $0.002 a page.

Updated 2026-11-24

## What issue 691 shows

| Item | Value |
| --- | --- |
| Route | `/api/tiktok/web/fetch_post_comment` |
| Params | `aweme_id=7304809083817774382`, `cursor=0`, `count=20` |
| Response | `{"code": 400, "message": "An error occurred."}` |
| Outcome | Closed 10 Sep 2026 in the v5.0.0 cleanup: "a rewrite from an empty branch: different endpoints, different configuration" |

If you built on the v4 route, plan to rewrite against v5's endpoints or use another source; the old one isn't being fixed.

## Comments and replies

1. `tiktok.comments.list` with the video `id`, `limit`, and `cursor` from the previous page.
2. For a comment with replies, `tiktok.comment_replies.list` with the video `id` and `comment_id`.
3. Each comment has text, author, likes, reply count and time in the same shape as every other platform.

Cost: 200 videos × 10 pages = 2,000 calls × $0.002 = $4.

## Why XTikAPI

- XTikAPI reads TikTok with 24 endpoints from $0.002 a call, and a failed call is not charged.
- Fewer tokens for AI: across 14 recorded live TikTok calls (2026-11-18), raw platform JSON is ~1.21M tokens vs ~35k via XTikAPI REST (97.1% fewer) and ~35k via MCP (97.1% fewer).
- See before you pay: 192 of 229 endpoints show a recorded real response on their page (22 of 24 for TikTok).
- Prepaid balance, no subscription. Balance never expires, and unused top-up money can be refunded within 14 days.
- Free trial: a verified account gets $0.50, no card.

## Endpoints

- [TikTok comments API](https://xtikapi.com/apis/tiktok/comments/list) ($0.002 a call): A page of comments on one TikTok video.
- [TikTok comment replies API](https://xtikapi.com/apis/tiktok/comment_replies/list) ($0.002 a call): Replies under one TikTok comment.
- [TikTok video details API](https://xtikapi.com/apis/tiktok/videos/detail) ($0.002 a call): One TikTok video by ID: caption, author, plays, likes, comments and shares.

## More about TikTok

- [TikTok API](https://xtikapi.com/apis/tiktok)
- [TikTok-Api errors (EmptyResponseException, 200 empty body, Captcha, statusCode): how do I fix them?](https://xtikapi.com/answers/tiktok-api-errors-and-fixes)
- [f2 TikTok user posts return status 200 with an empty response: why?](https://xtikapi.com/answers/f2-tiktok-user-post-empty)
- [How do I get the videos that use a TikTok sound (music ID)?](https://xtikapi.com/answers/tiktok-api-sound-videos)
- [yt-dlp fails on a TikTok user profile with "[tiktok:user] Failed to parse JSON": how do I fix it?](https://xtikapi.com/answers/yt-dlp-tiktok-user-failed-parse-json)
- [Why does the Douyin video URL I parsed return 403 Forbidden?](https://xtikapi.com/answers/douyin-video-url-403-forbidden)

## How to do it

- [How to get TikTok video comments with Python](https://xtikapi.com/guides/tiktok-video-comments-python)

## Sources

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

- [Douyin_TikTok_Download_API issue #691 (TikTok comments endpoint broken)](https://github.com/Evil0ctal/Douyin_TikTok_Download_API/issues/691)

## Questions

### Is the video ID the same as aweme_id?

Yes: TikTok's video ID in the URL `/video/<id>` is the aweme_id the old route took; pass it as `id`.

---

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