Xiaohongshu (RedNote) video transcript (video to text) API

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. One object a call; $0.0200 a call, plus $0.0038 a minute when the speech is recognised (a part minute counts as one); none when the platform's own captions are used; at most $0.0390 a call. Errors, timeouts and objects that do not exist are not charged.

GEThttps://onefeedapi.com/v1/xiaohongshu/videos/transcript/get
Also known asrednote transcriptxiaohongshu video to textrednote video to textxiaohongshu speech to textxiaohongshu subtitlesrednote subtitlesIn Chinese: 小红书视频转文字(文案提取、逐字稿)API
id is in the link: xiaohongshu.com/explore/<id>. Or pass the whole link as url.No code: try the RedNote (Xiaohongshu) video to text →
Price$0.0200/ call, plus each minute recognised · Errors and timeouts are not charged
Returns1 objectone transcript object
When a call failsRetried for youon the same route, or a backup route; never charged
StatusLive status30-day availability 100%

Try it

Change a value and the request on the right follows.
Run · $0.0200

Sign in to run it; it runs on your own balance.

The first 2 rows of a response recorded 2026-11-21 10:00 UTC.
startend
0.064.16
4.165.57
curl -G "https://onefeedapi.com/v1/xiaohongshu/videos/transcript/get" \
  --data-urlencode "id=6ac7701f000000001800508c" \
  -H "Authorization: Bearer $ONEFEED_API_KEY"
{
  "code": "ok",
  "request_id": "99eeaa23-bff9-4cdf-909f-a936b10a46aa",
  "data": {
    "item": {
      "post_id": "6a5178d600000000903e4fc9",
      "status": "done",
      "text": "大家好,今天带大家看一下我这次周末露营带的东西。先说结论:轻、能装进一个包、不怕摔。下面一件一件说。",
      "segments": [
        {
          "start": 0.06,
          "end": 4.155,
          "text": "大家好,今天带大家看一下我这次周末露营带的东西。",
          "speaker": null
        },
        {
          "start": 4.155,
          "end": 5.565,
          "text": "先说结论:轻、能装进一个包、不怕摔。",
          "speaker": null
        },
        // … 25 more
      ],
      "duration": 85,
      "post": {
        "title": "周末露营装备清单,新手照着买就行",
        "text": "大家好,今天带大家看一下我这次周末露营带的东西。先说结论:轻、能装进一个包、不怕摔。下面一件一件说。",
        "url": "https://www.xiaohongshu.com/explore/6d8f5eeb00000000c912b62e",
        "published_at": "2026-10-08T12:01:43.000Z",
        "duration": 85,
        "author": { "id": "6d96544c000000000dda5560", "name": "山野咖啡馆" },
        "metrics": { "likes": 1370, "comments": 10 }
      }
    }
  },
  "warnings": [
    {
      "code": "fields_unparsed",
      "item": 0,
      "fields": ["job", "retry_after_seconds", "ext.charged_in"]
    }
  ],
  "meta": {
    "capability": "xiaohongshu.videos.transcript.get",
    "result_status": "complete",
    "fetched_at": "2026-11-21T10:00:49.000Z",
    "cached": false,
    "replayed": false,
    "unavailable": { "lang": "capability" },
    "billing": {
      "amount": "0.02",
      "currency": "USD",
      "balance_after": "9.98"
    }
  }
}

From a response recorded 2026-11-21 10:00 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: 5.2 KB in the standard view (1.0 KB compact, 7.8 KB full).

This example as a JSON file

curl -G "https://onefeedapi.com/v1/xiaohongshu/videos/transcript/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.transcript.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.transcript.get({ id: "6ac7701f000000001800508c" });
console.log(result.data.item);
onefeedapi call xiaohongshu.videos.transcript.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.transcript.get.

Parameters

idtextgive exactly one of id, url, job

Note ID, 24 hexadecimal characters. With only a link or a share text, give it as url. Example: 6ac7701f000000001800508c.

urltextgive exactly one of id, url, job

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 复制这段文字,打开小红书查看.

speakerstext

Whether to tell speakers apart: yes marks who said each segment (1, 2…), no does not. Values: yes, no (default). Example: no.

jobtextgive exactly one of id, url, job

The job a call with a long video's link (over 5 minutes, up to 2 hours) answered with: call this endpoint with it a little later for the text, within 24 hours of submitting. Give one of id, url and job; with job, speakers is as it was when submitted. Example: tr_047_XhsExampleJob0000000.

viewtext

How much of each item to return. All three cost the same. Values: compact, standard (default), full.

