# How do I search WeChat Channels videos by keyword and get their views, likes and comment counts?

> Search WeChat Channels (视频号) videos by keyword, then get likes, comments, shares and saves for each one. Why search alone has no counts, why views are never available, and the cost.

Canonical page: https://okdata.online/answers/wechat-channels-video-search-likes-comments/

**Short answer: **Search with okdata's WeChat Channels video search, about 10 videos a page for $0.02. Search gives the description, time posted and account name only; for likes, comments, shares and saves pass each result's ID to video detail, $0.02 a video. One page plus 10 details costs $0.22. View counts are not public on WeChat Channels, so no call returns them.

WeChat Channels (视频号) is the short-video feed built into WeChat. It has no website, and the results of WeChat Search (搜一搜) inside the app cannot be exported. Getting keyword results with numbers takes two steps: search, then look up each video you want to keep. Search tells you which videos exist, with their description, time posted and the posting account's name. Likes, comments, shares and saves come from video detail. WeChat never publishes view counts for Channels videos, so neither step returns them, and those four counts are what you compare.

## The calls

1. Call [WeChat Channels video search](/apis/wechat_channels/videos/search/) with `query` set to the words a person would type into WeChat Search; Chinese keywords work best. `sort` takes `relevance` (the default), `latest` or `popular`, and `published_within` takes `day`, `week` or `half_year`. Each page holds about 10 videos; pass `page.next_cursor` back as `cursor` for the next one.
2. Each result's `id` is a temporary ID starting with `export/`. Pass it unchanged to [video detail](/apis/wechat_channels/videos/get/), which returns the numeric video ID, the account ID in `author.id` (a `v2_…@finder` string) and `metrics.likes`, `metrics.comments`, `metrics.shares` and `metrics.favorites`.
3. Store the numeric video ID. It does not expire, and the comment and stats calls take it.

```bash
curl -G "https://api.okdata.online/v1/wechat_channels/videos/search" \
  -H "Authorization: Bearer $OKDATA_API_KEY" \
  --data-urlencode 'query=瑞幸咖啡' \
  --data-urlencode 'view=compact'
```

## A real run

On November 20, 2026 (Beijing time) we searched for 瑞幸咖啡 (Luckin Coffee) and got one page of 10 videos, in relevance order, posted between October 26 and the day before. `metrics.likes` was null on all 10, as search often leaves it (`meta.unavailable` then lists it), and `author.id` was an empty string. Passing the brand's own video to video detail returned:

```json
{
  "id": "15052232991067605751",
  "published_at": "2026-11-11T03:00:01.000Z",
  "author": { "id": "v2_0600…1940@finder", "name": "瑞幸咖啡" },
  "metrics": { "likes": 258, "comments": 144, "shares": 868, "favorites": 1208 }
}
```

`meta.unavailable` marks `metrics.views` as `platform`: the platform itself does not publish it.

## What it costs

| Approach | Calls | Cost |
|---|---|---|
| One page of search, no detail | 1 | $0.02 |
| One page, detail for all 10 | 11 | $0.22 |
| Five pages for one keyword, detail for all 50 | 55 | $1.10 |

Drop the off-topic results using the description and date first and look up only the rest; that usually cuts the bill by more than half.

## Gotchas

- **No views.** WeChat Channels does not show play counts publicly, so `metrics.views` is always null. Compare likes, shares and saves instead.
- **Search IDs expire.** Use the `export/` ID in the same run and keep the numeric ID instead.
- **Account names.** WeChat Search marks the matched words in names too; the API removes those marks, so `author.name` is plain text. Many accounts share a name, so identify an account by `author.id` from video detail.
- **Relevance mixes in older videos.** Add `published_within=week` for recent ones only, or `sort=latest` for time order.
- **Counts are a snapshot.** Likes and comments keep growing. For later re-checks, [WeChat Channels video stats](/apis/wechat_channels/videos/metrics/) is cheaper than detail at $0.015 a video, though its counts can be a few hours old.

## Related

- Read the comments under these videos: [How do I export comments from WeChat Channels videos?](/answers/wechat-channels-export-comments/)
- Every video of one account: [How do I export every video from a WeChat Channels account?](/answers/wechat-channels-export-account-videos/)
- The two kinds of account ID: [What is a WeChat Channels account ID (v2_…@finder)?](/answers/wechat-channels-finder-id/)
- A step-by-step guide with Python: [WeChat Channels video comments](/guides/wechat-channels-video-comments/)

## Endpoints used

- [WeChat Channels video search](https://okdata.online/apis/wechat_channels/videos/search/) `wechat_channels.videos.search`: $0.02 per call · about 10 videos per page
- [WeChat Channels video detail](https://okdata.online/apis/wechat_channels/videos/get/) `wechat_channels.videos.get`: $0.02 per call

## More about WeChat Channels

- [WeChat Channels API](https://okdata.online/apis/wechat_channels/)
- [How to export WeChat Channels video comments and replies](https://okdata.online/guides/wechat-channels-video-comments/)
- [WeChat Channels API in Python: videos and comments (2026)](https://okdata.online/guides/wechat-channels-api-python/)
- [How to get every video a WeChat Channels account has posted](https://okdata.online/guides/wechat-channels-user-videos/)
- [How do I export comments from WeChat Channels videos?](https://okdata.online/answers/wechat-channels-export-comments/)
- [What is a WeChat Channels account ID (v2_…@finder), and why doesn't the sph ID work?](https://okdata.online/answers/wechat-channels-finder-id/)
- [How do I export every video from a WeChat Channels account?](https://okdata.online/answers/wechat-channels-export-account-videos/)
- [Post detail API](https://okdata.online/roles/posts-get/)
- [Post search API](https://okdata.online/roles/posts-search/)

## Sources

Where people asked this (read 2026-11-20): 

- https://developers.weixin.qq.com/community/develop/doc/0004a459594e60481fb20c1d461000
- https://developers.weixin.qq.com/community/develop/doc/0000ee9ad3cef06566301c61361000
- https://ask.csdn.net/questions/8161142

Updated 2026-11-20
