# WeChat MP Account Historical Articles API

> Get historical posts for a WeChat Official Account by username, with cursor pagination and article, video, audio, or image content tabs. Use it to browse an account's publishing history.

Source: https://www.sandbase.ai/model/wechat-mp/account-history-articles
API reference: https://www.sandbase.ai/model/wechat-mp/account-history-articles/docs

## Facts

- Provider: WeChat MP
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/wechat-mp/account-history-articles`
- Price: $0.06 per call
- Capabilities: api, wechat mp, social media
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/wechat-mp/account-history-articles` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `username` | string | yes |  |
| `offset` | string | no |  |
| `itemShowType` | string | no | ARTICLE, VIDEO, AUDIO, IMAGE |

## FAQ

### How do I use the WeChat MP Account Historical Articles API?

Send a POST request to https://api.sandbase.ai/v1/api/wechat-mp/account-history-articles with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the WeChat MP Account Historical Articles API cost?

$0.06 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

### What parameters does the WeChat MP Account Historical Articles API accept?

Required: username (string). Optional: offset (string) and itemShowType (one of ARTICLE, VIDEO, AUDIO, IMAGE). The Parameters table and the Playground on this page list every field.

### What does the WeChat MP Account Historical Articles API return?

A JSON response returned in the same HTTP request (synchronous).

### Do I need a WeChat MP developer account or API key?

No. WeChat MP Account Historical Articles runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for WeChat MP API access separately.

## README

### WeChat MP Account Historical Articles API

Get historical posts for a WeChat Official Account by username, with cursor pagination and article, video, audio, or image content tabs. Use it to browse an account's publishing history.

The response is the platform's original data structure.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "wechat-mp/account-history-articles", "username": "worldofai"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `username` | string | Yes | WeChat Official Account username with the gh_ prefix. |
| `offset` | string | No | Base64 pagination cursor. Leave empty for the first page; pass next_offset from the previous response for the next page. Send it in the URL-encoded form body. |
| `itemShowType` | string | No | Content tab. Defaults to ARTICLE. |

#### Pricing

Flat price per call. Failed calls and empty results are not charged.