fieldslist of text

Return only these fields. Each by its path, such as author.name.

Known limits

Returned fields

data.item is one transcript object. Stable: fields are only ever added.

post_idtextcompact

ID of the post it belongs to

statustextcompact

done: the text is here; processing: a long video is still being recognised and there is no text yet: call the same endpoint with job after retry_after_seconds secondsdoneprocessing

jobtextcompact

A long video's job: call the same endpoint with it for the text, within 24 hours of submitting; only while processing

retry_after_secondsintegercompact

About how many seconds to wait before asking again; only while processing

langtextcompactNot provided here

Language code

texttextcompact

The whole text

Long text: the compact view keeps the first 500 characters and says so in warnings.

Show all 34 fields →
segmentslist of objectstandard

Timed segments

segments[].startnumberstandard

Start, in seconds

segments[].endnumberstandard

End, in seconds

segments[].texttextstandard

Text of the segment

segments[].speakertextstandard

Who said the segment (1, 2…, one number a person); null where telling speakers apart was not asked for

segments[].wordslist of objectfull

The timing of each word (character) of the segment

segments[].words[].startnumberfull

Start, in seconds

segments[].words[].endnumberfull

End, in seconds

segments[].words[].texttextfull

The word (character)

durationnumberstandard

Length of what was transcribed, in seconds; what an endpoint billed by the minute charges by

postobjectstandard

The post the words are from: title, caption, author, length, time posted, likes and comments, as far as the platform gives them

post.titletextstandard

Title; none on a platform without titles

post.texttextstandard

Caption or description

Long text: the compact view keeps the first 500 characters and says so in warnings.

post.urllinkstandard

Link to the post

post.published_attimestandard

Time posted

post.durationnumberstandard

Length of the video as the platform gives it, in seconds

post.authorobjectstandard

Author

post.author.idtextstandard

Author's ID

post.author.nametextstandard

Author's name

post.metricsobjectstandard

Engagement counts

post.metrics.likesintegerstandard

Likes

post.metrics.commentsintegerstandard

Comments

ext.sourcetextfull

Where the text came from: platform_subtitle is the subtitles the platform made for the video, speech_recognition is the speech in the video recognised as textplatform_subtitlespeech_recognition

ext.srttextfull

Ready SRT subtitles made from the segments, to save as an .srt file as it is

Long text: the compact view keeps the first 500 characters and says so in warnings.

ext.charged_intextfull

The call a long video's text was charged in (its request ID): fetched again with the same job, this time is not charged; none the first time it is fetched

approximatelist of objectcompact

Which numbers of this item are approximate or lower bounds; absent when all are exact

approximate[].fieldtextcompact

Path of the field, such as metrics.views

approximate[].kindtextcompact

Approximate, or a lower boundapproximatelower_bound

Typical size of one item: compact 569 B, standard 4.8 KB, full 7.4 KB (measured on the response recorded 2026-11-21 10:00 UTC).

What this endpoint cannot give

langNot provided here

When you are charged

