ChatGPT · MCP · OpenAPI
Let ChatGPT read Douyin, Xiaohongshu and TikTok
ChatGPT's browsing usually cannot open platforms that need a login or signed requests, such as Douyin or Xiaohongshu notes and comments. Add https://xtikapi.com/v1/mcp as a custom MCP server in ChatGPT, sign in here and click Allow, and ChatGPT finds the endpoint and fetches the data itself, with no key to copy. To build a GPT you share with others, use the second way: a custom GPT Action.
Get an API keyOption 1: Add the MCP server (sign in)
Easiest for yourself: one address for every platform, no key to handle.
- In ChatGPT on the web, open chatgpt.com/plugins, click the plus button and choose Add custom MCP server.
- Give it a name, Server URL https://xtikapi.com/v1/mcp, authentication OAuth.
- Accept the risk notice, create it, then install it. ChatGPT opens this site: sign in (or sign up, with trial credit) and click Allow.
- Type @ in the prompt box, pick the plugin and ask: "What do people complain about in recent Xiaohongshu notes on camping coffee?" ChatGPT asks you to confirm each paid call.
Server URL: https://xtikapi.com/v1/mcp
Authentication: OAuthOption 2: Custom GPT + Action
For a GPT you share with others. A GPT can hold several Actions, one per platform.
- In the GPT editor, under Configure, choose Create new action.
- Import from URL: https://xtikapi.com/openapi/xiaohongshu.json (an Action allows at most 30 operations, hence one file per platform).
- Authentication: API Key, Auth Type: Bearer, and paste a key with a spend limit.
- In the preview, ask: "Find recent Xiaohongshu notes about camping coffee and summarise the complaints." ChatGPT asks you to allow the first call.
https://xtikapi.com/openapi/xiaohongshu.json
https://xtikapi.com/openapi/douyin.json
https://xtikapi.com/openapi/tiktok.jsonWhat people build with it
Xiaohongshu product research
Ask about a product: the GPT runs one search and reads comments on 5 notes.
Endpoints: Xiaohongshu note search API ($0.02), Xiaohongshu comments API ($0.02)
Cost: About 6 calls, $0.12.
TikTok creator shortlist
"Find 10 TikTok creators who post about camping, sorted by followers." The GPT searches accounts, then reads each profile.
Endpoints: TikTok account search API ($0.002), TikTok account details API ($0.002)
Cost: About 11 calls, $0.022.
Platforms it can read
- Douyin34 endpoints
- Xiaohongshu16 endpoints
- TikTok24 endpoints
- Kuaishou9 endpoints
- Bilibili10 endpoints
- Weibo12 endpoints
- Zhihu16 endpoints
- WeChat Official Accounts7 endpoints
- WeChat Channels10 endpoints
- YouTube12 endpoints
- Instagram9 endpoints
- X16 endpoints
- Reddit11 endpoints
- Threads5 endpoints
- Xingtu14 endpoints
- Pugongying15 endpoints
- WeChat Search1 endpoint
- Telegram5 endpoints
- LinkedIn3 endpoints
Questions
After I click Allow, what can ChatGPT do with my account?
Look up and call endpoints, paid from your balance; nothing else. It cannot see your password, change your account or top up. Allowing creates a key just for this connection, listed under API keys, where you can set a spend limit or delete it to disconnect.
If I share my GPT, whose balance pays?
Yours. The Action carries your key, so every call anyone makes through the GPT draws on your balance. Set a spend limit on that key before sharing, or keep the GPT private.
Import fails on an invalid operationId?
Our files use only letters, digits and underscores in operationId (e.g. xiaohongshu_notes_search), which GPT Actions accept. If you saved an older copy, import again from the URL.
What does it cost in ChatGPT?
ChatGPT bills you as usual; XTikAPI charges per call, from $0.002 depending on the endpoint. You pay only when the platform answers; errors and timeouts are free. New accounts get $0.50 of trial credit with no card.
Do I need a Douyin or Xiaohongshu account?
No. No platform login, cookie or QR scan, only an XTikAPI API key. It reads public data, so none of your own accounts can be banned for automation.
Can a runaway workflow drain my balance?
Give this tool its own key with a spend limit in the console; at the limit that key stops and your other keys keep working. The balance is prepaid, so it stops at zero and never runs into debt.
Which platforms can it read?
19 platforms and 229 endpoints: Douyin, Xiaohongshu, TikTok, Kuaishou, Bilibili, Weibo, WeChat, Zhihu, YouTube, Instagram, X, Reddit and more. Posts, comments, accounts and trends come back in one shape, so switching platforms does not break the steps after it.
More about ChatGPT
Sources
The steps follow ChatGPT's own docs: