How do I get Xiaohongshu data into n8n? (2026)

Two ways. For a fixed schedule, an HTTP Request node calls DataXAPI's note search, at $0.0200 a page. To let an AI decide what to read, an MCP Client Tool node connects to https://api.dataxapi.com/mcp. 5 keywords searched once a day come to $3 a month, with no Xiaohongshu account and no cookie. 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

Fastest: import the template

Download the workflow file, and in n8n choose Import from File on a new workflow. Replace query in the HTTP Request node with your keyword, then create a Bearer Auth credential holding your key alone. It runs every day at 9 and gives one item per note. The file follows n8n's documents as read on the date below; we have not run it in your version.

On a schedule: HTTP Request

1. Schedule Trigger: when to run.

2. HTTP Request: method GET, URL https://api.dataxapi.com/v1/xiaohongshu/notes/search. Turn on Send Query Parameters with query set to the keyword, and sort to latest or popular if you like. Under Authentication choose the generic credential type, then Bearer Auth, and enter your key alone as the token.

3. Split Out: Field to Split Out is data.items. Each item has id, url, title, text, published_at and metrics with likes, comments, shares and favorites.

4. For comments, another HTTP Request: https://api.dataxapi.com/v1/xiaohongshu/notes/comments/list with url set to {{ $json.url }}, at $0.0200 a page. To go on to a next page, send page.next_cursor as cursor; each page is one call, so set a limit on the pages.

Letting an AI choose: MCP Client Tool

Attach an MCP Client Tool node to an AI Agent node. Endpoint is https://api.dataxapi.com/mcp, Server Transport is HTTP Streamable, Authentication is Bearer Auth, and the token is your key alone. Then ask from a chat trigger: “Use DataXAPI to find this week's top Xiaohongshu notes on camping.” You also pay for the model.

What it comes to

5 keywords once a day are 150 calls at $0.0200, $3. The first page of comments on 10 notes a day adds 300 calls at $0.0200, $6, so $9. A failed call is not charged. Give this key a daily limit in the console. These steps follow n8n's documents as read on the date below; its screens may differ in your version.

Endpoints

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

Sources

What this page says of other services is from their own pages and documents, read on 2026-11-04. Prices and features change: check the source before you decide.

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 Claude Code, Cursor and Codex read Xiaohongshu without cookies? (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 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