# WeChat Official Account article detail API

Get one WeChat Official Account article by its link: title, text, time published, the account's name and IDs. It also says whether it was the lead article or one below, its format, cover, digest, byline, "read the original" link and the IP location it was posted from. One object a call; $0.0200 per call. Errors and timeouts are not charged.

- Endpoint: `GET https://onefeedapi.com/v1/wechat_mp/articles/get`
- ID: `wechat_mp.articles.get`
- Also known as: wechat article, mp article detail
- Price: $0.0200 / call
- Live status is not on this page, which is a snapshot. Read it with `GET https://onefeedapi.com/v1/catalog/status`
- 30-day availability 100%: the share of time the endpoint was serving calls
- Returns: 1 object, one post object
- Returns the standard post object, the same on every platform
- [Run it in the Playground](https://onefeedapi.com/console/playground/?capability=wechat_mp.articles.get&params=%7B%22url%22%3A%22https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMjM5MjAxNDM4MA%3D%3D%26mid%3D2667038683%26idx%3D1%26sn%3D0422127e651acd7f6cf6ef7e1cff04bc%22%7D)
- In Chinese: [微信公众号文章详情 API](https://onefeedapi.com/zh/apis/wechat_mp/articles/get/)

## What you get

The first 2 rows of a response recorded 2026-10-29 09:45 UTC.

| Field | Value |
| --- | --- |
| type | article |
| published_at | 2026-10-10 09:13 UTC |

## Parameters

| Parameter | Type | required | Description |
| --- | --- | --- | --- |
| `url` | text | Yes | Link to the article, pasted as it is: the long link with __biz, mid, idx and sn, the short /s/ link, or a share text with one of them in it. Example: `https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc`. Full link: `https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc`. Short link: `https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIw`. The link has to be opened to learn what it points at, so the result cannot be checked against it. |
| `view` | text |  | How much of each item to return. All three cost the same. Values: `compact`, `standard` (default), `full`. |
| `fields` | list of text |  | Return only these fields. Each by its path, such as `author.name`. |

## Returned fields

`data.item` is one post object. Stable: fields are only ever added.

Three views: `compact` (the most used fields, long text cut short), `standard` (the default: every standard field) and `full` (adds `ext`, the platform's own fields). A field is in the view named and in every larger one.

| Field | Type | Description | From view | This endpoint |
| --- | --- | --- | --- | --- |
| `id` | text | ID; pass it unchanged to the get endpoint. On this platform: Made of the __biz, mid and idx of the article's long link; an article is fetched by its url, not by this. | `compact` | Yes |
| `url` | link | Link that opens the post. | `compact` | Yes |
| `type` | text | Content format. Values: `video`, `image`, `text`, `article`. | `compact` | Yes |
| `title` | text | Title. | `compact` | Yes |
| `text` | text | Body text. Long text: the compact view keeps the first 500 characters and says so in `warnings`. | `compact` | Yes |
| `lang` | text | Language of the text. | `standard` | Not provided here |
| `published_at` | time | When it was published. | `compact` | Yes |
| `author` | object | Author. | `compact` | Yes |
| `author.id` | text | Author's account ID. | `compact` | Yes |
| `author.username` | text | Author's handle. | `compact` | Yes |
| `author.name` | text | Author's display name. | `compact` | Yes |
| `author.avatar_url` | link | Author's avatar. | `standard` | Yes |
| `author.verified` | yes/no | Whether the author is verified. | `standard` | Not provided here |
| `author.followers` | integer | Author's follower count. | `standard` | Not provided here |
| `metrics` | object | Engagement counts. | `compact` | Not provided here |
| `metrics.likes` | integer | Likes. | `compact` | Not provided here |
| `metrics.comments` | integer | Comments. | `compact` | Not provided here |
| `metrics.shares` | integer | Shares. | `compact` | Not provided here |
| `metrics.favorites` | integer | Saves. | `compact` | Not provided here |
| `metrics.views` | integer | Views. | `compact` | Not provided here |
| `metrics.reposts` | integer | Reposts. | `compact` | Not provided here |
| `images` | list of link | Image addresses. | `standard` | Not provided here |
| `hashtags` | list of text | Hashtags, without the #. | `standard` | The platform has none |
| `mentions` | list of object | Accounts mentioned in the text. | `standard` | The platform has none |
| `mentions[].id` | text | Account ID. | `standard` | The platform has none |
| `mentions[].username` | text | Handle. | `standard` | The platform has none |
| `mentions[].name` | text | Display name. | `standard` | The platform has none |
| `is_pinned` | yes/no | Whether the author pinned it. | `standard` | Not provided here |
| `post_id` | text | ID of the thread's root post when this is a reply; otherwise null. | `compact` | The platform has none |
| `parent_id` | text | ID of the item it replies to directly; otherwise null. | `compact` | The platform has none |
| `root_id` | text | ID of the first-level reply its thread hangs under. | `compact` | The platform has none |
| `ext.position` | integer | Its place in the push it went out in: 1 is the lead article, 2 and on the ones below it. | `full` | Yes |
| `ext.content_type` | text | The account's own content format: article (text and pictures), video, audio, images (a picture post), text (words only) or repost. Values: `article`, `video`, `audio`, `images`, `text`, `repost`. | `full` | Yes |
| `ext.cover_url` | link | Cover image. | `full` | Yes |
| `ext.digest` | text | The digest its author wrote for the article; null where none was written. | `full` | Yes |
| `ext.byline` | text | The author the article is signed by (not the account); null where it is unsigned. | `full` | Yes |
| `ext.source_url` | link | The link of the article's "read the original" at its end; null where there is none. | `full` | Yes |
| `ext.ip_location` | text | Where the article was posted from, as its page shows it: the province, or the country for one posted from abroad. | `full` | Yes |
| `ext.markdown` | text | The article as Markdown: headings, paragraphs, bold, lists, quotes, links and pictures, each picture at its own address (mmbiz.qpic.cn). Fetch the pictures without a Referer header: with another site's Referer, what comes back is a placeholder saying the picture may not be used. Long text: the compact view keeps the first 500 characters and says so in `warnings`. | `full` | Yes |
| `approximate` | list of object | Which numbers of this item are approximate or lower bounds; absent when all are exact. | `compact` | Yes |
| `approximate[].field` | text | Path of the field, such as metrics.views. | `compact` | Yes |
| `approximate[].kind` | text | Approximate, or a lower bound. Values: `approximate`, `lower_bound`. | `compact` | Yes |

A field with no value on an item is `null`. A field this endpoint cannot give is left out and listed in `meta.unavailable`.

Typical size of one item: `compact` 1.8 KB, `standard` 2.4 KB, `full` 5.0 KB (measured on the response recorded 2026-10-29 09:45 UTC).

## Paging

One object per call: there is nothing to page.

## When you are charged

| Case | Charged |
| --- | --- |
| A result with data | $0.0200, once per call |
| Invalid parameters, a failure or a timeout | not charged |
| The most one call can cost | $0.0200 (send `X-Max-Price` to refuse anything above your own limit) |

Prices as read 2026-11-22 09:40 UTC, under price book 21, in effect since 2026-11-21 15:05 UTC; the Playground reads the price in force before a run.

## If the object does not exist

The answer is 404 `not_found`. `charged` and `amount` in the body say what this one cost. `reason` says which: `not_found` (it does not exist) or `private_or_deleted`.

## Errors

Every error has the same structure: `code`, `message`, `charged`, `retry`, `retry_after_seconds`, `param`, `docs_url`.

| HTTP | Code | Meaning | Charged | Retry |
| --- | --- | --- | --- | --- |
| 400 | `invalid_params` | A parameter is invalid | As the answer's charged field says | After a fix |
| 400 | `request_not_served` | This combination of parameters cannot be served at present | No | After a fix |
| 400 | `max_price_exceeded` | The most this call could cost is above the limit you set | No | After a fix |
| 401 | `unauthorized` | No credential was sent, or it is invalid, disabled or expired | No | No |
| 402 | `insufficient_balance` | The balance is too low | No | After a fix |
| 402 | `key_budget_exceeded` | This key's spending limit does not cover the call | No | After a fix |
| 402 | `run_budget_exceeded` | This run's amount or call limit does not cover the call | No | No |
| 403 | `account_suspended` | The account is suspended | No | No |
| 403 | `forbidden` | This credential may not use that option | No | No |
| 403 | `key_scope_denied` | This key may not call this endpoint | No | No |
| 404 | `not_found` | The object does not exist, is private or was deleted | As the answer's charged field says | No |
| 404 | `run_not_found` | No run under this run ID | No | No |
| 409 | `call_in_progress` | The call under this idempotency key is still running; ask again with the same key shortly | No | With the same idempotency key |
| 409 | `idempotency_conflict` | This idempotency key was used for a different request | No | After a fix |
| 410 | `run_expired` | This run has expired and starts no more calls | No | No |
| 429 | `rate_limited` | Too many requests, or too many calls in progress | No | Yes |
| 429 | `cost_cap_exceeded` | This account's allowance for today is used up | No | Yes |
| 429 | `uncharged_cost_limit` | Too many of this account's calls today returned nothing and were not charged; endpoints of this kind can be called again tomorrow (UTC) | No | Yes |
| 500 | `settlement_unknown` | Whether this call settled is not known; ask again with the same idempotency key, or look it up by request ID | Unknown: look the call up | With the same idempotency key |
| 500 | `internal_error` | The service failed | No | Yes |
| 502 | `upstream_failed` | No result came back this time and nothing was charged; retry shortly | No | Yes |
| 503 | `upstream_busy` | Busy just now; retry shortly | No | Yes |
| 503 | `capability_paused` | This endpoint is paused | No | Yes |
| 503 | `overloaded` | The service is busy; retry shortly | No | Yes |
| 504 | `timeout` | The data did not arrive in time; retry with the same idempotency key | No | Yes |

[All error codes](https://onefeedapi.com/docs/errors/)

## Request

The key is read from the environment; no key is ever written into a page.

### cURL

```bash
curl -G "https://onefeedapi.com/v1/wechat_mp/articles/get" \
  --data-urlencode "url=https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc" \
  -H "Authorization: Bearer $ONEFEED_API_KEY"
```

### Python

```python
# pip install onefeedapi
from onefeedapi import OneFeedAPI

dx = OneFeedAPI()  # reads ONEFEED_API_KEY
result = dx.wechat_mp.articles.get(url="https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc")
print(result["data"]["item"])
```

### TypeScript

```typescript
// npm i @onefeedapi/sdk
import { OneFeedAPI } from "@onefeedapi/sdk";

const dx = new OneFeedAPI(); // reads ONEFEED_API_KEY
const result = await dx.wechat_mp.articles.get({ url: "https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc" });
console.log(result.data.item);
```

### CLI

```bash
onefeedapi call wechat_mp.articles.get 'url=https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc'
```

### MCP

```json
{
  "mcpServers": {
    "onefeedapi": {
      "type": "http",
      "url": "https://onefeedapi.com/mcp",
      "headers": {
        "Authorization": "Bearer ${ONEFEED_API_KEY}"
      }
    }
  }
}
```

Add this to your MCP client, then ask your agent to call `wechat_mp.articles.get`.

## Responses

### 200

From a response recorded 2026-10-29 09:45 UTC. Names, text and IDs are examples, and so are the links: none is the recorded one (the page shows no one's personal data); the figures are as recorded. Long lists are cut. The request ID, cursor and balance are made up.

Size as sent: 3.0 KB in the standard view (2.5 KB compact, 5.5 KB full).

```jsonc
{
  "code": "ok",
  "request_id": "ea6d90ba-c743-4de0-b6ee-bf22a76e2d0f",
  "data": {
    "item": {
      "id": "2667741100_1",
      "url": "https://mp.weixin.qq.com/s/FeLlyCmjO-KbG27_xPHWlw",
      "type": "article",
      "title": "周末露营入门指南：一篇讲清楚",
      "text": "周末露营这件事，越简单越好",
      "published_at": "2026-10-10T09:13:21.000Z",
      "author": {
        "id": "gh_fd3bca9a4315",
        "username": "aya_living",
        "name": "认真生活的阿雅",
        "avatar_url": "https://wx.qlogo.cn/mmhead/TP60gpehOQj0c0q4rzcuTqqksajtafmfdf2AzWc3/132"
      }
    }
  },
  "warnings": [],
  "meta": {
    "capability": "wechat_mp.articles.get",
    "result_status": "complete",
    "fetched_at": "2026-10-29T09:45:30.000Z",
    "cached": false,
    "replayed": false,
    "unavailable": {
      "lang": "capability",
      "author.verified": "capability",
      "author.followers": "capability",
      "metrics": "capability",
      "images": "capability",
      "hashtags": "platform",
      "mentions": "platform",
      "is_pinned": "capability",
      "post_id": "platform",
      "parent_id": "platform",
      "root_id": "platform"
    },
    "billing": {
      "amount": "0.02",
      "currency": "USD",
      "balance_after": "9.98"
    }
  }
}
```

### 400

An example written to the specification, not a recorded response.

```json
{
  "code": "invalid_params",
  "request_id": "ae4060c0-4f7a-47c0-8970-8b65ac2789a5",
  "message": "A parameter is invalid",
  "message_zh": "参数不合法",
  "charged": false,
  "retry": "after_fix",
  "retry_after_seconds": null,
  "param": null,
  "problems": ["url is required"],
  "docs_url": "https://onefeedapi.com/docs/errors#invalid_params"
}
```

### 402

An example written to the specification, not a recorded response.

```json
{
  "code": "insufficient_balance",
  "request_id": "eb360808-e604-49b2-85e3-1b60cb43d869",
  "message": "The balance is too low",
  "message_zh": "余额不足",
  "charged": false,
  "retry": "after_fix",
  "retry_after_seconds": null,
  "param": null,
  "required": "0.02",
  "available": "0",
  "top_up_url": "https://onefeedapi.com/console/billing/?amount=10",
  "next_step": "The balance does not cover this call ($0.02). Top up at top_up_url: $10 at least, about 500 calls at this price; Alipay or a card, and the balance never expires. Then send the same request again, unchanged. Nothing was charged for this one.",
  "next_step_zh": "余额不够这次调用（$0.02）。到 top_up_url 充值：最低 $10，按这次的价格约够 500 次；支付宝、银行卡都能付，余额不过期。到账后把同一个请求原样再发一次。这次没有扣钱。",
  "docs_url": "https://onefeedapi.com/docs/errors#insufficient_balance"
}
```

### 404

An example written to the specification, not a recorded response.

```json
{
  "code": "not_found",
  "request_id": "4cea47e8-21a1-4bc0-b1ee-2cb91ccf433b",
  "message": "The object does not exist, is private or was deleted",
  "message_zh": "对象不存在、私密或已删除",
  "charged": true,
  "amount": "0.02",
  "retry": "no",
  "retry_after_seconds": null,
  "param": null,
  "reason": "not_found",
  "docs_url": "https://onefeedapi.com/docs/errors#not_found"
}
```

### 502

An example written to the specification, not a recorded response.

```json
{
  "code": "upstream_failed",
  "request_id": "7e042692-264e-4765-b6c8-4087522e0646",
  "message": "No result came back this time and nothing was charged; retry shortly",
  "message_zh": "这次没有取到结果，没有扣费，可以稍后重试",
  "charged": false,
  "retry": "yes",
  "retry_after_seconds": null,
  "param": null,
  "docs_url": "https://onefeedapi.com/docs/errors#upstream_failed"
}
```

[This example as a JSON file](https://onefeedapi.com/apis/wechat_mp/articles/get.example.json)

## Use it in your AI

`onefeedapi setup` gives the agents on your machine (Claude Code, Codex, Cursor) the OneFeedAPI MCP server and the base skill. The key is read from ONEFEED_API_KEY; none is written into a file.

MCP server: `https://onefeedapi.com/mcp`. The entry for your client is under MCP in the request examples of this page; then ask your agent to call `wechat_mp.articles.get`.

Or paste this to any AI:

> Read https://onefeedapi.com/apis/wechat_mp/articles/get.md and help me use the OneFeedAPI endpoint wechat_mp.articles.get (WeChat Official Account article detail).

[Open in ChatGPT](https://chatgpt.com/?q=Read%20https%3A%2F%2Fonefeedapi.com%2Fapis%2Fwechat_mp%2Farticles%2Fget.md%20and%20help%20me%20use%20the%20OneFeedAPI%20endpoint%20wechat_mp.articles.get%20%28WeChat%20Official%20Account%20article%20detail%29.) · [Open in Claude](https://claude.ai/new?q=Read%20https%3A%2F%2Fonefeedapi.com%2Fapis%2Fwechat_mp%2Farticles%2Fget.md%20and%20help%20me%20use%20the%20OneFeedAPI%20endpoint%20wechat_mp.articles.get%20%28WeChat%20Official%20Account%20article%20detail%29.)

## Related

Part of OneFeedAPI's Social media data. The same key also works for: Creators, Ads, E-commerce.

The same thing on other platforms: [Bilibili video detail](https://onefeedapi.com/apis/bilibili/videos/get/), [Douyin video detail](https://onefeedapi.com/apis/douyin/videos/get/), [Kuaishou video detail](https://onefeedapi.com/apis/kuaishou/videos/get/), [Telegram message detail](https://onefeedapi.com/apis/telegram/messages/get/), [X post detail](https://onefeedapi.com/apis/x/posts/get/), [Facebook post detail](https://onefeedapi.com/apis/facebook/posts/get/), [LinkedIn post detail](https://onefeedapi.com/apis/linkedin/posts/get/), [Threads post detail](https://onefeedapi.com/apis/threads/posts/get/), [Instagram post detail](https://onefeedapi.com/apis/instagram/posts/get/), [TikTok video detail](https://onefeedapi.com/apis/tiktok/videos/get/), [Weibo post detail](https://onefeedapi.com/apis/weibo/posts/get/), [Xiaohongshu note detail](https://onefeedapi.com/apis/xiaohongshu/notes/get/), [YouTube video detail](https://onefeedapi.com/apis/youtube/videos/get/), [WeChat Channels video detail](https://onefeedapi.com/apis/wechat_channels/videos/get/), [Reddit post detail](https://onefeedapi.com/apis/reddit/posts/get/), [Zhihu answer detail](https://onefeedapi.com/apis/zhihu/answers/get/), [Zhihu article detail](https://onefeedapi.com/apis/zhihu/articles/get/), [Zhihu pin detail](https://onefeedapi.com/apis/zhihu/pins/get/), [Zhihu question detail](https://onefeedapi.com/apis/zhihu/questions/get/), [Pinterest pin detail](https://onefeedapi.com/apis/pinterest/pins/get/)

More Social media data on other platforms: [Douyin hashtag videos](https://onefeedapi.com/apis/douyin/hashtags/videos/list/), [Bilibili user videos](https://onefeedapi.com/apis/bilibili/users/videos/list/), [Bilibili video search](https://onefeedapi.com/apis/bilibili/videos/search/)

WeChat Official Accounts endpoints: [WeChat Official Account articles](https://onefeedapi.com/apis/wechat_mp/accounts/articles/list/), [WeChat Official Account profile](https://onefeedapi.com/apis/wechat_mp/accounts/get/), [WeChat Official Account article comments](https://onefeedapi.com/apis/wechat_mp/articles/comments/list/), [WeChat Official Account article detail](https://onefeedapi.com/apis/wechat_mp/articles/get/), [WeChat Official Account article stats](https://onefeedapi.com/apis/wechat_mp/articles/metrics/), [WeChat Official Account comment replies](https://onefeedapi.com/apis/wechat_mp/comments/replies/list/), [WeChat Official Account name search](https://onefeedapi.com/apis/wechat_mp/accounts/search/), [WeChat Official Account owner](https://onefeedapi.com/apis/wechat_mp/accounts/owner/get/)

How-to guides and answers: [How to list a WeChat Official Account's past articles](https://onefeedapi.com/guides/wechat-official-account-articles/), [Is there an API for WeChat Official Account articles?](https://onefeedapi.com/answers/is-there-an-api-for-wechat-official-account-articles/), [What is __biz in a WeChat article link?](https://onefeedapi.com/answers/wechat-official-account-biz/), [What do mid, idx and sn mean in a WeChat article link?](https://onefeedapi.com/answers/wechat-article-link-mid-idx-sn/), [What is a WeChat Official Account's original ID (gh_)?](https://onefeedapi.com/answers/wechat-official-account-original-id/)

Skills that use this endpoint: [Breaking down a hit](https://onefeedapi.com/skills/viral/)

Related: [All WeChat Official Accounts endpoints](https://onefeedapi.com/apis/wechat_mp/), [Social media data](https://onefeedapi.com/categories/social/), [The same thing on 18 platforms, side by side](https://onefeedapi.com/roles/posts-get/), [The post object's fields](https://onefeedapi.com/docs/objects/post/)

## Questions

### How much does the WeChat Official Account article detail API cost?

$0.0200 per call. The most one call can cost is $0.0200.

### When am I not charged?

Errors and timeouts are not charged.

### What happens if the object does not exist?

The answer is 404 not_found. charged and amount in the body say what this one cost. reason says which: not_found (it does not exist) or private_or_deleted.

## 30-day availability

100% of the time over the last 30 days, this endpoint was serving calls: at least one of its routes was taking them, so it was neither paused nor down.

A failed call is not charged.

[Every endpoint's state now, and each incident with whether anyone was charged: the status page](https://onefeedapi.com/status/)

---

Last checked 2026-11-22 09:40 UTC. Catalog revision dc959672dd18e2d0. [HTML version](https://onefeedapi.com/apis/wechat_mp/articles/get/)
