How do Claude Code, Cursor and Codex read Xiaohongshu without cookies? (2026)

From $0.0200 a call, with no account or cookie of yours: connect DataXAPI's MCP server by pasting one sentence with your key into the agent, and it sets itself up. Then ask in plain words, and it searches notes and reads comments on that key. DataXAPI reads Xiaohongshu (RedNote) with 21 endpoints, from $0.0200 a call; a failed call is not charged.

Open in ChatGPTOpen in Claude

Updated 2026-11-04

Set it up

Paste this into Claude Code, Cursor or Codex: “Read https://dataxapi.com/agents.md and set up DataXAPI in this agent. My API key is dx_…; use it for every DataXAPI call.”

Or from a terminal: npx dataxapi setup writes the entry for all three and installs the base skill. It does not write your key: put that in the environment variable DATAXAPI_API_KEY.

ClientWhere the entry goes
Claude Code~/.claude.json
Cursor~/.cursor/mcp.json
Codex~/.codex/config.toml

What to ask, and what it comes to

“Search Xiaohongshu for sunscreen reviews and tell me what the comments under the top 5 notes complain about.” That is one search and 5 pages of comments: 6 calls at $0.0200, $0.12.

“List the notes of this creator and sort them by likes.” Give it the profile link as you copied it. Finding an endpoint and reading its parameters are free; only call is charged, and the agent can see the price first. Give it its own key with a limit.

Endpoints

Each with its price; every page has the parameters, the fields and a recorded response.

More about Xiaohongshu (RedNote)
Xiaohongshu (RedNote) APIHow do I export Xiaohongshu (RedNote) data?Can ChatGPT read Xiaohongshu (RedNote)?What is xsec_token on Xiaohongshu?What is a Xiaohongshu note ID, and what is an xhslink link?What is CPE on Xiaohongshu PGY and on Douyin Xingtu?What is Xiaohongshu PGY?Which Xiaohongshu data API? The official platform, third-party APIs or your own scraper (2026)Can Xiaohongshu's open platform read notes and comments? (2026)xiaohongshu-mcp keeps losing its login: is there a Xiaohongshu MCP that needs no login? (2026)How do I add a Xiaohongshu or Douyin Skill to my AI? (2026)How do I export all of a Xiaohongshu creator's notes to Excel? (2026)How do I export Xiaohongshu comments in bulk to find what users complain about? (2026)How do I collect the numbers of many Xiaohongshu notes after a campaign? (2026)How do I check Xiaohongshu note search rankings in bulk? (2026)BettaFish has no data: how do I feed it public Xiaohongshu and Douyin data? (2026)MediaCrawler gets blocked on Xiaohongshu with status 461: what do I switch to? (2026)Do Chanmama, Qiangua and Newrank have APIs? What if I want the raw data? (2026)Is it legal to collect public Xiaohongshu and Douyin data through a third-party API? (2026)What does status 461 mean on Xiaohongshu? (2026)How do I get Xiaohongshu data into n8n? (2026)How do I sync Xiaohongshu note data to a Feishu Base? (2026)How do I connect Xiaohongshu data to Dify? (MCP, 2026)When should I use DataXAPI, and when should I not? (2026)Will using a data API get my Xiaohongshu or Douyin account banned? (2026)Are data APIs like DataXAPI compliant? (2026)Is DataXAPI's data reliable, and what if a call fails? (2026)Can DataXAPI issue an invoice, and how do I pay in US dollars? (2026)How do I collect hit topic ideas on Xiaohongshu in bulk? (2026)How do I research products to sell on Xiaohongshu: what sells and what buyers say? (2026)How do I spot complaints about my brand on Xiaohongshu at low cost? (2026)My Xiaohongshu scraper keeps getting blocked: what does keeping it up cost against paying per call? (2026)How do I export Xiaohongshu PGY creators in bulk? (2026)What are x-s and x-t on Xiaohongshu? (2026)What do Xiaohongshu error codes 300011, 300012 and 300013 mean? (2026)How do I connect Xiaohongshu data to Coze (扣子)? (2026)How to look up Xiaohongshu (RedNote) PGY creator rates and audienceHow to get a keyword's search index and related keywords on Xiaohongshu PGY