# 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`.

[RedNote (Xiaohongshu) video downloader](https://onefeedapi.com/apis/xiaohongshu/videos/media/get/), $0.0200 / a call

cURL

```bash
curl -G "https://onefeedapi.com/v1/xiaohongshu/videos/media/get" \
  --data-urlencode "id=6ac7701f000000001800508c" \
  -H "Authorization: Bearer $ONEFEED_API_KEY"
```

Python

```python
# 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"])
```

TypeScript

```typescript
// 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);
```

CLI

```bash
onefeedapi call xiaohongshu.videos.media.get id=6ac7701f000000001800508c
```

Recorded response: 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.

```jsonc
{
  "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"
    }
  }
}
```

## 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 in `metrics`, the next page in `page.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-Price` caps one call, and the same `Idempotency-Key` within 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

- [Xiaohongshu video note with its video and subtitles](https://onefeedapi.com/apis/xiaohongshu/videos/get/) ($0.0200 / a call): Get one Xiaohongshu video note by ID or link: title, text, author, engagement counts, plus the video file's address, its length, its cover, the Chinese subtitles the platform made (SRT, usable as a transcript) and whether it is a brand partnership note on record. Video notes only; an image note is the note detail's.
- [Xiaohongshu note detail](https://onefeedapi.com/apis/xiaohongshu/notes/get/) ($0.0200 / a call): Get one Xiaohongshu note by ID or link: title, text, author, engagement counts, images. It also says whether it is a brand partnership note on record.
- [Xiaohongshu note search](https://onefeedapi.com/apis/xiaohongshu/notes/search/) ($0.0200 / a call): Search Xiaohongshu notes by terms: title, text, author, engagement counts, images, and a link that opens. Each says whether it is a brand partnership note on record. By relevance, newest, most liked, most commented or most saved; video or image notes only; published in the last day, week or half year.
- [RedNote (Xiaohongshu) video downloader](https://onefeedapi.com/apis/xiaohongshu/videos/media/get/) ($0.0200 / a call): 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.
- [RedNote (Xiaohongshu) image downloader, originals and live photos](https://onefeedapi.com/apis/xiaohongshu/notes/media/get/) ($0.0200 / a call): Give a RedNote (Xiaohongshu) image note by ID, link or share text and get each picture's address without watermark, at the largest size the platform keeps, with its width, height and format, and for a live photo the address of its video. The addresses need no headers; once they expire, another call gives new ones. Image notes only; a video note's files are xiaohongshu.videos.media.get's.
- [Xiaohongshu video transcript (video to text)](https://onefeedapi.com/apis/xiaohongshu/videos/transcript/get/) ($0.0200 / a call, plus each minute recognised): Give a Xiaohongshu video note's link, share text or ID and get what is said in it: the whole text, each sentence with its start and end time, and ready SRT subtitles, with the title, author and length; the platform's own subtitles where it made them, the speech recognised where it did not, and speakers can be told apart. Charged a call, plus by the minute of video when its speech is recognised (not when the platform's subtitles are used); nothing when nobody speaks. Videos of up to 5 minutes. A video over 5 minutes and up to 2 hours is answered at once with a job: call again with it a little later for the text, at the same price, charged only when the text is delivered.

## How-to guides

- [Does Xiaohongshu (RedNote) have an API? Get notes and comments with Python (2026)](https://onefeedapi.com/guides/xiaohongshu-api-python/)

## More about Xiaohongshu (RedNote)

- [Xiaohongshu (RedNote) API](https://onefeedapi.com/apis/xiaohongshu/)
- [How do I export Xiaohongshu (RedNote) data?](https://onefeedapi.com/answers/export-xiaohongshu-data/)
- [Can ChatGPT read Xiaohongshu (RedNote)?](https://onefeedapi.com/answers/can-chatgpt-read-xiaohongshu/)
- [What is xsec_token on Xiaohongshu?](https://onefeedapi.com/answers/xiaohongshu-xsec-token/)
- [What is a Xiaohongshu note ID, and what is an xhslink link?](https://onefeedapi.com/answers/xiaohongshu-note-id-and-xhslink/)
- [What is CPE on Xiaohongshu PGY and on Douyin Xingtu?](https://onefeedapi.com/answers/xiaohongshu-pgy-cpe-vs-xingtu-cpe/)
- [What is Xiaohongshu PGY?](https://onefeedapi.com/answers/what-is-xiaohongshu-pgy/)
- [Which Xiaohongshu data API? The official platform, third-party APIs or your own scraper (2026)](https://onefeedapi.com/answers/best-xiaohongshu-data-api/)
- [Can Xiaohongshu's open platform read notes and comments? (2026)](https://onefeedapi.com/answers/xiaohongshu-open-platform-api/)
- [xiaohongshu-mcp keeps losing its login: is there a Xiaohongshu MCP that needs no login? (2026)](https://onefeedapi.com/answers/xiaohongshu-mcp-without-login/)
- [How do Claude Code, Cursor and Codex read Xiaohongshu without cookies? (2026)](https://onefeedapi.com/answers/claude-code-cursor-codex-read-xiaohongshu/)
- [How do I add a Xiaohongshu or Douyin Skill to my AI? (2026)](https://onefeedapi.com/answers/xiaohongshu-douyin-skill/)
- [How do I export all of a Xiaohongshu creator's notes to Excel? (2026)](https://onefeedapi.com/answers/export-xiaohongshu-creator-notes-excel/)
- [How do I export Xiaohongshu comments in bulk to find what users complain about? (2026)](https://onefeedapi.com/answers/export-xiaohongshu-comments-pain-points/)
- [How do I collect the numbers of many Xiaohongshu notes after a campaign? (2026)](https://onefeedapi.com/answers/collect-xiaohongshu-note-metrics-after-campaign/)
- [How do I check Xiaohongshu note search rankings in bulk? (2026)](https://onefeedapi.com/answers/xiaohongshu-search-rank-tracking/)
- [BettaFish has no data: how do I feed it public Xiaohongshu and Douyin data? (2026)](https://onefeedapi.com/answers/bettafish-data-source/)
- [xiaohongshu-mcp says 300011 Account abnormal, or redirects to rednote abroad: what now? (2026)](https://onefeedapi.com/answers/xiaohongshu-mcp-300011/)
- [MediaCrawler gets blocked on Xiaohongshu with status 461: what do I switch to? (2026)](https://onefeedapi.com/answers/mediacrawler-alternative/)
- [Do Chanmama, Qiangua and Newrank have APIs? What if I want the raw data? (2026)](https://onefeedapi.com/answers/chanmama-qiangua-newrank-api/)
- [Is it legal to collect public Xiaohongshu and Douyin data through a third-party API? (2026)](https://onefeedapi.com/answers/is-public-social-data-collection-legal/)
- [What does status 461 mean on Xiaohongshu? (2026)](https://onefeedapi.com/answers/xiaohongshu-461-status-code/)
- [How do I get Xiaohongshu data into n8n? (2026)](https://onefeedapi.com/answers/xiaohongshu-n8n/)
- [How do I sync Xiaohongshu note data to a Feishu Base? (2026)](https://onefeedapi.com/answers/xiaohongshu-feishu-base/)
- [How do I connect Xiaohongshu data to Dify? (MCP, 2026)](https://onefeedapi.com/answers/xiaohongshu-dify/)
- [Will using a data API get my Xiaohongshu or Douyin account banned? (2026)](https://onefeedapi.com/answers/will-data-api-get-my-account-banned/)
- [Are data APIs like OneFeedAPI compliant? (2026)](https://onefeedapi.com/answers/is-onefeedapi-compliant/)
- [Is OneFeedAPI legit and reliable? What you can check yourself (2026)](https://onefeedapi.com/answers/is-onefeedapi-reliable/)
- [How do I collect hit topic ideas on Xiaohongshu in bulk? (2026)](https://onefeedapi.com/answers/xiaohongshu-hit-topic-ideas/)
- [How do I research products to sell on Xiaohongshu: what sells and what buyers say? (2026)](https://onefeedapi.com/answers/xiaohongshu-product-research/)
- [How do I spot complaints about my brand on Xiaohongshu at low cost? (2026)](https://onefeedapi.com/answers/spot-xiaohongshu-brand-complaints/)
- [My Xiaohongshu scraper keeps getting blocked: what does keeping it up cost against paying per call? (2026)](https://onefeedapi.com/answers/xiaohongshu-scraper-blocked-cost/)
- [How do I export Xiaohongshu PGY creators in bulk? (2026)](https://onefeedapi.com/answers/export-xiaohongshu-pgy-creators/)
- [What are x-s and x-t on Xiaohongshu? (2026)](https://onefeedapi.com/answers/xiaohongshu-x-s-x-t/)
- [What do Xiaohongshu error codes 300011, 300012 and 300013 mean? (2026)](https://onefeedapi.com/answers/xiaohongshu-300011-300013-error-codes/)
- [How do I connect Xiaohongshu data to Coze (扣子)? (2026)](https://onefeedapi.com/answers/xiaohongshu-coze/)
- [China social data MCP for Claude and Cursor: Xiaohongshu, Douyin, WeChat (2026)](https://onefeedapi.com/answers/china-social-data-mcp/)
- [China social media data API: one key for Xiaohongshu, Douyin, WeChat (2026)](https://onefeedapi.com/answers/one-key-china-social-data-api/)
- [Product reviews and comments from Chinese social media in bulk (2026)](https://onefeedapi.com/answers/product-reviews-chinese-social-media/)
- [Chinese social media data API FAQ, platform by platform (2026)](https://onefeedapi.com/answers/social-media-data-api-faq/)
- [Chinese social media alternative data for investment research (2026)](https://onefeedapi.com/answers/chinese-social-media-alternative-data/)
- [Xiaohongshu (RedNote) API for AI agents and LLMs: fewer tokens, called from Claude and Cursor (2026)](https://onefeedapi.com/answers/xiaohongshu-api-for-ai-agents/)
- [Xiaohongshu video to text: the transcript from the platform's own subtitles (2026)](https://onefeedapi.com/answers/xiaohongshu-video-to-text/)
- [Xiaohongshu creator follower growth: followers day by day (2026)](https://onefeedapi.com/answers/xiaohongshu-creator-follower-growth/)
- [How to find Xiaohongshu creators similar to one you like (2026)](https://onefeedapi.com/answers/find-similar-xiaohongshu-creators/)
- [Xiaohongshu trending notes: getting the viral notes by API (2026)](https://onefeedapi.com/answers/xiaohongshu-trending-notes-api/)
- [Xiaohongshu creator CPM, cost per engagement and cost per read: how to look them up (2026)](https://onefeedapi.com/answers/xiaohongshu-creator-cpm-cost/)
- [Xiaohongshu cost per spillover store visit: what it is and how to get it (2026)](https://onefeedapi.com/answers/xiaohongshu-spillover-store-visit-cost/)
- [Are a Xiaohongshu creator's followers real? Active, reading and buying followers (2026)](https://onefeedapi.com/answers/xiaohongshu-creator-follower-quality/)
- [Xiaohongshu creator CPM day by day: PGY's core figures trend (2026)](https://onefeedapi.com/answers/xiaohongshu-creator-cpm-trend/)
- [Choosing Xiaohongshu creators in bulk: building a creator list by API (2026)](https://onefeedapi.com/answers/xiaohongshu-kol-selection-api/)
- [Every figure on a Xiaohongshu PGY creator page: can an API get it? Field by field (2026)](https://onefeedapi.com/answers/xiaohongshu-pgy-creator-page-fields/)
- [Organic and promoted traffic on PGY notes: how to read organic reads alone (2026)](https://onefeedapi.com/answers/xiaohongshu-pgy-organic-vs-promoted-reads/)
- [How to list only a Xiaohongshu creator's sponsored notes (2026)](https://onefeedapi.com/answers/xiaohongshu-creator-sponsored-notes/)
- [A Xiaohongshu sponsored note's campaign figures (impressions, reads, follows) by API (2026)](https://onefeedapi.com/answers/xiaohongshu-sponsored-note-campaign-report/)
- [Is a Xiaohongshu creator easy to reach and active? How to check (2026)](https://onefeedapi.com/answers/xiaohongshu-creator-easy-to-reach-active/)
- [Where a Xiaohongshu creator's notes get their traffic: explore, search, following (2026)](https://onefeedapi.com/answers/xiaohongshu-note-traffic-sources/)
- [How to tell a Xiaohongshu note reported as sponsored (2026)](https://onefeedapi.com/answers/xiaohongshu-sponsored-note-detection/)
- [Can PGY's find-creator filters be used through an API? (2026)](https://onefeedapi.com/answers/xiaohongshu-pgy-find-creator-filters-api/)
- [Can you see the reads and impressions of someone else's Xiaohongshu note? (2026)](https://onefeedapi.com/answers/xiaohongshu-note-reads-impressions/)
- [Which values do PGY's creator filters take for category, feature, persona and location? The full list (2026)](https://onefeedapi.com/answers/xiaohongshu-pgy-filter-values/)
- [Which creators has a competitor paid on Xiaohongshu? Working back from reported sponsored notes (2026)](https://onefeedapi.com/answers/xiaohongshu-competitor-sponsored-creators/)
- [How to find the Xiaohongshu notes of the last week with the most comments or saves, videos or image notes alone (2026)](https://onefeedapi.com/answers/xiaohongshu-search-most-comments-favorites/)
- [How to get a Xiaohongshu note's top comments, by likes, with IP locations (2026)](https://onefeedapi.com/answers/xiaohongshu-top-comments/)
- [Shortlisting Xiaohongshu beauty and skincare creators in bulk by category, followers, rate and CPM (2026)](https://onefeedapi.com/answers/xiaohongshu-beauty-skincare-creators/)
- [How to shortlist Xiaohongshu tech and gadget creators in bulk (2026)](https://onefeedapi.com/answers/xiaohongshu-tech-creators/)
- [Xiaohongshu PGY or Douyin Xingtu: how they differ, and their creator data side by side (2026)](https://onefeedapi.com/answers/xiaohongshu-pgy-vs-douyin-xingtu/)
- [How does QwenWork get Xiaohongshu, Douyin and WeChat data? Add one connector (2026)](https://onefeedapi.com/answers/qwenwork-social-media-data/)
- [How do I rank the hottest content for a keyword? Douyin and Xiaohongshu by likes, WeChat Channels by hottest (API, 2026)](https://onefeedapi.com/answers/keyword-viral-content-ranking-api/)
- [How do I collect Xiaohongshu data? The official back ends, plugins, scrapers and data APIs (2026)](https://onefeedapi.com/answers/how-to-collect-xiaohongshu-data/)
- [How do I look up a Xiaohongshu keyword's search index? Can it be done in bulk? (2026)](https://onefeedapi.com/answers/xiaohongshu-keyword-search-index/)
- [How to get Xiaohongshu (RedNote) note comments in bulk](https://onefeedapi.com/guides/xiaohongshu-note-comments/)
- [How to look up Xiaohongshu (RedNote) PGY creator rates and audience](https://onefeedapi.com/guides/xiaohongshu-pgy-creator-rates/)
- [How to search and export Xiaohongshu (RedNote) notes by keyword](https://onefeedapi.com/guides/xiaohongshu-search-export-notes/)
- [How to get a keyword's search index and related keywords on Xiaohongshu PGY](https://onefeedapi.com/guides/xiaohongshu-pgy-keywords/)
- [Social media data MCP servers: reading data, not posting](https://onefeedapi.com/compare/social-media-data-mcp-servers/)
- [Your own scraper or a data API? Cost, upkeep and account risk (2026)](https://onefeedapi.com/compare/scraper-vs-data-api/)

---

Catalog revision dc959672dd18e2d0. [HTML version](https://onefeedapi.com/answers/xiaohongshu-video-url-subtitles-api/)
