# WeChat Search API

> WeChat Search across Official Account articles, Channels videos and mini programs.

Canonical page: https://okdata.online/apis/wechat/

6 endpoints, $0.02 to $0.15 per call. Region: Mainland China. No WeChat Search login or cookies needed.

| Endpoint | ID | Returns | Price |
|---|---|---|---|
| [WeChat Search articles and videos](https://okdata.online/apis/wechat/posts/search/) | `wechat.posts.search` | Post[] | $0.02 per call · about 20 posts per page |
| [WeChat Official Account live search](https://okdata.online/apis/wechat/accounts/search/) | `wechat.accounts.search` | Account[] | $0.02 per call · about 8 accounts per page |
| [WeChat Index](https://okdata.online/apis/wechat/index/keywords/history/) | `wechat.index.keywords.history` | KeywordHistory[] | $0.15 per call · about 1 results per page |
| [WeChat Search suggestions](https://okdata.online/apis/wechat/keywords/related/) | `wechat.keywords.related` | KeywordRelated[] | $0.15 per call · about 9 results per page |
| [WeChat mini program search](https://okdata.online/apis/wechat/miniprograms/search/) | `wechat.miniprograms.search` | Miniprogram[] | $0.15 per call · about 25 results per page |
| [WeChat Search articles and videos (backup)](https://okdata.online/apis/wechat/backup/posts/search/) | `wechat.backup.posts.search` | Post[] | $0.15 per call · about 20 posts per page |

## Good for

- Content research: `wechat.posts.search`, `wechat.keywords.related`, `wechat.backup.posts.search`
- Trend research: `wechat.posts.search`, `wechat.index.keywords.history`, `wechat.keywords.related`, `wechat.backup.posts.search`
- Word of mouth: `wechat.posts.search`, `wechat.backup.posts.search`
- Competitor monitoring: `wechat.accounts.search`, `wechat.miniprograms.search`
- Creator discovery: `wechat.accounts.search`
- Product research: `wechat.miniprograms.search`

## At a glance

6 WeChat Search endpoints covering posts, accounts, index, keywords and mini programs, from $0.02 a call. No WeChat Search account or cookie needed, and a failed call costs nothing.

Categories: [Social media](https://okdata.online/categories/social/)

- **Endpoints**: 6 endpoints. In 6 groups, one response format · 4 coming soon.
- **Lowest price**: From $0.02. A call, paid from a prepaid balance.
- **Freshness**: Live. Read from the platform when you call.
- **Failed calls**: $0. Errors and timeouts are never charged.

- [Start free](https://okdata.online/console/)
- Try one: [WeChat Search articles and videos](https://okdata.online/apis/wechat/posts/search/)
- WeChat Search in Claude, Cursor and other agents: [WeChat Search MCP](https://okdata.online/mcp/wechat/)

## Endpoints by group

### Posts (1)

| Endpoint | Request | Returns | Price |
|---|---|---|---|
| [Articles and videos](https://okdata.online/apis/wechat/posts/search/) | `GET /v1/wechat/posts/search` | Post[] | $0.02 per call |

### Accounts (1)

| Endpoint | Request | Returns | Price |
|---|---|---|---|
| [Official Account live search](https://okdata.online/apis/wechat/accounts/search/) | `GET /v1/wechat/accounts/search` | Account[] | $0.02 per call |

### Index (1)

| Endpoint | Request | Returns | Price |
|---|---|---|---|
| [WeChat Index](https://okdata.online/apis/wechat/index/keywords/history/) (coming soon) | `GET /v1/wechat/index/keywords/history` | KeywordHistory[] | $0.15 per call |

### Keywords (1)

| Endpoint | Request | Returns | Price |
|---|---|---|---|
| [Suggestions](https://okdata.online/apis/wechat/keywords/related/) (coming soon) | `GET /v1/wechat/keywords/related` | KeywordRelated[] | $0.15 per call |

### Mini programs (1)

| Endpoint | Request | Returns | Price |
|---|---|---|---|
| [Mini program search](https://okdata.online/apis/wechat/miniprograms/search/) (coming soon) | `GET /v1/wechat/miniprograms/search` | Miniprogram[] | $0.15 per call |

### Backup sources (1)

| Endpoint | Request | Returns | Price |
|---|---|---|---|
| [Articles and videos (backup)](https://okdata.online/apis/wechat/backup/posts/search/) (coming soon) | `GET /v1/wechat/backup/posts/search` | Post[] | $0.15 per call |

- [WeChat Search API pricing](https://okdata.online/pricing/wechat/)
- [WeChat Search in your AI (MCP)](https://okdata.online/mcp/wechat/)
- [Live status](https://okdata.online/status/)

## What people do with WeChat Search data

- [Content research](https://okdata.online/solutions/content-research/): “What do the top posts on this topic have in common?” [Articles and videos](https://okdata.online/apis/wechat/posts/search/) $0.02
- [Trend research](https://okdata.online/solutions/trend-research/): “What is trending today that we could ride?” [Articles and videos](https://okdata.online/apis/wechat/posts/search/) $0.02
- [Word of mouth](https://okdata.online/solutions/word-of-mouth/): “What do buyers complain about most?” [Articles and videos](https://okdata.online/apis/wechat/posts/search/) $0.02
- [Competitor monitoring](https://okdata.online/solutions/competitor-monitoring/): “What did our competitors post this week, and what took off?” [Official Account live search](https://okdata.online/apis/wechat/accounts/search/) $0.02
- [Creator discovery](https://okdata.online/solutions/creator-discovery/): “Who are the mid-size creators in camping gear?” [Official Account live search](https://okdata.online/apis/wechat/accounts/search/) $0.02

## Start in three steps

1. Get a key: [open the console](https://okdata.online/console/). A new key comes with $0.10 to try, no card.
2. Connect your AI with this sentence (swap in your key), or call the API yourself:

   > Set up okdata for me by following https://okdata.online/agents.md. Here is my okdata API key: okd_…. Keep it safe and use it for all okdata calls.

3. Make the first call (WeChat Search articles and videos). Items arrive in data.items, the next page in page.next_cursor, the charge in meta.billing.amount.

```bash
curl -G "https://api.okdata.online/v1/wechat/posts/search" \
  -H "Authorization: Bearer $OKDATA_API_KEY" \
  --data-urlencode 'query=咖啡店开业'
```

## Questions about the WeChat Search API

### What does the WeChat Search API cost?

Each of the 6 endpoints has its own price, from $0.02 to $0.15 a call; the cheapest is WeChat Official Account live search at $0.02. You pay per call from a prepaid balance, with no subscription, and a failed call is not charged.

### Do I need a WeChat Search account or cookie?

No. You call https://api.okdata.online with one okdata key and get public WeChat Search data back; no WeChat Search account, cookie or QR login is involved.

### How fresh is the data?

Every endpoint reads WeChat Search at the moment you call; nothing is served from an old copy.

### Can my AI agent use the WeChat Search API?

Yes. Connect the MCP server at https://api.okdata.online/mcp: its find tool lists these 6 endpoints with their prices, and its call tool runs them on your key.

### Can I try it for free?

New accounts get $0.10 of trial credit with no card: enough for 5 calls to WeChat Official Account live search.

## More about WeChat Search

- [Post search API](https://okdata.online/roles/posts-search/)
- [Account search API](https://okdata.online/roles/accounts-search/)

## Other platforms

[Douyin API](https://okdata.online/apis/douyin/) · [Xiaohongshu (RedNote) API](https://okdata.online/apis/xiaohongshu/) · [WeChat Official Accounts API](https://okdata.online/apis/wechat_mp/) · [Bilibili API](https://okdata.online/apis/bilibili/) · [Weibo API](https://okdata.online/apis/weibo/) · [TikTok API](https://okdata.online/apis/tiktok/) · [X (Twitter) API](https://okdata.online/apis/x/) · [YouTube API](https://okdata.online/apis/youtube/) · [Meta Ad Library API](https://okdata.online/apis/meta/) · [Google Ads Transparency API](https://okdata.online/apis/google/) · [Instagram API](https://okdata.online/apis/instagram/) · [Reddit API](https://okdata.online/apis/reddit/) · [Kuaishou API](https://okdata.online/apis/kuaishou/) · [Zhihu API](https://okdata.online/apis/zhihu/) · [WeChat Channels API](https://okdata.online/apis/wechat_channels/) · [Telegram API](https://okdata.online/apis/telegram/)
