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
Issue 792, 1 Dec 2025
Detail: First-level comments saved fine; the reply call returned code -1; the reporter suspected the X- signature headers
Same thread
Detail: A user fixed it locally: "a URL path problem", and ran over a thousand items
Issue 776, 27 Nov
Detail: A fix branch restored search, note detail and first-level comments; replies and creator pages still failed
3 Dec 2025
Detail: 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
xiaohongshu.comments.listwith the noteidorurlreturns first-level comments with their IDs and reply counts.- For comments with replies,
xiaohongshu.comment_replies.listwithid(orurl) andcomment_id; pass backcursorfor 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
Each with its price; the endpoint page has parameters, fields and a recorded response.
How to do it
Sources
What this page says about other products comes from their own pages and docs, read on 2026-11-23.
More about Xiaohongshu
- Xiaohongshu API
- MediaCrawler errors (Verifytype, Douyin page 1 empty, XHS 406, Kuaishou) & hosted alternatives?
- How do I export Xiaohongshu note comments to Excel?
- Xiaohongshu warns my account about AI or automated operation: how can I still collect data?
- How do I collect Xiaohongshu notes automatically with n8n?
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.
One key. Start now.
19 platforms, 229 endpoints, from $0.002 a call. Errors and timeouts are free.
Start free