Connect n8n to TikTok, Reddit and Xiaohongshu data
Do this step on a computer. On a phone you can run the tools right on the site.
n8n can read publicly visible posts, comments and profiles on 18 platforms, including TikTok, Reddit and Xiaohongshu through SocialToAI's hosted MCP server: add one address and an API key that n8n sends in a header. Calls cost from 1 credit (≈ $0.002–$0.0033); failed calls are free.
Set up n8n
n8n sends a SocialToAI API key in a header. The key stays where the steps below put it, never in an address or a chat.
- Create a key in the console.
- Add an MCP Client Tool node to an AI Agent and fill in these values.
- Store your key in the Bearer Auth credential, not in the node, then run the workflow.
| MCP Client Tool node | Value |
|---|---|
| Endpoint | https://socialtoai.app/mcp |
| Server transport | HTTP Streamable |
| Authentication | Bearer Auth |
| Bearer token | <YOUR_API_KEY> |
Check that it works
Ask n8n: “Which SocialToAI tools can you use?” It lists 18 tools; finding and listing them is free. Then ask in plain words: you do not name tools or parameters, the client picks them.
What to ask
A first question on each platform, and the call it makes. The credits are per call; your AI may make a few calls for one answer.
| Platform | Ask | Credits |
|---|---|---|
| TikTok | Search TikTok for videos about "space station". | 2 |
| Search Reddit for posts about "saturn rings". | 2 | |
| X (Twitter) | Search X for posts about "weather forecast". | 2 |
| YouTube | Search YouTube for videos about "meteor shower". | 2 |
| Xiaohongshu (RedNote) | Search Xiaohongshu for notes about "咖啡". | 12 |
| Douyin | Search Douyin for videos about "露营". | 12 |
| Find Instagram accounts about "nike". | 3 | |
| Search LinkedIn for posts about "ai agents". | 2 |
What it costs
Calls cost from 1 credit (≈ $0.002–$0.0033), and every answer states what it charged and the balance left. Failed calls are free; a search that runs and finds nothing is charged as a call. 100 free credits on sign-up, no card; credits never expire and there is no subscription. See pricing.
Questions
Do I need accounts on the platforms?
No. SocialToAI reads what is publicly visible on each platform; you never sign in to them or give a cookie.
Where does the key go?
Where the steps above say (MCP Client Tool node). Create it in the console; it is shown once. It never goes into an address.
Which platforms can it read?
18 platforms: all platforms and what each call costs.
Last updated: