How do I connect Xiaohongshu data to Dify? (MCP, 2026)
Add https://onefeedapi.com/mcp under Tools, MCP in Dify with your key in a header, and an Agent can read Xiaohongshu; for a fixed flow, call the endpoint from a workflow's HTTP Request node. A page of search is $0.0200. One keyword and the comments on 5 notes come to $0.12, and the model is paid for apart. OneFeedAPI reads Xiaohongshu (RedNote) with 33 endpoints, from $0.0200 a call; a failed call is not charged, and the free trial covers up to 333 calls.
Updated 2026-11-04
With an Agent: MCP
Go to Integrations, Tools, MCP and add an MCP server (HTTP). URL is https://onefeedapi.com/mcp, Name is OneFeedAPI, Server Identifier is onefeedapi. Under Advanced Options, Custom Headers, set Authorization to Bearer and your key.
Make an Agent app, or an Agent node in a workflow, and pick the OneFeedAPI tools. Then ask: “Use OneFeedAPI to find popular Xiaohongshu notes on camping, and tell me what the comments complain about.”
Headers came in Dify 1.9.0; a self-hosted Dify older than that signs in with OAuth instead. The key in a header is shared by the whole workspace, so give it a daily limit.
In a fixed workflow: HTTP Request node
Use a GET to https://onefeedapi.com/v1/xiaohongshu/notes/search with the parameter query, and API Key, Bearer as its authorization, with your key. The notes are in data.items. You pick the endpoint and the model does not choose, which keeps the cost the same each run.
What it comes to
One search at $0.0200 and the first page of comments on 5 notes at $0.0200 each come to $0.12. 100 such questions are $12. An Agent decides how many calls to make, so its bill can differ; a failed call is not charged. These steps follow Dify's documents as read on the date below; its screens may differ in your version.
Why OneFeedAPI
- Steady: endpoints were available 100% of the last 30 days, on a public status page you can check.
- Fast: a paid call took 1.3 seconds at the median over the last 7 days (counted 2026-11-06).
- Fewer tokens: across 21 endpoints on Xiaohongshu (RedNote), one recorded real response each, the platform's own JSON comes to 480k tokens and what an AI reads through OneFeedAPI's MCP server to 36k, 92% fewer; the JSON of a direct API call is 85% fewer too (counted 2026-11-06). Every platform answers in one shape: the author in
author, counts inmetrics, the next page inpage.next_cursor, so another platform needs no new parser. - See before you pay: every endpoint's page shows a recorded real response, field by field.
- Spending you control: a failed call is not charged; each key can have a limit,
X-Max-Pricecaps one call, and the sameIdempotency-Keywithin 24 hours is never charged twice. - Ready for AI: a remote MCP server listed in the official MCP registry as
com.onefeedapi/mcp, usable from Claude, Cursor and ChatGPT. - Free trial of up to 333 calls, no card.
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.
Start with one key.
253 endpoints on 21 platforms, from $0.0003 a call. Errors and timeouts are not charged.