Answers / Xiaohongshu (RedNote)
Which MCP server can search Xiaohongshu and Douyin?
PostToData connects a supported MCP client to public Xiaohongshu (RedNote) and Douyin content through one endpoint, https://posttodata.com/mcp. Call search_posts with each platform separately. Searches currently cost $0.03 on Xiaohongshu and $0.03 on Douyin, or $0.060 for the pair; other actions have different prices.
Xiaohongshu (RedNote) · search posts · $0.03 a call · one verified website trial · updated 2026-11-13
Connect and check access for free
- In a supported Claude or ChatGPT client, add https://posttodata.com/mcp as a custom connector. Sign in with Google and approve the PostToData consent screen. Availability depends on the client, plan and workspace permissions.
- For Claude Code, Codex, Cursor or a custom application, follow the integration guide and supply your own API key through local configuration or an environment variable. Never paste it into a public prompt, repository or screenshot.
- Ask the connected client to call list_platforms and get_account. These checks are free. Confirm the account balance and the supported actions before requesting data.
- Review /prices.json or a REST request with dry_run=1 before executing a paid workflow. Each additional page, comment lookup or profile lookup is another call.
Run a bounded, two-platform search
One successful xiaohongshu search costs $0.03 and one successful douyin search costs $0.03: $0.060 for this two-call workflow. Follow-up calls cost extra.
Ask: Use PostToData to search xiaohongshu and douyin for “露营咖啡”, with limit 5 per platform. Make only those two search calls. Summarize recurring themes and link each claim to its original source. Ask me before fetching more pages, comments or profiles.
- After checking the price, the MCP client calls search_posts with platform="xiaohongshu", query="露营咖啡", limit=5, then the same tool with platform="douyin".
- Keep the returned source URLs with the summary. Label the collection date and treat the results as a sample, not a representative ranking of the whole platform.
- For REST, remove dry_run=1 and send Authorization: Bearer YOUR_API_KEY. Review meta.billing after each call. Do not turn on an unbounded polling loop.
curl "https://posttodata.com/v1/xiaohongshu/search?query=%E9%9C%B2%E8%90%A5%E5%92%96%E5%95%A1&limit=5&dry_run=1"
curl "https://posttodata.com/v1/douyin/search?query=%E9%9C%B2%E8%90%A5%E5%92%96%E5%95%A1&limit=5&dry_run=1"Two platforms, different actions and fields
Xiaohongshu (RedNote) search is $0.03; note detail is $0.06. Douyin search is $0.03; video detail is $0.003. Check prices by action rather than reusing the platform's lowest price.
Keep the original source link, including any platform-required link parameters. Deleted or private content may be unavailable. Pass the returned next cursor only after deciding whether another paid page is needed.
Recorded camping-coffee example
The existing recorded search returned 10 RedNote notes and 7 Douyin captions. The summaries below are English descriptions of Chinese-language source material, not verbatim quotes. They are a dated sample, not live metrics or a market ranking.
Recorded 2026-11-12
Practical gear: coffee without electricity or fire
Original sourceRecorded 2026-11-12
Scenery and a quiet ritual lead this Douyin example
Original source
Limits and failures
This is read-only access to publicly visible content. Supported actions and available fields differ by platform; inspect meta.unavailable instead of assuming every metric exists. Source URLs are included when the upstream platform provides them.
Video transcripts retrieve available caption tracks. They are not speech recognition for arbitrary videos without captions. Search results and captions do not establish what appears in the video footage.
A 402 insufficient_balance response means this call was not charged: check get_account and add credit if needed. Verification or trial limits are not reset by signing in or creating another account. Upstream errors and timeouts are not charged; do not retry indefinitely.
Eligible new accounts receive $0.05 once, limited to one grant per network. Shared networks may already have claimed it. There is no recurring free credit.
Run it live
Calls run only when you press Run. Opening this page does not spend credit.
Loading…
Your results will appear here. Choose a platform and action, then press Run.
Real API calls require verification for one trial, or a signed-in account with prepaid credit.
From code
curl "https://posttodata.com/v1/xiaohongshu/search?query=%E9%9C%B2%E8%90%A5%E5%92%96%E5%95%A1&limit=5" -H "Authorization: Bearer YOUR_API_KEY"import requests
r = requests.get(
"https://posttodata.com/v1/xiaohongshu/search",
headers={"Authorization": "Bearer YOUR_API_KEY"},
params={"query": "露营咖啡", "limit": 5},
)
for item in r.json()["data"]["items"]:
print(item["url"], item.get("text") or item.get("title"))From your AI
Claude and ChatGPT clients that support OAuth can sign in without pasting a key. Follow the client setup guide. The command below is the API-key option for Claude Code.
claude mcp add --transport http posttodata https://posttodata.com/mcp --header "Authorization: Bearer YOUR_API_KEY"Then ask
“Search Xiaohongshu and Douyin for camping coffee with five results on each. Summarize in English with original source links. Ask before extra calls.”
The model calls search_posts with platform xiaohongshu.
Good to know
- Xiaohongshu and RedNote refer to the same platform.
- Captions and post text do not describe every visual detail of a video.
- Eligible new accounts receive $0.05 once, limited to one grant per network. Shared networks may already have claimed it. There is no recurring free credit.
Full reference in the docs. All Xiaohongshu (RedNote) endpoints are on the Xiaohongshu (RedNote) API page.
More answers