# xiaohongshu-mcp keeps losing its login or returns 300011: is there a Xiaohongshu tool for AI that needs no login? (2026)

xiaohongshu-mcp uses your own logged-in Xiaohongshu web session, so it stops working when the session drops or the account is flagged. Switch to XTikAPI: call it with a key, with no Xiaohongshu account and no QR scan, and Claude, Cursor and ChatGPT can call it directly through OpenAPI. A page of note search is $0.02. XTikAPI reads Xiaohongshu with 16 endpoints from $0.02 a call. A failed call is not charged, and a verified account gets $0.50 of trial balance.

Updated 2026-11-19

## Three common failures

From xiaohongshu-mcp issues and PRs.

| What you see | What it is | Source |
| Search returns 300011 Account abnormal | The account was restricted after a warning for "suspected use of third-party tools and scripts" | Issue 877 |
| You have to scan again every time | The session expired; many replies in issue 877 report the same | Issue 877 |
| Always logged out from abroad, and scanning logs into rednote | Since 2026-11-03, overseas IPs opening /explore, notes or profiles get a 302 to www.rednote.com | PR 906 |

## What XTikAPI returns

`xiaohongshu.notes.search` returns a page of notes for a term; `xiaohongshu.notes.detail` reads one by note ID or share link; `xiaohongshu.comments.list` returns comments and `xiaohongshu.comment_replies.list` returns replies. Your cookie and account are not in the request, so no account can be banned.

## Connecting it to your AI

Claude Code and Cursor: have them send plain HTTP requests with `Authorization: Bearer <your key>`. A ChatGPT custom GPT: import `/openapi/xiaohongshu.json` in an Action and pick Bearer auth. Give the key a spending cap so a long chat can never overspend.

## Why XTikAPI

- See before you pay: 192 of 229 endpoints show a recorded real response on their page (13 of 16 for Xiaohongshu).
- 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

- [Xiaohongshu note search API](https://xtikapi.com/apis/xiaohongshu/notes/search) ($0.02 a call): Search notes
- [Xiaohongshu note details API](https://xtikapi.com/apis/xiaohongshu/notes/detail) ($0.02 a call): Get image note detail
- [Xiaohongshu comments API](https://xtikapi.com/apis/xiaohongshu/comments/list) ($0.02 a call): Get note comments

## More about Xiaohongshu

- [Xiaohongshu API](https://xtikapi.com/apis/xiaohongshu)
- [How do I pull Xiaohongshu notes into a Feishu Bitable automatically?](https://xtikapi.com/answers/feishu-bitable-xiaohongshu-notes)
- [How do I collect Xiaohongshu notes automatically with n8n?](https://xtikapi.com/answers/n8n-xiaohongshu-notes)
- [Spider_XHS says "Cookie is invalid or expired" on my server but works locally: why?](https://xtikapi.com/answers/spider-xhs-cookie-invalid-on-server)
- [What do Xiaohongshu error 300017 and the X-S signature mean?](https://xtikapi.com/answers/xiaohongshu-300017-sign-error)
- [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)
- [MediaCrawler can't collect replies to Xiaohongshu comments (406): what now?](https://xtikapi.com/answers/mediacrawler-xiaohongshu-comment-replies)
- [How do I add Xiaohongshu or WeChat Official Account data to TrendRadar?](https://xtikapi.com/answers/trendradar-xiaohongshu-wechat-data)
- [Does Xiaohongshu (RedNote) have an official API for notes?](https://xtikapi.com/answers/xiaohongshu-official-api)
- [Can ChatGPT read Xiaohongshu (RedNote)?](https://xtikapi.com/answers/can-chatgpt-read-xiaohongshu)
- [Is there a hosted alternative to MediaCrawler for Xiaohongshu, Douyin and other Chinese platforms?](https://xtikapi.com/answers/mediacrawler-alternative)
- [What does status 461 mean on Xiaohongshu?](https://xtikapi.com/answers/xiaohongshu-461-status-code)
- [What is xsec_token on Xiaohongshu and why do note links break without it?](https://xtikapi.com/answers/xiaohongshu-xsec-token)
- [What is a good Apify alternative for social media data?](https://xtikapi.com/answers/apify-alternative-for-social-media-data)

## Sources

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

- xiaohongshu-mcp issue #877: search restricted, 300011 Account abnormal
- xiaohongshu-mcp PR #906: overseas IPs redirected to rednote

---

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