# Search WeChat articles by keyword

Searches WeChat Official Account articles by keyword with publish-time and sort filters plus page, offset, and continuation-state pagination.

|  |  |
| --- | --- |
| Tool id | `justoneapi.x-weixin-search-article-v1` |
| Platform | [WeChat Official Accounts](https://www.orcarouter.ai/tools/wechat-mp.md) |
| Capability | [Search posts](https://www.orcarouter.ai/tools/wechat-mp/search-posts.md) |
| Price | $0.129888 per call |
| Health | OK |
| p50 latency | — |
| Success (7 days) | — |
| Runs (30 days) | — |
| Idempotent | no |
| Data class | scraped |

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `keyword` | string | yes | Search keyword for WeChat Official Account articles. |
| `cookies_buffer` | string | no | Opaque pagination state returned by the previous WeChat web search response. Leave it empty for the first page. For this POST endpoint, send it in an application/x-www-form-urlencoded form body. |
| `currentPage` | integer\|string | no | Current page number starting from 1 for WeChat web search pagination. |
| `offset` | integer\|string | no | Search result offset returned by the previous response. Use 0 for the first page. |
| `publishTimeType` | string | no | Weixin web article search publish time filter One of: ALL, ONE_DAY, SEVEN_DAYS, HALF_YEAR. |
| `sortType` | string | no | Weixin web article search sort type One of: COMPREHENSIVE, LATEST, HOT. |

## Call it

```bash
curl -sS https://api.orcarouter.ai/v1/tools/justoneapi.x-weixin-search-article-v1/run \
  -H "Authorization: Bearer $ORCAROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"keyword":"<keyword>"}}'
```

```python
import os, requests

resp = requests.post(
    "https://api.orcarouter.ai/v1/tools/justoneapi.x-weixin-search-article-v1/run",
    headers={"Authorization": f"Bearer {os.environ['ORCAROUTER_API_KEY']}"},
    json={"input":{"keyword":"<keyword>"}},
)
print(resp.json())
```

## Alternatives

| Tool | Source | Price | Health |
| --- | --- | --- | --- |
| [Search WeChat articles by keyword and category](https://www.orcarouter.ai/tools/wechat-mp/search-posts/x-weixin-search-article-v2.md) | — | $0.129888 per call | OK |

## FAQ

### How much does Search WeChat articles by keyword cost?

Search WeChat articles by keyword costs $0.129888 per call: 1,000 calls cost $129.888.

### What does a $10 budget buy with Search WeChat articles by keyword?

About 76 calls at $0.129888 per call.

### What inputs does Search WeChat articles by keyword need?

Required inputs: keyword.

### How do I call Search WeChat articles by keyword?

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/search-posts/x-weixin-search-article-v1
