# Why do Xiaohongshu comment replies return {"code":-1,"success":false}?

In MediaCrawler, first-level Xiaohongshu comments worked but the reply (二级评论) endpoint returned `{"code":-1,"success":false}` from late November 2025 (issue 792, 11 comments); users found it was the request path, and the maintainer's fix on 3 December 2025 corrected how GET requests were encoded before signing. XTikAPI's `xiaohongshu.comment_replies.list` takes a note and a `comment_id` and returns a page of replies, $0.02 a call.

Updated 2026-11-23

## What the issue threads show

| Report | Detail |
| --- | --- |
| Issue 792, 1 Dec 2025 | First-level comments saved fine; the reply call returned code -1; the reporter suspected the X- signature headers |
| Same thread | A user fixed it locally: "a URL path problem", and ran over a thousand items |
| Issue 776, 27 Nov | A fix branch restored search, note detail and first-level comments; replies and creator pages still failed |
| 3 Dec 2025 | Maintainer: fixed, a GET request encoding problem (pull request 793) |

A signed GET request has to be signed over exactly the path and query you send; encode it differently and the server rejects it.

## With XTikAPI

1. `xiaohongshu.comments.list` with the note `id` or `url` returns first-level comments with their IDs and reply counts.
2. For comments with replies, `xiaohongshu.comment_replies.list` with `id` (or `url`) and `comment_id`; pass back `cursor` for more.

Cost: a note with 200 comments, 20 of them with replies: if a page holds about 20, roughly 10 comment pages + 30 reply pages = 40 calls × $0.02 = $0.80.

## Why XTikAPI

- XTikAPI reads Xiaohongshu with 16 endpoints from $0.02 a call, and a failed call is not charged.
- Fewer tokens for AI: across 11 recorded live Xiaohongshu calls (2026-11-18), raw platform JSON is ~90k tokens vs ~17k via XTikAPI REST (80.9% fewer) and ~18k via MCP (79.7% fewer).
- See before you pay: 192 of 229 endpoints show a recorded real response on their page (13 of 16 for Xiaohongshu).
- Made for AI: hosted OAuth MCP server (/v1/mcp), Markdown twin per page, llms.txt and OpenAPI for ChatGPT, Claude and Cursor.
- Free trial: a verified account gets $0.50, no card.

## Endpoints

- [Xiaohongshu comment replies API](https://xtikapi.com/apis/xiaohongshu/comment_replies/list) ($0.02 a call): Replies under one Xiaohongshu comment.
- [Xiaohongshu comments API](https://xtikapi.com/apis/xiaohongshu/comments/list) ($0.02 a call): A page of comments on one Xiaohongshu note.

## More about Xiaohongshu

- [Xiaohongshu API](https://xtikapi.com/apis/xiaohongshu)
- [MediaCrawler errors (Verifytype, Douyin page 1 empty, XHS 406, Kuaishou) & hosted alternatives?](https://xtikapi.com/answers/mediacrawler-errors-and-alternatives)
- [How do I export Xiaohongshu note comments to Excel?](https://xtikapi.com/answers/xiaohongshu-comments-export-excel)
- [Xiaohongshu warns my account about AI or automated operation: how can I still collect data?](https://xtikapi.com/answers/xiaohongshu-ai-operation-detected)
- [How do I collect Xiaohongshu notes automatically with n8n?](https://xtikapi.com/answers/n8n-xiaohongshu-notes)

## How to do it

- [How to get comments on a Xiaohongshu (RedNote) note](https://xtikapi.com/guides/xiaohongshu-note-comments)

## Sources

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

- [MediaCrawler issue #792 (comment replies return code -1)](https://github.com/NanmiCoder/MediaCrawler/issues/792)
- [MediaCrawler issue #776 (signature break, Nov 2025)](https://github.com/NanmiCoder/MediaCrawler/issues/776)
- [MediaCrawler pull request #793 (GET encoding fix)](https://github.com/NanmiCoder/MediaCrawler/pull/793)

## Questions

### Is code -1 a sign my account is banned?

Not in issue 792: first-level comments kept working with the same account, so the reply request itself was malformed.

---

XTikAPI: one API key for public social media data, prepaid per call. [HTML version](https://xtikapi.com/answers/xiaohongshu-comment-replies-code-minus-1) · [llms.txt](https://xtikapi.com/llms.txt) · [OpenAPI](https://xtikapi.com/openapi.json)
