# WeChat Channels Scraper & API | EveryInfra (`blushing_parachute/everyinfra-wechat-channels-api`) Actor

Unofficial WeChat Channels data via one Actor: search, video, user_posts, profile, comments. Pay per request, no start fee. First 3 requests free across EveryInfra Actors.

- **URL**: https://apify.com/blushing_parachute/everyinfra-wechat-channels-api.md
- **Developed by:** [ECHO](https://apify.com/blushing_parachute) (community)
- **Categories:** Videos, Social media
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 31.3% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1,129.60 / 1,000 search requests

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## WeChat Channels Scraper & API | EveryInfra

WeChat Channels is the short-video feed inside WeChat. `search` finds videos by keyword, `user_posts` lists an account's latest videos, `video` reads one video by its numeric ID, and `profile` reads an account's public details.

Chain `user_posts` and `video` through the IDs on their rows: `id` is the `object_id` for `video`, and `author_username` (v2\_...@finder) is the `username` for `user_posts`. Search rows carry neither ID, so a search result cannot be opened with `video` or `user_posts`. Video file links expire in about a day, and the start of each file is encrypted; `video_decode_key` decrypts it.

### Actions

| Action | What you get | Required | Optional | Results per request | Price per request |
|---|---|---|---|---|---|
| `search` | Search WeChat Channels videos by `keyword` and get one page of about 10 results, each with title, cover, duration, likes, publish time and the author's name, avatar and verified flag. Search results carry no video ID or account ID, so they cannot be passed to `video` or `user_posts`. | keyword | — | all the source returns | $1.1296 |
| `video` | Read one WeChat Channels video by its `object_id`: the numeric ID returned in `user_posts` rows, or the video's share link (https://weixin.qq.com/sph/…). Get title, description, author, publish time, like, save, share and comment counts, duration, frame size, cover and a time-limited video file link with its decryption key. When you read by share link, `title`, `video_width` and `video_height` can be missing, and `description` carries the full post text. Above 10,000, `like_count` and `collect_count` are precise only to the hundreds, always ending in 02, and from 100,000 up they are always 100002; `share_count` is exact, and `comment_count` above 10,000 is sometimes given only to the hundreds, ending in 02, and is exact otherwise. The file link expires in about a day. | object_id | — | 1 | $0.0456 |
| `user_posts` | List the latest 15 videos of one WeChat Channels account by its `username` (the v2\_...@finder ID). Each video has its ID, title, description, publish time, like, save, share and comment counts, duration, frame size, cover and a time-limited video file link with the key needed to decrypt it. The account ID is not the nickname. | username | — | all the source returns | $0.5496 |
| `profile` | Look up a WeChat Channels account by its v2\_...@finder ID. Get display name, bio, avatar, region, number of videos and collections, live-stream hours, verification note and linked WeChat accounts such as an Official Account. Channels profiles usually hide follower counts, so `follower_count` is often missing; like, favorite and share totals are not provided. | username | — | 1 | $0.0456 |
| `comments` | Read the top-level comments on one WeChat Channels video by its numeric ID or share link, up to 25 per page. Each comment has its text, likes, time, the commenter's IP region, name and avatar, plus their Channels account ID when they have one. Page on with next_page_token. | object_id | page_token | all the source returns | $0.2056 |

### Input

Pick an `action` and fill the fields it uses. Example:

```json
{
  "action": "search",
  "keyword": "\u5496\u5561"
}
```

Fields that another action needs are ignored when left empty. API users can also pass `{"action": ..., "params": {...}}`.

### Output

Each result is one dataset row. Rows keep every field the source page exposes for that action; a field the platform hides or leaves empty for a record is omitted rather than filled with a placeholder. When there is a next page, the run's `OUTPUT` record holds `next_page_token`.

- `search`: `search_rank`, `title`, `cover_url`, `duration_sec`, `duration_seconds`, `posted_at`, `like_count`, `author_name`, `author_avatar_url`, `author_is_verified`, `platform`
- `video`: `id`, `author_username`, `author_name`, `title`, `description`, `posted_at`, `like_count`, `collect_count`, `share_count`, `comment_count`, `duration_sec`, `duration_seconds`, `video_width`, `video_height`, `cover_url`, `video_url`, `video_decode_key`, `platform`
- `user_posts`: `id`, `author_username`, `author_name`, `title`, `description`, `posted_at`, `like_count`, `collect_count`, `share_count`, `comment_count`, `duration_sec`, `duration_seconds`, `video_width`, `video_height`, `cover_url`, `video_url`, `video_decode_key`, `platform`
- `profile`: `username`, `display_name`, `bio`, `avatar_url`, `region`, `follower_count`, `post_count`, `collection_count`, `live_duration_hours`, `verified_reason`, `linked_accounts`, `platform`
- `comments`: `id`, `text`, `like_count`, `posted_at`, `author_username`, `author_name`, `author_avatar_url`, `ip_location`, `next_page_token`, `platform`

#### Field notes

- `id`: Video ID (a digit string) on user_posts and video rows; pass it as `object_id` to video or comments. On comments, the comment ID.
- `author_username`: The author's WeChat Channels account ID, v2\_...@finder (user_posts / video); pass it as `username` to user_posts.
- `search_rank`: Position in this search's results, from 1 (search).
- `author_is_verified`: Whether the author is verified (search).
- `collect_count`: Times the video was saved (user_posts / video). Above 10,000 it is precise only to the hundreds, always ending in 02 (14402 is about 14,400); from 100,000 up it is always 100002 (the app only shows 100k+).
- `like_count`: Likes: the video's on search, user_posts and video rows, the comment's on comments rows. On user_posts and video, likes above 10,000 are precise only to the hundreds, always ending in 02 (20002 is about 20,000); from 100,000 up it is always 100002 (the app only shows 100k+).
- `cover_url`: Cover image URL (signed, expires).
- `video_url`: Video file URL (user_posts / video; signed, valid for about 24 hours). The start of the file is encrypted, so a direct download does not play until it is decrypted with video_decode_key.
- `video_decode_key`: Key for decrypting the encrypted start of the video file (user_posts / video); it belongs to that video_url.
- `video_width`: Video frame width in pixels.
- `video_height`: Video frame height in pixels.
- `duration_sec`: Video length in seconds.
- `region`: Region shown on the account profile (profile), as written, such as Beijing.
- `follower_count`: Follower count (profile). Channels profiles usually do not show it; when it is not available the field is absent, not zero.
- `post_count`: Number of videos the account has published (profile).
- `collection_count`: Number of collections the account has created (profile); absent when there is no figure.
- `live_duration_hours`: Live-stream hours on the account profile (profile), as given.
- `verified_reason`: Verification description (profile); absent when the account is not verified.
- `linked_accounts`: Other WeChat accounts linked to this Channels account (profile), each with name and type, such as an Official Account; absent when there are none.
- `ip_location`: The commenter's IP region as Channels displays it, in Chinese characters or in English, such as Beijing (comments).
- `author_avatar_url`: The commenter's avatar link (comments).
- `next_page_token`: Page token (comments): pass it back unchanged as page_token on the next request to get the next page; every row of a page carries the same value; object_id must match the call that returned it, and it is valid for 24 hours. It can be missing even when the video has more comments; that request then cannot fetch further pages.

### Pricing

Pay per event, charged only when a run delivers data:

- `search`: $1.1296, one event per non-empty request, whatever the row count.
- `video`: $0.0456, one event per non-empty request, whatever the row count.
- `user_posts`: $0.5496, one event per non-empty request, whatever the row count.
- `profile`: $0.0456, one event per non-empty request, whatever the row count.
- `comments`: $0.2056, one event per non-empty request, whatever the row count.

Empty or failed requests are never charged. There is no actor-start fee and no per-row fee, and platform usage is included in these prices.

### Free trial

The first 3 accepted data requests per Apify account are free across all EveryInfra Actors combined (a lifetime total, not per Actor and not reset). Invalid input does not use a trial; an accepted request that returns no data still does. After that a paid Apify plan is required.

### Notes

- Results reflect what is publicly visible when the run happens; counts can be lower than requested.
- One run makes one request. For more pages, start another run with `page_token` where the action supports it.
- This is an independent Actor. It is not affiliated with, sponsored by, or endorsed by WeChat Channels or its owner; names and trademarks belong to their respective owners.

### Support

Open an issue on this Actor's Issues tab with the run ID.

# Actor input Schema

## `action` (type: `string`):

What to fetch. Each action uses only the fields listed for it below; other fields are ignored when empty.

## `keyword` (type: `string`):

Used by `search` (required). The WeChat Channels search term for `search`, such as `coffee`; Chinese terms usually match more videos. One call returns one page of about 10 videos.

## `object_id` (type: `string`):

Used by `video` (required), `comments` (required). The numeric ID of one WeChat Channels video for `video`, such as `15039881603147501275`, taken from the `id` of a `user_posts` or `video` row, or the video's share link (`https://weixin.qq.com/sph/...`). Search rows have neither. Other formats are rejected before any charge.

## `username` (type: `string`):

Used by `user_posts` (required), `profile` (required). The WeChat Channels account ID for `user_posts`, in the form `v2_...@finder`, taken from the `author_username` of a `user_posts` or `video` row, or the channel ID starting with `sph` shown on the channel page, such as `sphi9BjV8GK0Zsl`. It is not the nickname, and search rows do not have it. Other formats are rejected before any charge.

## `page_token` (type: `string`):

Used by `comments`. Page token for `comments`. Leave it out for the first page, then pass back the previous response's `next_page_token` exactly as received, for the same video. Each page is one call; the last page has no `next_page_token`.

## `params` (type: `object`):

Optional JSON object with the same fields as above, for API and integration use. Flat fields and params must not disagree.

## Actor input object example

```json
{
  "action": "search",
  "keyword": "咖啡"
}
```

# Actor output Schema

## `records` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "keyword": "咖啡"
};

// Run the Actor and wait for it to finish
const run = await client.actor("blushing_parachute/everyinfra-wechat-channels-api").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "keyword": "咖啡" }

# Run the Actor and wait for it to finish
run = client.actor("blushing_parachute/everyinfra-wechat-channels-api").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "keyword": "咖啡"
}' |
apify call blushing_parachute/everyinfra-wechat-channels-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,blushing_parachute/everyinfra-wechat-channels-api"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/gnqxHnkgBkrvxO7zJ/builds/bTdZRKwK1GdBJLpKT/openapi.json
