# I don't write code: how do I get my AI to fetch Official Account, Xiaohongshu and Douyin data? (2026)

It depends on 1 thing: whether your AI can add a tool. If it can (Claude Code, Cursor, Codex and the like), paste one sentence and it connects itself. If it only chats, have it write a short script you run. A call starts at $0.0020, and a failed call is not charged. DataXAPI reads WeChat Official Accounts with 8 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

## If your AI can add tools

Sign up, copy your key, and paste this: “Read https://dataxapi.com/agents.md and set up DataXAPI in this agent. My API key is dx_…; use it for every DataXAPI call.” Replace dx_… with your own key.

## If your AI only chats

It cannot call the data itself, but it can write the script. Paste this, with no key in it: “I want to use DataXAPI to export ____ into a table. Its instructions are at https://dataxapi.com/agents.md. You cannot call it directly, so write a short Python script for my computer. Read the key from the environment variable DATAXAPI_API_KEY, save the result as CSV, and tell me how to run it and the most it can cost.”

Do not paste your key into a chat. The script reads it from your computer.

## Things to ask for

Adding “tell me how many calls and what it costs before you start” keeps the spending in your hands.

| What you want | Say this | Each call |
| --- | --- | --- |
| An account's past articles | “Export the title, link and date of this Official Account's latest 100 articles into a table: ____” | $0.0200 |
| What competitors posted | “List what these 5 Official Accounts published this week, with reads: ____” | $0.0200 |
| What users complain about | “Read the comments on these Xiaohongshu notes and sort the complaints by how often they come up: ____” | $0.0200 |
| Whether a word is rising | “Show how this word's Douyin index moved over the last 30 days: ____” | $0.0060 |

## Why DataXAPI

- Steady: endpoints were available 99.9% of the last 30 days, on a public status page you can check.
- Fast: a paid call took 3.5 seconds at the median over the last 7 days (counted 2026-11-06).
- Fewer tokens: across 8 endpoints on WeChat Official Accounts, one recorded real response each, the platform's own JSON comes to 21k tokens and what an AI reads through DataXAPI's MCP server to 4,494, 79% fewer; the JSON of a direct API call is 70% fewer too (counted 2026-11-06). Every platform answers in one shape: the author in `author`, counts in `metrics`, the next page in `page.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-Price` caps one call, and the same `Idempotency-Key` within 24 hours is never charged twice.
- Ready for AI: a remote MCP server listed in the official MCP registry as `com.dataxapi/mcp`, usable from Claude, Cursor and ChatGPT.
- Free trial of up to 333 calls, no card.

## Endpoints

