WeChat Channels video download API
Give a WeChat Channels video by its ID, share link or a search result's export/ ID and get the video file's address (with width, height, size and length), the cover, and the method and key that decrypt it: only the first 131072 bytes of a Channels file are encrypted, and once decrypted as decrypt says, it is a playable MP4. Use the address and key of one answer together; no headers are needed. Once the address stops working, another call gives a new pair. One object a call; $0.0200 per call. Errors and timeouts are not charged.
Try it
Change a value and the request on the right follows.Sign in to run it; it runs on your own balance. New accounts can try this endpoint free, up to 5 calls.
curl -G "https://onefeedapi.com/v1/wechat_channels/videos/media/get" \ --data-urlencode "id=14559898883113486609" \ -H "Authorization: Bearer $ONEFEED_API_KEY"
{
"code": "ok",
"request_id": "d3eaa234-4ceb-45a8-a6ab-c9b37fd52ca7",
"data": {
"item": {
"post_id": "14833772479643579233",
"type": "video",
"title": "实测一个月周末露营,结论有点意外",
"author": {
"id": "v2_060000231003b20f64765bfb093d8f881405da47994648edacfebae30a3cee9664717acdb4@finder",
"name": "认真生活的阿雅"
},
"duration": 30,
"files": [
{
"kind": "video",
"quality": "1080p",
"width": 1080,
"height": 1920,
"size": 23054585,
"format": "mp4",
"duration": 30,
"url": "https://onefeedapi.com/examples/14008566095158451105"
},
{
"kind": "cover",
"quality": null,
"width": null,
"height": null,
"size": null,
"format": null,
"duration": null,
"url": "https://onefeedapi.com/examples/14875544654647004266"
}
],
"decrypt": {
"method": "isaac64_xor_head",
"key": "把周末露营从头到尾讲清楚,看完少走弯路",
"bytes": 131072
}
}
},
"warnings": [],
"meta": {
"capability": "wechat_channels.videos.media.get",
"result_status": "complete",
"fetched_at": "2026-10-12T19:04:01.000Z",
"cached": false,
"replayed": false,
"unavailable": {
"files.index": "platform",
"files.codec": "capability",
"files.bitrate": "capability",
"files.title": "platform",
"files.lang": "platform",
"files.watermark": "capability",
"files.backup_urls": "capability",
"files.expires_at": "capability",
"files.headers": "platform",
"files.stable_url": "platform",
"files.live": "platform"
},
"billing": {
"amount": "0.02",
"currency": "USD",
"balance_after": "9.98"
}
}
}From a response recorded 2026-10-12 19:04 UTC. Names, text and IDs are examples, and so are the links: none is the recorded one (the page shows no one's personal data); the figures are as recorded. Long lists are cut. The request ID, cursor and balance are made up.
Size as sent: 2.7 KB in the standard view (2.7 KB compact, 2.7 KB full).
curl -G "https://onefeedapi.com/v1/wechat_channels/videos/media/get" \ --data-urlencode "id=14559898883113486609" \ -H "Authorization: Bearer $ONEFEED_API_KEY"
# pip install onefeedapi from onefeedapi import OneFeedAPI dx = OneFeedAPI() # reads ONEFEED_API_KEY result = dx.wechat_channels.videos.media.get(id="14559898883113486609") print(result["data"]["item"])
// npm i @onefeedapi/sdk import { OneFeedAPI } from "@onefeedapi/sdk"; const dx = new OneFeedAPI(); // reads ONEFEED_API_KEY const result = await dx.wechat_channels.videos.media.get({ id: "14559898883113486609" }); console.log(result.data.item);
onefeedapi call wechat_channels.videos.media.get id=14559898883113486609
{
"mcpServers": {
"onefeedapi": {
"type": "http",
"url": "https://onefeedapi.com/mcp",
"headers": {
"Authorization": "Bearer ${ONEFEED_API_KEY}"
}
}
}
}Add this to your MCP client, then ask your agent to call wechat_channels.videos.media.get.
Parameters
id, url, export_idThe video's ID, a string of digits: the id a video list gives. Example: 14559898883113486609.
id, url, export_idThe video's share link, starting with weixin.qq.com/sph/. Example: https://weixin.qq.com/sph/ABgJVPnSSu. Short link: https://weixin.qq.com/sph/ABgJVPnSSu. The link has to be opened to learn what it points at, so the result cannot be checked against it.
id, url, export_idThe id of a wechat_channels.videos.search result, starting with export/. It expires: use it soon after the search. The post_id returned is the video's numeric ID. Example: export/UzFfBgAAxJeLPEsjEjWuk8zT4DCKThrNP5lzaPLJoEvz7FZtxw.
How much of each item to return. All three cost the same. Values: compact, standard (default), full.
Return only these fields. Each by its path, such as author.name.
Known limits
- One object per call: there is nothing to page.
- 14 fields of the object are not available from this endpoint
Returned fields
data.item is one media files object. Stable: fields are only ever added.
ID of the post the files belong to: the same as the detail endpoint's id
Content format: video, or image (a picture post or photo set)videoimage
Title; the caption where the platform has no separate title
Author
Author's account ID
Author's display name
Show all 37 fields →
Length of the video, in seconds; a picture post has none
Every file, one entry each: the video in each quality, the audio, the cover, each picture, the subtitles
What the file is: video, audio (the background music, or a sound track served apart from the picture), cover, image (a picture of the post), subtitlevideoaudiocoverimagesubtitle
Place of a picture in the post, from 1; null for other files
Quality, as the platform names it or by the short side in pixels, such as 720p or 1080p; null where there is none
Width, in pixels
Height, in pixels
Codec, such as h264, h265, h266, av1 or aac; ByteDance's own BVC2 (Douyin, TikTok) is bytevc2, which many players cannot play, so pick an h264 or h265 file for a common format; null where the platform does not sayh264h265h266av1aacbytevc2
Bit rate, in bits a second
File size, in bytes
File format: mp4, m4s (Bilibili's separate picture and sound streams), mp3, m4a, jpeg, png, webp, heic, gif, kvif (Kuaishou's image format) or srt; null where the address does not saymp4m4smp3m4ajpegpngwebpheicgifkvifsrt
Length of an audio or video file, in seconds
Name of the background music; null for other files
Language code of the subtitles, such as zh-CN or en-US
Whether the file carries the platform's watermark
Address of the file
Other addresses of the same file, for when the main one fails
When the address expires, as its signature says; null where the signature does not say. Once it has, call again for new addresses
Request headers the address has to be fetched with, keyed by the header's name in lower case; absent on platforms whose addresses need none
The Referer to send
The platform's play address, which redirects to the file's address of the moment and lasts longer than url; null where there is none
The video of a live photo; null for a picture that is not one
Address of the live photo's video
Length of the live photo's video, in seconds
How to decrypt the files, where they are encrypted; null where they are not
The method. isaac64_xor_head: seed ISAAC64 with key, take each 64-bit output as 8 big-endian bytes for a key stream as long as bytes says, and XOR it over the start of the file; the rest is left as it isisaac64_xor_head
The key, good only for the addresses of the same answer
How many bytes at the start of the file are encrypted
Which numbers of this item are approximate or lower bounds; absent when all are exact
Path of the field, such as metrics.views
Approximate, or a lower boundapproximatelower_bound
Typical size of one item: compact 2.1 KB, standard 2.1 KB, full 2.1 KB (measured on the response recorded 2026-10-12 19:04 UTC).
What this endpoint cannot give
files[].indexThe platform has nonefiles[].codecNot provided herefiles[].bitrateNot provided herefiles[].titleThe platform has nonefiles[].langThe platform has nonefiles[].watermarkNot provided herefiles[].backup_urlsNot provided herefiles[].expires_atNot provided herefiles[].headersThe platform has nonefiles[].headers.refererThe platform has nonefiles[].stable_urlThe platform has nonefiles[].liveThe platform has nonefiles[].live.urlThe platform has nonefiles[].live.durationThe platform has noneWhen you are charged
X-Max-Price to refuse anything above your own limit)Prices as read 2026-11-22 09:40 UTC, under price book 21, in effect since 2026-11-21 15:05 UTC; the Playground reads the price in force before a run.
If the object does not exist
The answer is 404 not_found. charged and amount in the body say what this one cost. reason says which: not_found (it does not exist) or private_or_deleted.
Errors
What this endpoint can answer with; codes all endpoints share are on the full list.
invalid_paramsA parameter is invalidRetry: After a fixAs the answer's charged field saysinsufficient_balanceThe balance is too lowRetry: After a fixNonot_foundThe object does not exist, is private or was deletedRetry: NoAs the answer's charged field saysupstream_failedNo result came back this time and nothing was charged; retry shortlyRetry: YesNotimeoutThe data did not arrive in time; retry with the same idempotency keyRetry: YesNoQuestions
How much does the WeChat Channels video download API cost?
$0.0200 per call. The most one call can cost is $0.0200.
When am I not charged?
Errors and timeouts are not charged.
What happens if the object does not exist?
The answer is 404 not_found. charged and amount in the body say what this one cost. reason says which: not_found (it does not exist) or private_or_deleted.
How much for 100 posts?
By the call, whatever the length of the video or the number of files: $0.0200 a call, so 100 posts cost 100 times $0.0200. Asking again for new addresses is another call at the same price.
The downloaded file does not play. Why?
WeChat Channels encrypts the first 131072 bytes of the file. decrypt says how to undo it: seed ISAAC64 with decrypt.key, take each 64-bit output as 8 big-endian bytes, and XOR that key stream over the first decrypt.bytes bytes; the rest is left as it is, and the result is a playable MP4. Use the address and the key of the same answer.
The address gives 403 or has expired. What now?
Fetch the address as it is: no header or cookie is needed. The address and the key are issued anew with every answer: once the address stops opening, call again and use the new pair.
How do I get the files of every post of an account?
List the account's posts with wechat_channels.users.videos.list, a page at a time, then call wechat_channels.videos.media.get once for each post's id. In an AI agent that is one sentence: "Download and decrypt the last 10 videos of this WeChat Channels account with OneFeedAPI."
How do I use it in ChatGPT or Claude?
Connect OneFeedAPI once (one prompt with your key, on the agents page), then ask in plain words, pasting the link as it is. The agent calls wechat_channels.videos.media.get and each call is charged $0.0200.
30-day availability
100% of the time over the last 30 days, this endpoint was serving calls: at least one of its routes was taking them, so it was neither paused nor down.
A failed call is not charged.
Every endpoint's state now, and each incident with whether anyone was charged: the status page →
The same thing on other platforms
All 17 WeChat Channels endpoints
Use it in your AI
Copy this prompt
Your API key is built in, so there is nothing to configure.
No account yet? Sign-up takes an email and no card, and a failed call is never charged.
Paste it into your agent
It reads the page the prompt points to and connects itself.
Now ask something
Use one of these, or your own words.
Prefer to set it up by hand?
onefeedapi setupgives the agents on your machine (Claude Code, Codex, Cursor) the OneFeedAPI MCP server and the base skill. The key is read from ONEFEED_API_KEY; none is written into a file.MCP server: https://onefeedapi.com/mcp. The entry for your client is under MCP in the request examples of this page; then ask your agent to call wechat_channels.videos.media.get.Other clients →Show the text
Use the OneFeedAPI endpoint wechat_channels.videos.media.get (WeChat Channels video download). Give a WeChat Channels video by its ID, share link or a search result's export/ ID and get the video file's address (with width, height, size and length), the cover, and the method and key that decrypt it: only the first 131072 bytes of a Channels file are encrypted, and once decrypted as decrypt says, it is a playable MP4. Use the address and key of one answer together; no headers are needed. Once the address stops working, another call gives a new pair. Call GET https://onefeedapi.com/v1/wechat_channels/videos/media/get with the header "Authorization: Bearer $ONEFEED_API_KEY". Read the key from the environment variable ONEFEED_API_KEY; never write it into code. Parameters: - id: The video's ID, a string of digits: the id a video list gives. Example: 14559898883113486609. - url: The video's share link, starting with weixin.qq.com/sph/. Example: https://weixin.qq.com/sph/ABgJVPnSSu. Short link: https://weixin.qq.com/sph/ABgJVPnSSu. The link has to be opened to learn what it points at, so the result cannot be checked against it. - export_id: The id of a wechat_channels.videos.search result, starting with export/. It expires: use it soon after the search. The post_id returned is the video's numeric ID. Example: export/UzFfBgAAxJeLPEsjEjWuk8zT4DCKThrNP5lzaPLJoEvz7FZtxw. - view: How much of each item to return. All three cost the same. Values: compact, standard (default), full. - fields: Return only these fields. Each by its path, such as author.name. Price: $0.0200 per call. Errors and timeouts are not charged. The answer is JSON: data.item holds media files; meta.billing.amount is what this call was charged. Example: curl -G "https://onefeedapi.com/v1/wechat_channels/videos/media/get" \ --data-urlencode "id=14559898883113486609" \ -H "Authorization: Bearer $ONEFEED_API_KEY" Full reference in Markdown: https://onefeedapi.com/apis/wechat_channels/videos/media/get.md
Names and identifiers
- In Chinese
- 视频号视频下载(文件地址和解密)API
- Endpoint ID
wechat_channels.videos.media.get- Endpoint
GET /v1/wechat_channels/videos/media/get
Start with one key.
253 endpoints on 21 platforms, from $0.0003 a call. Errors and timeouts are not charged.