Is there an API that gets a video's file address? Douyin, Xiaohongshu and WeChat Channels (2026)
1 call on each of 3 platforms: Douyin's douyin.videos.get gives ext.video_url ($0.0020), a Xiaohongshu video note's xiaohongshu.videos.get gives ext.video_url and the platform's Chinese subtitles ($0.0200), WeChat Channels' wechat_channels.videos.get gives ext.video_url with ext.decode_key to decrypt it ($0.0200); the addresses expire, so use them straight away. OneFeedAPI reads Douyin with 41 endpoints, from $0.0020 a call; a failed call is not charged, and the free trial covers up to 333 calls.
Updated 2026-11-21
How do the three differ?
The address and key differ in every answer; use the pair from one answer. They are the platforms' own addresses: mind copyright and the platforms' rules when you download.
| Platform | Give | Get |
|---|---|---|
| Douyin | The video ID, its link or a whole share text | A signed video address, its length and cover; each answer signs it anew, and an old address stops opening within weeks |
| Xiaohongshu | A video note's ID or link (an image note is for the note detail) | The video file's address, its length and cover, and the Chinese subtitles the platform made (SRT, usable as a transcript) |
| WeChat Channels | The video's ID, a search result's export/ ID or its share link | An encrypted file's address and its key: only the first 131072 bytes are encrypted; seed ISAAC64 with ext.decode_key for a key stream, XOR it over them, and it is a playable MP4 |
How do I use it from an AI?
Once connected, say “get this Douyin video's file address and length”, or “get this Xiaohongshu video note's subtitles as a transcript”.
To connect: paste this to your AI assistant: “Read https://onefeedapi.com/agents.md and set up OneFeedAPI here. My API key is dx_…; use it for every OneFeedAPI call.” A client that takes a remote MCP server can be given https://onefeedapi.com/mcp with the header Authorization: Bearer <key> instead.
Which endpoint gets all of a post's files without watermark, or what is said in it?
Each platform has a file endpoint and a transcript endpoint, and each takes the link or share text (or the ID). A file endpoint returns the video without watermark in each quality, the cover and the pictures, one entry each in files with width, height and size; a transcript endpoint returns the whole text, each sentence with its start and end, and ready SRT subtitles, and can tell speakers apart. Bilibili, Kuaishou and Weibo have both kinds too.
The address gives 403: where a file carries headers (Bilibili's want a Referer), send those headers with the request; Douyin's, Xiaohongshu's and WeChat Channels' addresses are fetched as they are, with no header. Once an address has expired (expires_at is when its signature says so) or stops opening, call again for new ones. On WeChat Channels, use the address and key of one answer together.
For a transcript, a video of up to 5 minutes gets its text in the same call. One of 5 minutes to 2 hours is answered with a job, its status processing: call the same endpoint with job after retry_after_seconds seconds for the text, within 24 hours of submitting, at the same price, charged only when the text is delivered. Nothing is charged when nobody speaks or the call fails.
A creator's videos in bulk: list them with the account's video list, Douyin's douyin.users.videos.list ($0.0020 a page), Xiaohongshu's xiaohongshu.users.notes.list ($0.0200 a page) or WeChat Channels' wechat_channels.users.videos.list ($0.0200 a page), then give each one's ID or link to the transcript endpoint in turn.
Under the table is the request to wechat_channels.videos.media.get as code, and a response recorded for real, with the day it was recorded under it: files holds the video's and the cover's addresses, decrypt the method, the key and how many bytes are encrypted. The code reads the key from the environment variable ONEFEED_API_KEY.
| Platform | All the files | What is said |
|---|---|---|
| Douyin | douyin.videos.media.get, $0.0020 a call; with the platform's play address, stable_url | douyin.videos.transcript.get, $0.0020 a call plus $0.0038 a minute of video |
| Xiaohongshu | A video note: xiaohongshu.videos.media.get, $0.0200 a call, with the platform's subtitle files; an image note's pictures and live photos: xiaohongshu.notes.media.get, $0.0200 a call | xiaohongshu.videos.transcript.get, $0.0200 a call plus $0.0038 a minute when the speech is recognised, nothing more when the platform's subtitles are used |
| WeChat Channels | wechat_channels.videos.media.get, $0.0200 a call; with how to decrypt and the key, decrypt | wechat_channels.videos.transcript.get, $0.0200 a call plus $0.0038 a minute of video; OneFeedAPI does the decrypting |
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
{
"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.
WeChat Channels video download · $0.0200 / a call · Parameters, fields and errors on the endpoint's page →
Why OneFeedAPI
- Steady: endpoints were available 99.9% of the last 30 days, on a public status page you can check.
- Fast: a paid call took 2.2 seconds at the median over the last 7 days (counted 2026-11-06).
- Fewer tokens: across 36 endpoints on Douyin, one recorded real response each, the platform's own JSON comes to 2.4M tokens and what an AI reads through OneFeedAPI's MCP server to 72k, 97% fewer; the JSON of a direct API call is 96% fewer too (counted 2026-11-06). Every platform answers in one shape: the author in
author, counts inmetrics, the next page inpage.next_cursor, so another platform needs no new parser. - See before you pay: every endpoint's page shows a recorded real response, field by field.
- Spending you control: a failed call is not charged; each key can have a limit,
X-Max-Pricecaps one call, and the sameIdempotency-Keywithin 24 hours is never charged twice. - Ready for AI: a remote MCP server listed in the official MCP registry as
com.onefeedapi/mcp, usable from Claude, Cursor and ChatGPT. - Free trial of up to 333 calls, no card.
Endpoints
Each with its price; every page has the parameters, the fields and a recorded response.
Start with one key.
253 endpoints on 21 platforms, from $0.0003 a call. Errors and timeouts are not charged.