Xiaohongshu video API: the video file and its subtitles (2026)
Call Xiaohongshu's video note endpoint, xiaohongshu.videos.get, with the note's ID or link, at $0.0200 a call: it returns the video file's address (an H.264 MP4), its length, its cover, and the Chinese subtitles the platform made for it (an SRT file with timings). OneFeedAPI reads Xiaohongshu (RedNote) with 33 endpoints, from $0.0200 a call; a failed call is not charged, and the free trial covers up to 333 calls.
Updated 2026-11-21
What comes back?
The note's title, text, author, likes, saves and comments, plus these (in the full view: ask with view: "full"):
| Field | What it is |
|---|---|
ext.video_url | The video file, the H.264 MP4 the platform plays |
ext.subtitle_url | The platform's Chinese subtitles, an SRT file with timings; empty where it made none |
ext.duration | Length, in seconds |
ext.cover_url | The cover |
Does it work on an image note?
No: this endpoint takes video notes only. An image note's ID is answered as not found; an image note is the note detail's, xiaohongshu.notes.get, which reads a video note's text and counts too, without the video and subtitles. A note taken down or hidden is answered as no longer visible.
How do I use it from an AI?
Once connected, say “get the subtitles of this Xiaohongshu video, make them a transcript and sum it up (a link)”. Use the videos and their words within the platform's rules and their authors' rights.
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.
How do I get every file without watermark, or the words of a video the platform made no subtitles for?
The files are xiaohongshu.videos.media.get's: give it the video note's ID, link or share text, at $0.0200 a call, and it returns every quality of the video without watermark in each codec (H.264, H.265 and the like), with width, height, bit rate and size and backup addresses, plus the cover and the subtitle files the platform made (SRT, by language). An image note's original pictures and live photos, without watermark, are xiaohongshu.notes.media.get's, at $0.0200 a call.
The address gives 403 or has expired: Xiaohongshu's addresses are fetched as they are, with no header; where another platform's files carry headers (Bilibili's want a Referer), send those headers with the request. When the main address fails, try those in backup_urls; once none opens, call again for new addresses.
For a video the platform made no subtitles for, xiaohongshu.videos.transcript.get takes the link, share text or ID: it uses the platform's subtitles where there are some and recognises the speech where there are none, and returns the whole text, each sentence with its start and end, and ready SRT subtitles either way. $0.0200 a call, plus $0.0038 a minute of video when the speech is recognised, nothing more when the platform's subtitles are used; nothing when nobody speaks or the call fails.
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.
A creator's videos in bulk: page through their notes with xiaohongshu.users.notes.list ($0.0200 a page), then give each video note's ID or link to xiaohongshu.videos.transcript.get in turn.
Below is the request to xiaohongshu.videos.media.get as code, and a response recorded for real, with the day it was recorded under it. The code reads the key from the environment variable ONEFEED_API_KEY.
curl -G "https://onefeedapi.com/v1/xiaohongshu/videos/media/get" \ --data-urlencode "id=6ac7701f000000001800508c" \ -H "Authorization: Bearer $ONEFEED_API_KEY"
# pip install onefeedapi from onefeedapi import OneFeedAPI dx = OneFeedAPI() # reads ONEFEED_API_KEY result = dx.xiaohongshu.videos.media.get(id="6ac7701f000000001800508c") 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.xiaohongshu.videos.media.get({ id: "6ac7701f000000001800508c" }); console.log(result.data.item);
onefeedapi call xiaohongshu.videos.media.get id=6ac7701f000000001800508c
{
"code": "ok",
"request_id": "3ec4992d-dda6-42cb-9ef4-dc7747932788",
"data": {
"item": {
"post_id": "6611b329000000001a2828ff",
"type": "video",
"title": "关于周末露营,我踩过的五个坑",
"author": { "id": "6d819c8a00000000b2088b38", "name": "小林的周末" },
"duration": 85,
"files": [
{
"kind": "video",
"quality": "720p",
"width": 720,
"height": 1280,
"codec": "h264",
"bitrate": 2336329,
"size": 24901764,
"format": "mp4",
"duration": 85.268,
"lang": null,
"watermark": false,
"url": "https://www.xiaohongshu.com/explore/6b6461f800000000777633d7",
"backup_urls": [
"https://www.xiaohongshu.com/explore/6593898400000000e555c826",
"https://www.xiaohongshu.com/explore/664aafcc00000000cc397d5b"
]
},
{
"kind": "video",
"quality": "720p",
"width": 720,
"height": 1280,
"codec": "h265",
"bitrate": 956555,
"size": 10195443,
"format": "mp4",
"duration": 85.268,
"lang": null,
"watermark": false,
"url": "https://www.xiaohongshu.com/explore/62954f2900000000862c7fec",
"backup_urls": [
"https://www.xiaohongshu.com/explore/6525f4d100000000ecd3a15a",
"https://www.xiaohongshu.com/explore/6ba7148d00000000dd92957b"
]
},
// … 4 more
]
}
},
"warnings": [],
"meta": {
"capability": "xiaohongshu.videos.media.get",
"result_status": "complete",
"fetched_at": "2026-11-06T16:42:10.000Z",
"cached": false,
"replayed": false,
"unavailable": {
"files.index": "platform",
"files.title": "platform",
"files.expires_at": "capability",
"files.headers": "platform",
"files.stable_url": "platform",
"files.live": "platform",
"decrypt": "platform"
},
"billing": {
"amount": "0.02",
"currency": "USD",
"balance_after": "9.98"
}
}
}From a response recorded 2026-11-06 16:42 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.
RedNote (Xiaohongshu) video downloader · $0.0200 / a call · Parameters, fields and errors on the endpoint's page →
Why OneFeedAPI
- Steady: endpoints were available 100% of the last 30 days, on a public status page you can check.
- Fast: a paid call took 1.3 seconds at the median over the last 7 days (counted 2026-11-06).
- Fewer tokens: across 21 endpoints on Xiaohongshu (RedNote), one recorded real response each, the platform's own JSON comes to 480k tokens and what an AI reads through OneFeedAPI's MCP server to 36k, 92% fewer; the JSON of a direct API call is 85% 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.