# xiaohongshu-mcp errors (300011, login loss, account bans, search_feeds timeout): how do I fix them?

xiaohongshu-mcp automates a real browser logged into your own Xiaohongshu account, which causes four recurring issues: `300011 Account abnormal` and repeated QR re-logins (issue #877), warnings or bans even on light or read-only tasks especially from cloud servers (issues #668, #680, #777), overseas IPs getting 302-redirected to `rednote.com` (PR #906), and `search_feeds` timing out at 60s (`context deadline exceeded`) inside `MustWaitStable()` (issues #836, #874). For read-only AI search and research without risking an account or running a browser, XTikAPI offers a hosted OAuth MCP server (`/v1/mcp`) and HTTP API at $0.02 a call.

Updated 2026-11-25

## Four common xiaohongshu-mcp failures and causes

| Symptom | Cause in GitHub issues / PRs | What helps |
| --- | --- | --- |
| `300011 Account abnormal` or forced QR re-login every run (issue #877) | Account flagged for "suspected third-party tools/scripts" or session expired | Pause automation, appeal if restricted, avoid frequent logins |
| Warning or ban after auto-reply, posting, or even one search (issues #668, #680, #777) | Cloud server IPs (e.g. Alibaba Cloud), fixed-interval agent loops, or repetitive text; ladder goes freeze → warning → 7-day ban → permanent | Maintainer advises residential IP (never cloud servers), slower randomized intervals, and distinct text |
| Overseas IP always shows logged out / redirects to `www.rednote.com` (PR #906, Nov 2026) | Xiaohongshu 302-redirects overseas `/explore`, note, and profile URLs to `rednote.com` | Use a mainland China IP or updated rednote domain handling |
| `search_feeds` fails after ~60s with `context deadline exceeded` at `search.go:110` while `list_feeds` works (issues #836, #874) | `MustWaitStable()` never settles because lazy-loaded search feeds keep mutating the DOM; PR #839 was closed unmerged | Patch `search.go` to wait for search result nodes rather than DOM stability, and verify returned titles match the keyword |

## Read-only Xiaohongshu MCP without your account or browser

If your AI agent (ChatGPT, Claude, Claude Code, Cursor, Codex) only needs to **read** public notes, details, and comments rather than post:

1. Connect XTikAPI's hosted MCP server at `https://xtikapi.com/v1/mcp` (OAuth sign-in or Bearer API key)—no Docker container, no headless Chrome, no Xiaohongshu account.
2. Or call HTTP endpoints directly: `xiaohongshu.notes.search` (`keyword`, `sort`, `note_type`, `cursor`), `xiaohongshu.notes.detail`, `xiaohongshu.comments.list`, and `xiaohongshu.comment_replies.list`.
3. Set a per-key spending cap or `X-Max-Price` header so an agent loop can never overspend.

Cost check: an agent searching 20 keywords once a day for 30 days = 600 calls × $0.02 = $12.

## 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).
- 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

- [Xiaohongshu note search API](https://xtikapi.com/apis/xiaohongshu/notes/search) ($0.02 a call): One page of Xiaohongshu notes for a keyword, sortable by relevance, newest or most liked, filterable to video or image notes and by publish time.
- [Xiaohongshu note details API](https://xtikapi.com/apis/xiaohongshu/notes/detail) ($0.02 a call): One Xiaohongshu (RedNote) note by ID: text, images, author and engagement.
- [Xiaohongshu comments API](https://xtikapi.com/apis/xiaohongshu/comments/list) ($0.02 a call): A page of comments on one Xiaohongshu note.
- [Xiaohongshu comment replies API](https://xtikapi.com/apis/xiaohongshu/comment_replies/list) ($0.02 a call): Replies under one Xiaohongshu comment.

## 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)
- [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 export Xiaohongshu note comments to Excel?](https://xtikapi.com/answers/xiaohongshu-comments-export-excel)
- [How do I connect Xiaohongshu data to Dify?](https://xtikapi.com/answers/dify-xiaohongshu-data)

## 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-25.

- [xiaohongshu-mcp issue #877 (search restricted, 300011)](https://github.com/xpzouying/xiaohongshu-mcp/issues/877)
- [xiaohongshu-mcp issue #668 (account banned)](https://github.com/xpzouying/xiaohongshu-mcp/issues/668)
- [xiaohongshu-mcp issue #680 & #777 (cloud IP bans and warnings)](https://github.com/xpzouying/xiaohongshu-mcp/issues/680)
- [xiaohongshu-mcp issue #836 & #874 (search_feeds context deadline exceeded)](https://github.com/xpzouying/xiaohongshu-mcp/issues/836)
- [xiaohongshu-mcp PR #906 (overseas IP redirected to rednote)](https://github.com/xpzouying/xiaohongshu-mcp/pull/906)

## Questions

### When `search_feeds` times out, is my login expired?

Usually no: in issues #836 and #874 `check_login_status` and `list_feeds` both succeeded; only `search_feeds` hung waiting on `MustWaitStable()`.

### Does posting as "only me" avoid xiaohongshu-mcp bans?

No: a user in issue #680 posted privately on a cloud server and was still banned.

---

XTikAPI: one API key for public social media data, prepaid per call. [HTML version](https://xtikapi.com/answers/xiaohongshu-mcp-errors-and-fixes) · [llms.txt](https://xtikapi.com/llms.txt) · [OpenAPI](https://xtikapi.com/openapi.json)
