For AI

Answers

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

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 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, 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.
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:

{
  "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 is cheaper than detail at $0.015 a video, though its counts can be a few hours old.

Sources

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

Updated

Connect once, then just ask.

Every new key comes with $0.10 to try it. One sentence connects your agent.

Start free
Connect your AI

Paste this into your agent

Read https://okdata.online/agents.md and set up okdata for me; my key is in the OKDATA_API_KEY environment variable.

Claude Code, Cursor, Codex and other agents that can open a link set themselves up from it.

MCP serverhttps://api.okdata.online/mcp