# WeChat Official Account past articles by id or URL

Retrieves historical articles for a WeChat Official Account identified by ghid or article URL, with an offset cursor from the previous page.

|  |  |
| --- | --- |
| Tool id | `justoneapi.x-weixin-get-account-history-articles-v2` |
| Platform | [WeChat Official Accounts](https://www.orcarouter.ai/tools/wechat-mp.md) |
| Capability | [Post details](https://www.orcarouter.ai/tools/wechat-mp/post-detail.md) |
| Price | $0.064944 per call |
| Health | OK |
| p50 latency | — |
| Success (7 days) | — |
| Runs (30 days) | — |
| Idempotent | no |
| Data class | scraped |

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `ghid` | string | no | WeChat Official Account original identifier, using the gh\_ prefix returned by WeChat. Use either ghid or url. |
| `offset` | string | no | PagingInfo.Offset cursor returned by the previous response. Leave it empty for the first page. For this POST endpoint, send it in an application/x-www-form-urlencoded form body. |
| `url` | string | no | WeChat Official Account article URL used to identify the account and fetch historical articles. Use either ghid or url. |

## Call it

```bash
curl -sS https://api.orcarouter.ai/v1/tools/justoneapi.x-weixin-get-account-history-articles-v2/run \
  -H "Authorization: Bearer $ORCAROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{}}'
```

```python
import os, requests

resp = requests.post(
    "https://api.orcarouter.ai/v1/tools/justoneapi.x-weixin-get-account-history-articles-v2/run",
    headers={"Authorization": f"Bearer {os.environ['ORCAROUTER_API_KEY']}"},
    json={"input":{}},
)
print(resp.json())
```

## Alternatives

| Tool | Source | Price | Health |
| --- | --- | --- | --- |
| [WeChat article details](https://www.orcarouter.ai/tools/wechat-mp/post-detail/x-wechat-mp-v2-fetch-article-detail.md) | — | $0.011 per call | OK |
| [WeChat article content by article URL — plain or rich text](https://www.orcarouter.ai/tools/wechat-mp/post-detail/x-weixin-get-article-detail-v1.md) | — | $0.024354 per call | OK |
| [WeChat article structured details by article URL](https://www.orcarouter.ai/tools/wechat-mp/post-detail/x-weixin-get-article-detail-v2.md) | — | $0.024354 per call | OK |
| [WeChat article HTML by article URL](https://www.orcarouter.ai/tools/wechat-mp/post-detail/x-weixin-get-article-detail-v4.md) | — | $0.024354 per call | OK |
| [WeChat article lightweight info by article URL](https://www.orcarouter.ai/tools/wechat-mp/post-detail/x-weixin-get-article-detail-v5.md) | — | $0.024354 per call | OK |
| [WeChat article details with video content by article URL](https://www.orcarouter.ai/tools/wechat-mp/post-detail/x-weixin-get-article-detail-v3.md) | — | $0.032472 per call | OK |
| [WeChat Official Account past posts by username](https://www.orcarouter.ai/tools/wechat-mp/post-detail/x-weixin-get-account-history-articles-v1.md) | — | $0.048708 per call | OK |

## FAQ

### How much does WeChat Official Account past articles by id or URL cost?

WeChat Official Account past articles by id or URL costs $0.064944 per call: 1,000 calls cost $64.944.

### What does a $10 budget buy with WeChat Official Account past articles by id or URL?

About 153 calls at $0.064944 per call.

### What inputs does WeChat Official Account past articles by id or URL need?

It has no required inputs.

### How do I call WeChat Official Account past articles by id or URL?

Send POST /v1/tools/{id}/run with your OrcaRouter API key and a JSON body {"input": {…}}, where {id} is the tool id POST /v1/tools/discover returns for it.

---

Markdown version of https://www.orcarouter.ai/tools/wechat-mp/post-detail/x-weixin-get-account-history-articles-v2