- [WeChat Official Account articles](https://dataxapi.com/apis/wechat_mp/accounts/articles/list/) ($0.0200 / a call): Get a page of the articles a WeChat Official Account published, newest first: title, digest, link, time published.
- [Xiaohongshu note comments](https://dataxapi.com/apis/xiaohongshu/notes/comments/list/) ($0.0200 / a call): Get a page of top-level comments on a Xiaohongshu note by ID or link, newest first: text, commenter, likes, reply count, time posted.
- [Douyin trend-index keyword trends](https://dataxapi.com/apis/douyin/index/keywords/history/) ($0.0060 / a call): Get the day-by-day search index and composite index of a keyword, or of one to five keywords at once, on Douyin over a date range, from 巨量算数 (the Douyin index), with the daily averages of the period, of the one before and of a year earlier. An index is the platform's score of volume, not a count of searches; days are calendar days in China time (UTC+8).

## More about WeChat Official Accounts

- [WeChat Official Accounts API](https://dataxapi.com/apis/wechat_mp/)
- [Xiaohongshu (RedNote) API](https://dataxapi.com/apis/xiaohongshu/)
- [Douyin API](https://dataxapi.com/apis/douyin/)
- [Douyin trend-index API](https://dataxapi.com/apis/douyin/index/)
- [Is there an API for WeChat Official Account articles?](https://dataxapi.com/answers/is-there-an-api-for-wechat-official-account-articles/)
- [How do I get WeChat Channels data?](https://dataxapi.com/answers/how-to-get-wechat-channels-data/)
- [What is __biz in a WeChat article link?](https://dataxapi.com/answers/wechat-official-account-biz/)
- [What do mid, idx and sn mean in a WeChat article link?](https://dataxapi.com/answers/wechat-article-link-mid-idx-sn/)
- [What is a WeChat Official Account's original ID (gh_)?](https://dataxapi.com/answers/wechat-official-account-original-id/)
- [What is a WeChat Channels account ID (…@finder), and what is an export ID?](https://dataxapi.com/answers/wechat-channels-finder-id/)
- [What WeChat data APIs are there? Official Accounts, Channels and WeChat Search (2026)](https://dataxapi.com/answers/wechat-data-apis/)
- [Which APIs get WeChat Official Account data: past articles, full text, reads, comments? (2026)](https://dataxapi.com/answers/wechat-official-account-data-apis/)
- [WeChat returns ret=200013 freq control when listing an account's articles: what now? (2026)](https://dataxapi.com/answers/wechat-ret-200013-freq-control/)
- [wechat-article-exporter has stopped: what else exports WeChat articles in bulk? (2026)](https://dataxapi.com/answers/wechat-article-exporter-alternative/)
- [How do I export a WeChat Official Account's past articles in bulk? (2026)](https://dataxapi.com/answers/export-wechat-history-articles/)
- [Is DataXAPI the same as Alibaba's DataX? (2026)](https://dataxapi.com/answers/dataxapi-is-not-datax/)
- [How do I let my AI read WeChat Official Accounts? (ChatGPT, Claude, Codex, 2026)](https://dataxapi.com/answers/let-your-ai-read-wechat/)
- [How can my AI watch competitors each week without an annual plan? (2026)](https://dataxapi.com/answers/track-competitors-with-ai-pay-per-lookup/)
- [How do I turn a WeChat Official Account into RSS? (2026)](https://dataxapi.com/answers/wechat-official-account-rss/)
- [wewe-rss has stopped working: what now? (2026)](https://dataxapi.com/answers/wewe-rss-not-working/)
- [How do I watch dozens of WeChat Official Accounts and push updates to Feishu? (2026)](https://dataxapi.com/answers/monitor-wechat-accounts-feishu/)
- [How do I export all of a WeChat Channels account's videos? (2026)](https://dataxapi.com/answers/export-wechat-channels-account-videos/)
- [How do I add WeChat Official Accounts and Xiaohongshu to TrendRadar? (2026)](https://dataxapi.com/answers/trendradar-wechat-xiaohongshu/)
- [A miner turned up in a we-mp-rss container: what now for WeChat RSS? (2026)](https://dataxapi.com/answers/we-mp-rss-mining-alternative/)
- [An Official Account's history is read: how do I then fetch only new articles each day? (2026)](https://dataxapi.com/answers/wechat-backfill-then-new-articles/)
- [What is fakeid for a WeChat Official Account? (2026)](https://dataxapi.com/answers/wechat-fakeid/)
- [How do I collect WeChat Official Account articles in n8n? (2026)](https://dataxapi.com/answers/wechat-official-account-n8n/)
- [How do I sync WeChat Official Account article data to a Feishu Base? (2026)](https://dataxapi.com/answers/wechat-official-account-feishu-base/)
- [How do I connect WeChat Official Account data to Coze (扣子)? (2026)](https://dataxapi.com/answers/wechat-official-account-coze/)
- [How do I find an industry's hit articles on WeChat Official Accounts? (2026)](https://dataxapi.com/answers/wechat-official-account-hit-articles-by-industry/)
- [How do I send WeChat Official Account articles to an ima knowledge base automatically? (2026)](https://dataxapi.com/answers/wechat-articles-to-ima-knowledge-base/)
- [How do I save WeChat Official Account articles to Obsidian automatically? (2026)](https://dataxapi.com/answers/wechat-articles-to-obsidian/)
- [How do I export WeChat Channels data? (2026)](https://dataxapi.com/answers/export-wechat-channels-data/)
- [Can WeChat Channels comments be exported? (2026)](https://dataxapi.com/answers/export-wechat-channels-comments/)
- [How do I check keyword trends in the WeChat Index, in bulk? (2026)](https://dataxapi.com/answers/wechat-index-keyword-trends/)
- [How do I connect WeChat Official Account data to Dify? (MCP, 2026)](https://dataxapi.com/answers/wechat-official-account-dify/)
- [How do I get an AI to write WeChat articles into Feishu Base with Skills and the Feishu CLI? (2026)](https://dataxapi.com/answers/skill-feishu-cli-write-base/)
- [WeChat MCP server: Official Accounts and Channels in Claude and Cursor (2026)](https://dataxapi.com/answers/wechat-mcp/)
- [WeChat Search autocomplete suggestions API: getting them in bulk (2026)](https://dataxapi.com/answers/wechat-search-suggestions-api/)
- [WeChat Official Account API for AI agents and LLMs: fewer tokens, called from Claude and Cursor (2026)](https://dataxapi.com/answers/wechat-official-account-api-for-ai-agents/)
- [WeChat Channels API for AI agents and LLMs: fewer tokens, called from Claude and Cursor (2026)](https://dataxapi.com/answers/wechat-channels-api-for-ai-agents/)
- [How to list a WeChat Official Account's past articles](https://dataxapi.com/guides/wechat-official-account-articles/)
- [How to get WeChat Official Account article reads and likes](https://dataxapi.com/guides/wechat-article-reads-and-likes/)
- [How to get WeChat Channels video comments](https://dataxapi.com/guides/wechat-channels-video-comments/)
- [How to list a WeChat Channels account's videos](https://dataxapi.com/guides/wechat-channels-user-videos/)
- [How to get WeChat Search results by keyword](https://dataxapi.com/guides/wechat-search-posts/)
- [WeChat Official Account articles API in Python: history and reads (third-party, 2026)](https://dataxapi.com/guides/wechat-official-account-api-python/)
- [WeChat Channels API in Python: account videos and comments (2026)](https://dataxapi.com/guides/wechat-channels-api-python/)
- [WeChat Official Account data APIs: how to choose (2026)](https://dataxapi.com/compare/wechat-official-account-data-apis/)
- [RedFox alternative for Chinese social media data](https://dataxapi.com/compare/redfox-alternative/)

---

Catalog revision 3efbf7080dda485f. [HTML version](https://dataxapi.com/answers/get-social-data-with-ai-no-code/)