A result with data$0.0200 a call, plus $0.0038 a minute when the speech is recognised (a part minute counts as one); none when the platform's own captions are used
The object does not exist (404)not charged
Invalid parameters, a failure or a timeoutnot charged
CaseCharged
The most one call can cost$0.0390 (send 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 and nothing is charged. 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.

HTTPCodeMeaningCharged
400invalid_paramsA parameter is invalidRetry: After a fixNo
402insufficient_balanceThe balance is too lowRetry: After a fixNo
404not_foundThe object does not exist, is private or was deletedRetry: NoNo
502upstream_failedNo result came back this time and nothing was charged; retry shortlyRetry: YesNo
504timeoutThe data did not arrive in time; retry with the same idempotency keyRetry: YesNo

All error codes →

Questions

How much does the Xiaohongshu (RedNote) video transcript (video to text) API cost?

$0.0200 a call, plus $0.0038 a minute when the speech is recognised (a part minute counts as one); none when the platform's own captions are used; at most $0.0390 a call. The most one call can cost is $0.0390.

When am I not charged?

Errors, timeouts and objects that do not exist are not charged.

What happens if the object does not exist?

The answer is 404 not_found and nothing is charged. reason says which: not_found (it does not exist) or private_or_deleted.

Is it charged per call or by the length, and what do 100 Xiaohongshu videos cost?

Both: $0.0200 a call, plus $0.0038 a minute when the speech is recognised (a part minute counts as one); none when the platform's own captions are used. A recognised 40-second video is $0.0200 plus $0.0038, a 61-second one $0.0200 plus twice $0.0038. 100 recognised videos of a minute or less come to 100 times ($0.0200 + $0.0038). What a call was charged is in meta.billing of its answer; a call holds at most $0.0200 and 5 minutes before it runs. No subscription, no monthly minimum.

Does it give timestamps and SRT subtitles?

Yes. Besides the whole text, segments gives each sentence with its start and end in seconds; the full view adds the timing of each word and ext.srt, ready SRT subtitles to save as an .srt file. With speakers=yes each segment says who said it (1, 2…). Along with them come the post's title or caption, author, time posted, likes and comments, and the length transcribed in duration. Where the platform made subtitles for the video, they are used as they are, ext.source in the full view says platform_subtitle, and only the call is charged; where it made none, the speech is recognised, ext.source says speech_recognition, and its minutes are charged on top.

What about videos over 5 minutes, and many videos at once?

One call turns one video of up to 5 minutes into text. A longer video is not transcribed in one call yet: it is answered with an error that says so, and nothing is charged. For many videos, make one call each: from the SDKs or the command line in a loop, each charged by its own minutes.

Is a failure, or a video where nobody speaks, charged?

No. A video in which nobody speaks (music or silence only), a post that is not a video, a deleted or private one, one over 5 minutes, and any error or timeout are all free: only a transcript that comes back is charged.

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: "Turn this Xiaohongshu video note into text with OneFeedAPI" and paste its link or share text. The agent calls xiaohongshu.videos.transcript.get; each call is charged $0.0200, plus $0.0038 a minute when the speech is recognised.

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

Xiaohongshu (RedNote) endpoints
Xiaohongshu PGY endpoints
Xiaohongshu Shop endpoints

Use it in your AI

Copy this prompt

Your API key is built in, so there is nothing to configure.

Read https://onefeedapi.com/agents.md and set up OneFeedAPI in this agent. My API key is dx_…; use it for every OneFeedAPI call.
Sign in to copy it with your key

No account yet? Sign-up takes an email and no card, and a failed call is never charged.

then paste

Paste it into your agent

It reads the page the prompt points to and connects itself.

Your agent
Read https://onefeedapi.com/agents.md and set up OneFeedAPI in this agent. My API key is dx_••••; use it for every OneFeedAPI call.
OneFeedAPI connected · 5 tools ready
now try it

Now ask something

Use one of these, or your own words.

Read https://onefeedapi.com/apis/xiaohongshu/videos/transcript/get.md and help me use the OneFeedAPI endpoint xiaohongshu.videos.transcript.get (Xiaohongshu (RedNote) video transcript (video to text)).
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.transcript.get.Other clients →
Ask with this pageSends the Markdown version
Brief for an AIEverything needed to call it, as text
Show the text
Use the OneFeedAPI endpoint xiaohongshu.videos.transcript.get (Xiaohongshu (RedNote) video transcript (video to text)). 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.
Call GET https://onefeedapi.com/v1/xiaohongshu/videos/transcript/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 复制这段文字,打开小红书查看.
- speakers: Whether to tell speakers apart: yes marks who said each segment (1, 2…), no does not. Values: yes, no (default). Example: no.
- job: The job a call with a long video's link (over 5 minutes, up to 2 hours) answered with: call this endpoint with it a little later for the text, within 24 hours of submitting. Give one of id, url and job; with job, speakers is as it was when submitted. Example: tr_047_XhsExampleJob0000000.
- 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 a call, plus $0.0038 a minute when the speech is recognised (a part minute counts as one); none when the platform's own captions are used; at most $0.0390 a call. Errors, timeouts and objects that do not exist are not charged.
The answer is JSON: data.item holds transcript; meta.billing.amount is what this call was charged.
Example:
curl -G "https://onefeedapi.com/v1/xiaohongshu/videos/transcript/get" \
  --data-urlencode "id=6ac7701f000000001800508c" \
  -H "Authorization: Bearer $ONEFEED_API_KEY"
Full reference in Markdown: https://onefeedapi.com/apis/xiaohongshu/videos/transcript/get.md

Names and identifiers

In Chinese
小红书视频转文字(文案提取、逐字稿)API
Endpoint ID
xiaohongshu.videos.transcript.get
Endpoint
GET /v1/xiaohongshu/videos/transcript/get
Last checked 2026-11-22 09:40 UTC.View the Markdown versionopenapi.jsonllms.txt

Start with one key.

253 endpoints on 21 platforms, from $0.0003 a call. Errors and timeouts are not charged.

Start free