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
Healthy

Last 24 hours

Last 30 days

  1. 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"
      }
    }
  2. 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…",
        …
      }
    }
  3. 3Fields

    authortitlecontent_textcontent_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…
  4. 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

A request with the article 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.

idtitleurlcontent_textcontent_htmlauthoraccount_nameaccount_ghiddigestcover_image_urlimageshashtagsis_originalposted_atip_regionplatform
恭喜那些不刮腋毛的人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"]nullfalse2026-07-31T03:55:58+00:00浙江wechat_oa

Use cases

  • Archive an article in full

    Read content_text for the text and images for the image addresses in it, and note posted_at.

  • Feed a text analysis

    content_text is plain text without HTML tags, so you can tokenize, summarize or classify it directly. hashtags lists the article's topic tags.

  • Keep the original layout

    content_html is 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_original and ip_region to 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:

ComparedWeChat Official Account interface for a published articleEveryInfra
What you pass inThe 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 contentIt 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 callIn 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

  • url is 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, idx and sn.
  • A temporary link copied from search results (with signature and timestamp) may not be readable. When it cannot be read, the call returns 422 before any charge.
  • content_html and content_text hold the same content. One keeps the layout and image references and the other is plain text, so pick one.
  • author may be a personal pen name and not the account name. The account name is in account_name.
  • digest is the summary typed in the Official Account backend, not a cut from the article text.
  • ip_region is 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.

CallsCost
10,000$55.56
100,000$555.56
1,000,000$5,555.56

Totals use the list price per call.

Code samples

#
bash
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.

POST

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

#
NameInTypeRequiredDefaultDescription
AuthorizationheaderstringYes-Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository.
platformbodystringYeswechat_oaPlatform identifier, fixed value.
actionbodystringYesarticle_detailCapability identifier, fixed value.
urlbody.paramsstringYes-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

#
Captured November 7, 2026 at 14:47 (UTC) by calling this API with the parameters in the code sample above. results and count are that call's real response with personal information (names, handles, avatars, profile links, contact details) removed. id, billing and quota differ on every call, so only their shape is shown.
json
{  "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.

FieldMeaning
idThe 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.
titleTitle. null when the platform has no titles (for example text-only posts).
urlLink to the record on the platform.
content_textFull article body as plain text (no HTML tags). Delivered whole, not paginated.
content_htmlFull article body as original HTML, preserving layout and image references. Same source as content_text; pick one per your needs.
authorArticle byline (often a personal pen name, not necessarily the account name).
account_nameName of the Official Account that published the article.
account_ghidThe account's raw ID, unique within WeChat. Most start with gh_, but not all, so don't validate by prefix.
digestArticle digest as filled in the account backend, not an excerpt of the body.
cover_image_urlCover image URL of the article.
imagesImage URL list from the article body.
hashtagsArticle hashtag list.
is_originalWhether the article carries an original-content declaration.
posted_atPublish 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_regionIP region shown at publish time (province/country).
platformSource 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.

Errors

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.

You can call the other WeChat Official Accounts endpoints with the same EveryInfra API key.

Google Analytics needs consent. Privacy