# WeChat Official Accounts Article details API (wechat_oa.article_detail)

- Canonical page: [https://everyinfra.com/en/wechat-oa-api/article_detail](https://everyinfra.com/en/wechat-oa-api/article_detail?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "wechat_oa", "action": "article_detail", "params": {...}}
- Price: $0.005556 per call ($5.56 per 1,000 requests); failed calls and empty results are not charged
- Returns: single object
- Mode: sync; add "mode": "async" for slow tasks

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=wechat_oa&action=article_detail

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| url | not declared | yes | not declared | 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 fields (items in `results`)

| 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). |

## Example

```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"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "wechat_oa",
        "action": "article_detail",
        "params": {
            "url": "https://mp.weixin.qq.com/s?__biz=MzA4MTg0MjA5OQ==&mid=2655362972&idx=1&sn=b56fabd8e4c53259498100f05f20dbb0",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-11-07T14:47:42Z. `results` and `count` are real 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.

```text
{
  "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": { … }
}
```

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=wechat_oa
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
