WeChat Official Accounts Article details API
Read the full text of one Official Account article from its link url: content_text is plain text and content_html keeps the layout. You also get title, author, account_name, digest, images and posted_at, for $5.56 per 1,000 calls.
- The article text comes back in full, with no paging.
- Image addresses from the text are listed in
images. - Failed calls and empty results are not charged.
May be temporarily unavailable at peak times
This capability may be temporarily unavailable at peak times; try again later. Failed calls are not charged.
API health
- 24h health
- 99%
- 24h average time
- 2.23 s
- Healthy / normal
- Available
Last 24 hours
Last 30 days
1Request
POST /api/v1/social { "platform": "wechat_oa", "action": "article_detail", "params": { "url": "https://mp.weixin.qq.com/s?__biz=MzA4MTg0MjA5OQ==&mid=2655362972&idx=1&sn=b56fabd8e4c53259498100f05f20dbb0" } }2JSON response
{ "results": { "author": "不•••的", "title": "恭喜那些不刮腋毛的人", "content_text": "说个恐怖故事,夏天来了,各种熏臭开始弥散,其中最令人窒息的大概就是——\n狐臭\n图片来源:🍠\n没有人希望自己有狐臭。在《狐臭问题》上,从来只关乎谁更能「忍受」它,而非谁更想「得到」它。\n但!偏偏一些时候,你冷不防就会被它攻击,更令人虎躯一震的是……它似乎恰恰来自于咱自己?!\n这下真的慌了……\n闻到后第一阶段:你迅速夹紧了两个「鸡翅膀」,胳膊死死藏好腋窝,不敢大幅抬手,生怕熏到旁人。下一秒若无其事地扫视四周,小松一口气:还好还好,没有谁面露不快。\n然后悄咪咪躲进厕所,以一种极为扭曲的姿势,头钻腋下使劲嗅闻胳肢窝,却 yue~地一声臭吐了自己。\n苍天呐!😵💫…", "content_html": "<section style=\"box-sizing: border-box;font-style: normal;font-weight: 400;text-align: justify;font-size: 16px;color: rgb(62, 62, 62);\" data-pm-slice=\"0 0 []\"><section style=\"text-align: center;margin: 15px 0%;line-height: 0;box-sizing: border-box;\"><section style=\"max-width: 100…", … } }3Fields
author title content_text content_html 不•••的 恭喜那些不刮腋毛的人 说个恐怖故事,夏天来了,各种熏臭开始弥散,其中最令人窒息的大概就是—— 狐臭 图片来源:🍠 没有人希望自己有狐臭。在《狐臭问题》上,从来只关乎谁更能「忍受」它,而非谁更想「得到」它。 但!偏偏一些时候,你冷不防就会被它攻击,更令人虎躯一震的是……它似乎恰恰来自于咱自己?! 这下真的慌了…… 闻到后第一阶段:你迅速夹紧了两个「鸡翅膀」,胳膊死死藏好腋窝,不敢大幅抬手,生怕熏到旁人。下一秒若无其事地扫视四周,小松一口气:还好还好,没有谁面露不快。 然后悄咪咪躲进厕所,以一种极为扭曲的姿势,头钻腋下使劲嗅闻胳肢窝,却 yue~地一声臭吐了自己。 苍天呐!😵💫… <section style="box-sizing: border-box;font-style: normal;font-weight: 400;text-align: justify;font-size: 16px;color: rgb(62, 62, 62);" data-pm-slice="0 0 []"><section style="text-align: center;margin: 15px 0%;line-height: 0;box-sizing: border-box;"><section style="max-width: 100… 4CSV
wechat_oa-article_detail-sample.csv id,title,url,content_text,content_html,author,account_name,account_ghid,digest,cover_image_url,images,hashtags,is_original,posted_at,ip_region,platform
url goes in, and one JSON object comes back; content_text and content_html are among its fields, listed as a field table and a CSV file.What data you get
The table shows a real call for mp.weixin.qq.com/s?__biz=MzA4MTg0MjA5OQ==&mid=2655362972&idx=1&sn=b56fabd8e4c53259498100f05f20dbb0, captured November 7, 2026 at 14:47 (UTC), that returned one object; gray bars mark removed personal information (••• in the CSV). Your own calls return these fields as listed in the field reference.
| id | title | url | content_text | content_html | author | account_name | account_ghid | digest | cover_image_url | images | hashtags | is_original | posted_at | ip_region | platform |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 恭喜那些不刮腋毛的人 | https://mp.weixin.qq.com/s?__biz=MzA4MTg0MjA5OQ==&mid=2655362972&idx=1&sn=b56fabd8e4c53259498100f05f20dbb0&chksm=85ad05a56ef4e900b9f46195267e0c42f6b5e5b23dfb7987dbcb52ee20884d8a210841e5fccb | 说个恐怖故事,夏天来了,各种熏臭开始弥散,其中最令人窒息的大概就是—— 狐臭 图片来源:🍠 没有人希望自己有狐臭。在《狐臭问题》上,从来只关乎谁更能「忍受」它,而非谁更想「得到」它。 但!偏偏一些时候,你冷不防就会被它攻击,更令人虎躯一震的是……它似乎恰恰来自于咱自己?! 这下真的慌了…… 闻到后第一阶段:你迅速夹紧了两个「鸡翅膀」,胳膊死死藏好腋窝,不敢大幅抬手,生怕熏到旁人。下一秒若无其事地扫视四周,小松一口气:还好还好,没有谁面露不快。 然后悄咪咪躲进厕所,以一种极为扭曲的姿势,头钻腋下使劲嗅闻胳肢窝,却 yue~地一声臭吐了自己。 苍天呐!😵💫… | <section style="box-sizing: border-box;font-style: normal;font-weight: 400;text-align: justify;font-size: 16px;color: rgb(62, 62, 62);" data-pm-slice="0 0 []"><section style="text-align: center;margin: 15px 0%;line-height: 0;box-sizing: border-box;"><section style="max-width: 100… | 不•••的 | 丁香生活研究 | gh_038cf5c345ed | 腋! | https://mmbiz.qpic.cn/sz_mmbiz_jpg/RB4K8vYw4Eql4qg1eLjzSUicX2QZXAGic4sBh2whicr3LA5P1pPtMCcmtSyBaB3XMzlRtLbyWkXX1UNOibfdqtgYQUjR7Bhiancuuib9T8ao9gBdA/0?wx_fmt=jpeg | ["https://mmbiz.qpic.cn/sz_mmbiz_gif/RB4K8vYw4EprRBWc0s3B2iajqUyCnedg4bNdetQDNUbLlDWLeOshOQcMuGZlX5C3wJXwvG0USvIUMfvzFY4yyiaHe2U3wndhy7VujhUuGfgJ8/640?wx_fmt=gif&from=appmsg","https://mmbiz.qpic.cn/mmbiz_png/RB4K8vYw4Eojoxm87qiaGyP37MLExveN5CChLaegr7RwhHqEccZsoIdPpEz35RI51v8GC4WorwepFbeYTZhOWcicdanBIHLkFHb1WtxOXbBhw/640?wx_fmt=png&from=appmsg","https://mmbiz.qpic.cn/sz_mmbiz_jpg/RB4K8vYw4Eomv5NwicCA6htyhZ0I6uHEn8JoIjiaUs47SKuRQaiaqDOT9ypxCp0BG9AzeCpiayqar6YQPuUvcdmJo4LFFXdW1GbsBbc7Ln6zLYw/640?wx_fmt=jpeg&from=appmsg"] | null | false | 2026-07-31T03:55:58+00:00 | 浙江 | wechat_oa |
Use cases
Archive an article in full
Read
content_textfor the text andimagesfor the image addresses in it, and noteposted_at.Feed a text analysis
content_textis plain text without HTML tags, so you can tokenize, summarize or classify it directly.hashtagslists the article's topic tags.Keep the original layout
content_htmlis the original HTML with layout and image references, ready to move into your own content library.Check the byline and location
Compare
author,account_name,is_originalandip_regionto see whose name is on the article, whether it claims original authorship and which location showed when it was posted.
WeChat Official Account interface for a published article vs EveryInfra
How the "get a published article" interface in WeChat Open Documentation and EveryInfra article_detail compare on what you pass in, the article content and who can call:
| Compared | WeChat Official Account interface for a published article | EveryInfra |
|---|---|---|
| What you pass in | The request address carries access_token, and the request body parameter article_id is the article ID of the draft to get. | url takes the article's own link on mp.weixin.qq.com. You need no article_id and no Official Account access_token. |
| Article content | It returns title (the title), author (the author) and content, the full content of the article, with HTML tags supported. | content_html is the original HTML and content_text is plain text. You also get title, author and account_name. |
| Who can call | In the scope table, an Official Account is marked as verified accounts only and a service account has a check mark. The page adds that from July 2025, call permission is withdrawn from personal accounts, unverified enterprise accounts and accounts that cannot be verified. | The article that url points to does not have to be one you operate. |
WeChat Open Documentation is in Chinese. The table shows a translation of the page for published article information, checked on 2026-11-22; the update date of the page is in the sources. The official interface reads a published article by article_id, not by article link. Official sources: Get a published article (updated 2026-11-11)
Limits and gotchas
urlis required. Use the article's own link on mp.weixin.qq.com: the/s/<id>short link you copy after opening the article, or a link with__biz,mid,idxandsn.- A temporary link copied from search results (with
signatureandtimestamp) may not be readable. When it cannot be read, the call returns 422 before any charge. content_htmlandcontent_texthold the same content. One keeps the layout and image references and the other is plain text, so pick one.authormay be a personal pen name and not the account name. The account name is inaccount_name.digestis the summary typed in the Official Account backend, not a cut from the article text.ip_regionis the IP location shown when the article was posted, a province or a country.
Pricing
You pay $0.005556 per call, not per row. Failed calls and empty results are not charged.
| Calls | Cost |
|---|---|
| 10,000 | $55.56 |
| 100,000 | $555.56 |
| 1,000,000 | $5,555.56 |
Totals use the list price per call.
Code samples
#curl -X POST 'https://api.everyinfra.com/api/v1/social' \
-H "Authorization: Bearer $EVERYINFRA_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"platform": "wechat_oa",
"action": "article_detail",
"params": {
"url": "https://mp.weixin.qq.com/s?__biz=MzA4MTg0MjA5OQ==&mid=2655362972&idx=1&sn=b56fabd8e4c53259498100f05f20dbb0"
}
}'OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.
API reference
See the parameters, response fields, errors and billing for article_detail, and copy the page or open it as Markdown for an AI assistant.
AI prompt
#Please help me write a data collection script with the EveryInfra WeChat Official Accounts Article details endpoint (wechat_oa/article_detail).
How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to wechat_oa and action to article_detail, and put the parameters inside params.
- Required parameters:
- url: Specifies the article's own mp.weixin.qq.com link for article_comments, comment_replies, article_metrics, and article_detail: open the article and copy it (a /s/<id> short link, or a link with __biz, mid, idx, and sn).
- Returns one object. Main fields: id (The record's unique ID on WeChat), title, url, content_text (Full article body as plain text (no HTM…), content_html (Full article body as original HTML, pre…), author (Article byline (often a personal pen na…), account_name (Name of the Official Account that publi…), account_ghid (The account's raw ID, unique within WeC…), digest (Article digest as filled in the account…), cover_image_url (Cover image URL of the article), images (Image URL list from the article body), hashtags (Article hashtag list); 15 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=wechat_oa.
- Example request body:
{
"platform": "wechat_oa",
"action": "article_detail",
"params": {
"url": "https://mp.weixin.qq.com/s?__biz=MzA4MTg0MjA5OQ==&mid=2655362972&idx=1&sn=b56fabd8e4c53259498100f05f20dbb0"
}
}
- Price: $5.56 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.
Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.Request parameters
#| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Authorization | header | string | Yes | - | Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository. |
platform | body | string | Yes | wechat_oa | Platform identifier, fixed value. |
action | body | string | Yes | article_detail | Capability identifier, fixed value. |
url | body.params | string | Yes | - | Specifies the article's own mp.weixin.qq.com link for article_comments, comment_replies, article_metrics, and article_detail: open the article and copy it (a /s/<id> short link, or a link with __biz, mid, idx, and sn). Temporary links copied from search results (with signature/timestamp) may not be readable; when they cannot be read, the call returns 422 before any charge. Account-level actions accept this parameter only as a lowest-priority fallback input for resolving the target account. |
Response example
#{ "id": "req_…", "platform": "wechat_oa", "action": "article_detail", "results": { "id": "•••", "title": "恭喜那些不刮腋毛的人", "url": "https://mp.weixin.qq.com/s?__biz=MzA4MTg0MjA5OQ==&mid=2655362972&idx=1&sn=b56fabd8e4c53259498100f05f20dbb0&chksm=85ad05a56ef4e900b9f46195267e0c42f6b5e5b23dfb7987dbcb52ee20884d8a210841e5fccb", "content_text": "说个恐怖故事,夏天来了,各种熏臭开始弥散,其中最令人窒息的大概就是——\n狐臭\n图片来源:🍠\n没有人希望自己有狐臭。在《狐臭问题》上,从来只关乎谁更能「忍受」它,而非谁更想「得到」它。\n但!偏偏一些时候,你冷不防就会被它攻击,更令人虎躯一震的是……它似乎恰恰来自于咱自己?!\n这下真的慌了……\n闻到后第一阶段:你迅速夹紧了两个「鸡翅膀」,胳膊死死藏好腋窝,不敢大幅抬手,生怕熏到旁人。下一秒若无其事地扫视四周,小松一口气:还好还好,没有谁面露不快。\n然后悄咪咪躲进厕所,以一种极为扭曲的姿势,头钻腋下使劲嗅闻胳肢窝,却 yue~地一声臭吐了自己。\n苍天呐!😵💫…", "content_html": "<section style=\"box-sizing: border-box;font-style: normal;font-weight: 400;text-align: justify;font-size: 16px;color: rgb(62, 62, 62);\" data-pm-slice=\"0 0 []\"><section style=\"text-align: center;margin: 15px 0%;line-height: 0;box-sizing: border-box;\"><section style=\"max-width: 100…", "author": "不•••的", "account_name": "丁香生活研究", "account_ghid": "gh_038cf5c345ed", "digest": "腋!", "cover_image_url": "https://mmbiz.qpic.cn/sz_mmbiz_jpg/RB4K8vYw4Eql4qg1eLjzSUicX2QZXAGic4sBh2whicr3LA5P1pPtMCcmtSyBaB3XMzlRtLbyWkXX1UNOibfdqtgYQUjR7Bhiancuuib9T8ao9gBdA/0?wx_fmt=jpeg", "images": [ "https://mmbiz.qpic.cn/sz_mmbiz_gif/RB4K8vYw4EprRBWc0s3B2iajqUyCnedg4bNdetQDNUbLlDWLeOshOQcMuGZlX5C3wJXwvG0USvIUMfvzFY4yyiaHe2U3wndhy7VujhUuGfgJ8/640?wx_fmt=gif&from=appmsg", "https://mmbiz.qpic.cn/mmbiz_png/RB4K8vYw4Eojoxm87qiaGyP37MLExveN5CChLaegr7RwhHqEccZsoIdPpEz35RI51v8GC4WorwepFbeYTZhOWcicdanBIHLkFHb1WtxOXbBhw/640?wx_fmt=png&from=appmsg", "https://mmbiz.qpic.cn/sz_mmbiz_jpg/RB4K8vYw4Eomv5NwicCA6htyhZ0I6uHEn8JoIjiaUs47SKuRQaiaqDOT9ypxCp0BG9AzeCpiayqar6YQPuUvcdmJo4LFFXdW1GbsBbc7Ln6zLYw/640?wx_fmt=jpeg&from=appmsg" ], "is_original": false, "posted_at": "2026-07-31T03:55:58+00:00", "ip_region": "浙江", "platform": "wechat_oa" }, "billing": { "charged": …, "charged_usd": …, "balance_after_usd": …, … }, "quota": { … }}
Response fields
#Business data is in results. The table lists the fields a record can contain. Values the platform does not show are never made up.
| Field | Meaning |
|---|---|
id | The record's unique ID on WeChat. Unique within WeChat only; may repeat across platforms. article_search results do not include id on most requests; identify an article by url. |
title | Title. null when the platform has no titles (for example text-only posts). |
url | Link to the record on the platform. |
content_text | Full article body as plain text (no HTML tags). Delivered whole, not paginated. |
content_html | Full article body as original HTML, preserving layout and image references. Same source as content_text; pick one per your needs. |
author | Article byline (often a personal pen name, not necessarily the account name). |
account_name | Name of the Official Account that published the article. |
account_ghid | The account's raw ID, unique within WeChat. Most start with gh_, but not all, so don't validate by prefix. |
digest | Article digest as filled in the account backend, not an excerpt of the body. |
cover_image_url | Cover image URL of the article. |
images | Image URL list from the article body. |
hashtags | Article hashtag list. |
is_original | Whether the article carries an original-content declaration. |
posted_at | Publish time in ISO 8601, UTC (for example 2026-08-07T12:34:56+00:00). Non-standard strings from the platform are passed through as is, so parse defensively. null means the platform does not disclose it. |
ip_region | IP region shown at publish time (province/country). |
platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
Errors and billing
#- 401
- Missing or invalid key.
- 402
- Insufficient balance. Top up first.
- 422
- Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
- 429
- Per-minute request limit reached. Wait for Retry-After, then try again.
- 503
- Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
- 200 empty
- No data. No charge.
FAQ
Which fields does the article text capability return?
id, title, url, content_text, content_html, author, account_name, account_ghid, digest, cover_image_url, images, hashtags, is_original, posted_at and ip_region.
Should I use content_text or content_html?
They hold the same content. For text analysis, use content_text, which has no tags. To keep layout and image references, use content_html.
How do I read the comments and read count of this article?
Pass the same article link url: send it to article_comments for the comments and to article_metrics for the read, like and Looking counts.
How much does one article cost?
It costs $0.005556 per call, or $5.56 per 1,000 calls, and one call reads one article. Failed calls and empty results are not charged.
Related WeChat Official Accounts endpoints
You can call the other WeChat Official Accounts endpoints with the same EveryInfra API key.
- Article search
article_search$8 per 1,000 callsSearch WeChat Official Account articles by keyword through an English-documented API, up to 400 articles per call. - Account search
account_search$16 per 1,000 callsLook up WeChat Official Accounts by keyword, up to 20 per call; there is no next page. - Mini Program search
mini_program_search$5.56 per 1,000 callsDiscover WeChat Mini Programs for a keyword, with name, icon, description, username and whether each one is a mini game. - Search suggestions
search_suggestions$5.56 per 1,000 callsGet the autocomplete suggestions WeChat offers for a keyword, along with the number of terms returned. - Account details
account_profile$8 per 1,000 callsGet a WeChat Official Account profile as JSON. - Account owner
account_principal$5.56 per 1,000 callsRead the registered owner behind a WeChat Official Account. - Account articles
account_articles$8 per 1,000 callsPull the article history of one WeChat Official Account, up to 30 per page; page withpage_token. - Today's account articles
account_today_articles$8 per 1,000 callsTrack what one WeChat Official Account has published today, with each article's title, link, cover, publish time, position and original or deleted flags. - Article comments
article_comments$6.76 per 1,000 callsCollect reader comments on one WeChat Official Account article, up to 260 per call. - Comment replies
comment_replies$6.76 per 1,000 callsList the replies under one comment on a WeChat Official Account article. - Article engagement
article_metrics$5.56 per 1,000 callsCheck engagement on one WeChat Official Account article. - WeChat Index
wechat_index$5.56 per 1,000 callsGauge how much attention a keyword gets on WeChat: the latest index value and its date, plus the trend series behind it.