RedNote (Xiaohongshu) video downloader API
Give a RedNote (Xiaohongshu) video note by ID, link or share text and get the address of every file of its video, without watermark: each quality in each codec (H.264, H.265 and the like) with its width, height, bit rate and size and backup addresses, the cover, and the subtitle files the platform made (SRT, by language). The addresses need no headers; once one stops working, another call gives new ones. Video notes only; an image note's pictures are xiaohongshu.notes.media.get's. One object a call; $0.0200 per call. Errors and timeouts are not charged.
id is in the link: xiaohongshu.com/explore/<id>. Or pass the whole link as url.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/xiaohongshu/videos/media/get" \ --data-urlencode "id=6ac7701f000000001800508c" \ -H "Authorization: Bearer $ONEFEED_API_KEY"
{
"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.
Size as sent: 3.1 KB in the standard view (2.4 KB compact, 3.1 KB full).
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
{
"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 xiaohongshu.videos.media.get.
Parameters
id, urlNote ID, 24 hexadecimal characters. With only a link or a share text, give it as url. Example: 6ac7701f000000001800508c.
id, urlLink to the note, pasted as it is: the https://www.xiaohongshu.com/explore/… address from the browser, the https://www.xiaohongshu.com/discovery/item/… link the website shares (query parameters such as xsec_token are fine), a whole share text with such a link in it, or the xhslink.com short link the app copies (alone or in its share text). A short link is opened once to see which note it leads to; where it cannot be, paste the note's full link or its ID. Example: https://www.xiaohongshu.com/explore/6ac7701f000000001800508c?xsec_token=ABx1y2z3. Full link: https://www.xiaohongshu.com/explore/6ac7701f000000001800508c?xsec_token=ABx1y2z3. Share text with a link inside: 周末咖啡探店合集 https://www.xiaohongshu.com/discovery/item/6ac7701f000000001800508c?xsec_token=ABx1y2z3 复制这段文字,打开小红书查看.
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.
- 13 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 1.9 KB, standard 2.6 KB, full 2.6 KB (measured on the response recorded 2026-11-06 16:42 UTC).
What this endpoint cannot give
files[].indexThe platform has nonefiles[].titleThe platform has nonefiles[].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 nonedecryptThe platform has nonedecrypt.methodThe platform has nonedecrypt.keyThe platform has nonedecrypt.bytesThe 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 RedNote (Xiaohongshu) video downloader 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 address gives 403 or has expired. What now?
Fetch the address as it is: no header or cookie is needed. Each file also has backup addresses on the platform's other hosts (backup_urls); once none opens, call again for new addresses.
Which quality is the highest? Are there subtitles?
Every quality the platform encoded, in each codec (H.264, H.265 and the like), each with its width and height: the largest is the highest it has. The subtitles the platform made come as SRT files by language, where it made them. The files carry no watermark.
How do I get the files of every post of an account?
List the account's posts with xiaohongshu.users.notes.list, a page at a time, then call xiaohongshu.videos.media.get once for each post's id. In an AI agent that is one sentence: "Download the videos of this RedNote account's last 20 notes 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 xiaohongshu.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 33 Xiaohongshu (RedNote) 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 xiaohongshu.videos.media.get.Other clients →Show the text
Use the OneFeedAPI endpoint xiaohongshu.videos.media.get (RedNote (Xiaohongshu) video downloader). Give a RedNote (Xiaohongshu) video note by ID, link or share text and get the address of every file of its video, without watermark: each quality in each codec (H.264, H.265 and the like) with its width, height, bit rate and size and backup addresses, the cover, and the subtitle files the platform made (SRT, by language). The addresses need no headers; once one stops working, another call gives new ones. Video notes only; an image note's pictures are xiaohongshu.notes.media.get's. Call GET https://onefeedapi.com/v1/xiaohongshu/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: Note ID, 24 hexadecimal characters. With only a link or a share text, give it as url. Example: 6ac7701f000000001800508c. - url: Link to the note, pasted as it is: the https://www.xiaohongshu.com/explore/… address from the browser, the https://www.xiaohongshu.com/discovery/item/… link the website shares (query parameters such as xsec_token are fine), a whole share text with such a link in it, or the xhslink.com short link the app copies (alone or in its share text). A short link is opened once to see which note it leads to; where it cannot be, paste the note's full link or its ID. Example: https://www.xiaohongshu.com/explore/6ac7701f000000001800508c?xsec_token=ABx1y2z3. Full link: https://www.xiaohongshu.com/explore/6ac7701f000000001800508c?xsec_token=ABx1y2z3. Share text with a link inside: 周末咖啡探店合集 https://www.xiaohongshu.com/discovery/item/6ac7701f000000001800508c?xsec_token=ABx1y2z3 复制这段文字,打开小红书查看. - 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/xiaohongshu/videos/media/get" \ --data-urlencode "id=6ac7701f000000001800508c" \ -H "Authorization: Bearer $ONEFEED_API_KEY" Full reference in Markdown: https://onefeedapi.com/apis/xiaohongshu/videos/media/get.md
Names and identifiers
- In Chinese
- 小红书无水印视频下载地址(各档清晰度和字幕)API
- Endpoint ID
xiaohongshu.videos.media.get- Endpoint
GET /v1/xiaohongshu/videos/media/get
Start with one key.
253 endpoints on 21 platforms, from $0.0003 a call. Errors and timeouts are not charged.