How do I connect WeChat Official Account data to Dify? (MCP, 2026)

2 ways: add https://api.dataxapi.com/mcp under Integrations, Tools, MCP in Dify with your key in a header, so an Agent can read accounts, or call the article list from a workflow's HTTP Request node at $0.0200 an account. Finding an account, listing its articles and reading 3 of them comes to $0.10, and the model is paid for apart. DataXAPI reads WeChat Official Accounts with 8 endpoints, from $0.0200 a call; a failed call is not charged.

Open in ChatGPTOpen in Claude

Updated 2026-11-04

With an Agent: MCP

1. Go to Integrations, Tools, MCP and add an MCP server. Dify takes servers with HTTP transport, which this is. URL is https://api.dataxapi.com/mcp, Name is DataXAPI, Server Identifier is dataxapi. Under Advanced Options, Custom Headers, set Authorization to Bearer and your key.

2. Make an Agent app, or an Agent node in a workflow, and pick the DataXAPI tools. Then ask: “Use DataXAPI to find this Official Account, list its latest articles and summarise 3 of them.”

Keep the identifier once it is set: Dify's apps refer to the server by it, and changing it stops the tools in those apps. Custom headers came in Dify 1.9.0, so a self-hosted Dify older than that lacks this field. Whoever in the workspace uses this server spends this key, so give it a daily limit.

In a fixed workflow: HTTP Request node

1. Add an HTTP Request node: GET https://api.dataxapi.com/v1/wechat_mp/accounts/articles/list, with the parameter id set to the account's original ID. For authorization choose API Key, then Bearer, and enter your key.

2. The articles are in data.items of the response body, each with id, title, url and published_at. Compare id with what you stored to keep the new ones.

3. For the full text, another node: GET https://api.dataxapi.com/v1/wechat_mp/articles/get with url set to the article's link, at $0.0200 an article. Only know an account's name? wechat.accounts.search finds the original ID, once.

What it comes to

That question is one wechat.accounts.search at $0.0200, one wechat_mp.accounts.articles.list at $0.0200 and three wechat_mp.articles.get at $0.0200, $0.10. 100 such questions are $10. In the fixed workflow, 5 accounts once a day are 150 calls a month, $3. 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 2026-11-04; its screens may differ in your version.

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. Prices and features change: check the source before you decide.

More about WeChat Official Accounts
WeChat Search APIWeChat Official Accounts APIIs there an API for WeChat Official Account articles?How do I get WeChat Channels data?What is __biz in a WeChat article link?What do mid, idx and sn mean in a WeChat article link?What is a WeChat Official Account's original ID (gh_)?What is a WeChat Channels account ID (…@finder), and what is an export ID?What WeChat data APIs are there? Official Accounts, Channels and WeChat Search (2026)Which APIs get WeChat Official Account data: past articles, full text, reads, comments? (2026)WeChat returns ret=200013 freq control when listing an account's articles: what now? (2026)wechat-article-exporter has stopped: what else exports WeChat articles in bulk? (2026)How do I export a WeChat Official Account's past articles in bulk? (2026)Is DataXAPI the same as Alibaba's DataX?How do I let my AI read WeChat Official Accounts? (ChatGPT, Claude, Codex, 2026)How can my AI watch competitors each week without an annual plan?How do I turn a WeChat Official Account into RSS? (2026)wewe-rss has stopped working: what now? (2026)How do I watch dozens of WeChat Official Accounts and push updates to Feishu? (2026)How do I export all of a WeChat Channels account's videos? (2026)How do I add WeChat Official Accounts and Xiaohongshu to TrendRadar? (2026)What is fakeid for a WeChat Official Account? (2026)How do I collect WeChat Official Account articles in n8n? (2026)How do I sync WeChat Official Account article data to a Feishu Base? (2026)How do I connect WeChat Official Account data to Coze (扣子)? (2026)How do I find an industry's hit articles on WeChat Official Accounts? (2026)How do I send WeChat Official Account articles to an ima knowledge base automatically? (2026)How do I save WeChat Official Account articles to Obsidian automatically? (2026)How do I export WeChat Channels data? (2026)Can WeChat Channels comments be exported? (2026)How do I check keyword trends in the WeChat Index, in bulk? (2026)How do I get an AI to write WeChat articles into Feishu Base with Skills and the Feishu CLI? (2026)How to get WeChat Official Account article reads and likesHow to get WeChat Channels video commentsHow to list a WeChat Channels account's videosHow to get WeChat Search results by keyword