Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Xiaohongshu (RED) Video Note Detail

API 文件
https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/video-note-detail

Returns detailed metadata for a video note on Xiaohongshu (RED) using an identifier or a share link.

價格
$0.01美元/次呼叫
方法
POST
回應
JSON
參數
0 個必填 · 2 個選填

Playground

輸入
Note ID, e.g. "697c0eee000000000a03c308"
Xiaohongshu sharing link (support APP and Web sharing link)
輸出範例
回應outputs · 9.9 KB · 252 行
[
  {
    "data": {
      "code": 0,
      "data": [
        {
          "api_upgrade": -1,
          "ats": [],
          "auto_slide_down": 0,
          "cny_red_envelope_note": false,
          "collected": false,
          "collected_count": 90447,
          "comment_prompt_config": {
            "forbidden_cmt_type": 0,
            "placeholder_long": "Drop a comment...",
            "placeholder_short": "Say something"
          },
          "comments_count": 514,
          "content_trans_info": {
            "strategy": 9
          },
          "cooperate_binds": [],
          "countdown": 0,
          "cursor_score": "",
          "desc": "第五套 30分钟燃脂操合集  每天一遍瘦全身\n#暴汗燃脂瘦全身[话题]# #高效燃脂[话题]# #燃脂舞[话题]# #想瘦就跳燃脂舞[话题]# #辰爸辰妈舞蹈[话题]# #瘦肚子[话题]#",
          "downgrade_type": 0,
          "enable_brand_lottery": false,
          "enable_fls_bridge_cards": false,
          "enable_fls_related_cards": false,
          "enable_listen_video": false,
          "feedback_info": {
            "dislike_status": 0
          },
          "final_feed_item": false,
          "foot_tags": [],
          "function_switch": [
            {
              "enable": false,
              "reason": "Videos over 5 min can't be saved",
              "type": "video_download"
            },
            {
              "enable": true,
              "type": "quote_note"
            },
            "… 1 more items in the full response"
          ],
          "has_no_more": false,
          "has_related_goods": false,
          "hash_tag": [
            {
              "bizId": "",
              "current_score": 0,
              "id": "5f818bcd000000000101df27",
              "indicator": "",
              "link": "xhsdiscover://rn/sns-discover/topic/normal?id=5f818bcd655ecd000128707f&page_source=note_feed.click_new_big",
              "name": "暴汗燃脂瘦全身",
              "record_count": 0,
              "record_emoji": "",
              "record_unit": "",
              "tag_hint": "",
              "type": "topic"
            },
            {
              "bizId": "",
              "current_score": 0,
              "id": "5c99e062000000000d03a47d",
              "indicator": "",
              "link": "xhsdiscover://rn/sns-discover/topic/normal?id=5c99e0624427620001408083&page_source=note_feed.click_new_big",
              "name": "高效燃脂",
              "record_count": 0,
              "record_emoji": "",
              "record_unit": "",
              "tag_hint": "",
              "type": "topic"
            },
            "… 4 more items in the full response"
          ],
          "hide_button": false,
          "id": "6a65b1e300000000110100ff",
          "images_list": [
            {
              "fileid": "spectrum/1040g0k03232vre9kn0005orn902nquncfkrq440",
              "height": 1920,
              "index": 0,
              "latitude": 0,
              "longitude": 0,
              "need_load_original_image": false,
              "original": "https://sns-i11.rednotecdn.com/spectrum/1040g0k03232vre9kn0005orn902nquncfkrq440?imageView2/2/w/5000/h/5000/format/webp/q/90&ap=1&sc=V_ORG&sign=9a19c922ff828451b4f51dadd92a1f5d&t=6ac5ef42",
              "scale_to_large": 0,
              "trace_id": "spectrum/1040g0k03232vre9kn0005orn902nquncfkrq440",
              "url": "https://sns-i11.rednotecdn.com/spectrum/1040g0k03232vre9kn0005orn902nquncfkrq440?imageView2/2/w/576/format/webp/q/87%7CimageMogr2/strip&redImage/frame/0&ap=1&sc=V_PRV&sign=9a19c922ff828451b4f51dadd92a1f5d&t=6ac5ef42",
              "url_size_large": "",
              "width": 1080
            }
          ],
          "interaction_info": {
            "nice_count": 98,
            "niced": false,
            "share_count": 14507
          },
          "ip_location": "Guangdong",
          "last_update_time": 0,
          "lazy_load_mode": 0,
          "liked": false,
          "liked_count": 44685,
          "may_have_red_packet": false,
          "media_save_config": {
            "disable_save": false,
            "disable_watermark": false,
            "disable_weibo_cover": false
          },
          "model_type": "note",
          "native_voice_info": {
            "deeplink": "xhsdiscover://post_new_note?guiders=%5B%7B%22page_position%22%3A%22album%22%2C%22content%22%3A%22Select%20and%20tap%20Next%20Step%20to%20add%20the%20music%22%7D%2C%7B%22page_position%22%3A%22take_photo%22%2C%22content%22%3A%22Ready%20to%20add%20the%20music%20in%20your%20notes%22%7D%2C%7B%22page_posi…",
            "disable_panel": true,
            "sound_id": "1146840869814013241",
            "url": "http://sns-v11.rednotecdn.com/audio/1/02ea65b1e618d1ab010370039f9d419098_0.m4a?sign=d8f906dac0cff2042d489b2d66ec2cb5&t=6ac5ef42",
            "use_count": 1
          },
          "need_next_step": false,
          "need_product_review": false,
          "…": "27 more fields in the full response"
        },
        {
          "api_upgrade": -1,
          "ats": [],
          "auto_slide_down": 0,
          "cny_red_envelope_note": false,
          "collected": false,
          "collected_count": 166,
          "comment_prompt_config": {
            "forbidden_cmt_type": 0,
            "placeholder_long": "Drop a comment...",
            "placeholder_short": "Say something"
          },
          "comments_count": 9,
          "content_trans_info": {
            "strategy": 9
          },
          "cooperate_binds": [],
          "countdown": 0,
          "cursor_score": "1.791356737999E9",
          "desc": "#你今天运动了吗[话题]# 《明天会更好》燃脂摆胯操 ,不跑不跳带你雕刻马甲线#变瘦变美变好看[话题]# #居家锻炼[话题]# #好身材练起来[话题]#",
          "downgrade_type": 0,
          "enable_brand_lottery": false,
          "enable_fls_bridge_cards": false,
          "enable_fls_related_cards": false,
          "enable_listen_video": false,
          "feedback_info": {
            "dislike_status": 0
          },
          "final_feed_item": false,
          "foot_tags": [],
          "function_switch": [
            {
              "enable": false,
              "reason": "Videos over 5 min can't be saved",
              "type": "video_download"
            },
            {
              "enable": true,
              "type": "quote_note"
            },
            "… 1 more items in the full response"
          ],
          "has_no_more": false,
          "has_related_goods": false,
          "hash_tag": [
            {
              "bizId": "",
              "current_score": 0,
              "id": "5e7211d30000000001001f0b",
              "indicator": "",
              "link": "xhsdiscover://rn/sns-discover/topic/normal?id=5e7211d3af89410001c9711d&page_source=note_feed.click_new_big",
              "name": "你今天运动了吗",
              "record_count": 0,
              "record_emoji": "",
              "record_unit": "",
              "tag_hint": "",
              "type": "topic"
            },
            {
              "bizId": "",
              "current_score": 0,
              "id": "5c507620000000000f0272f2",
              "indicator": "",
              "link": "xhsdiscover://rn/sns-discover/topic/normal?id=5c507620cf18910001535433&page_source=note_feed.click_new_big",
              "name": "变瘦变美变好看",
              "record_count": 0,
              "record_emoji": "",
              "record_unit": "",
              "tag_hint": "",
              "type": "topic"
            },
            "… 2 more items in the full response"
          ],
          "hide_button": false,
          "id": "6ac44ec4000000001c00d98b",
          "images_list": [
            {
              "fileid": "1040g2sg325vcqj2e58e05o2oe050bhb4dcb9q70",
              "height": 1441,
              "index": 0,
              "latitude": 0,
              "longitude": 0,
              "need_load_original_image": false,
              "original": "https://sns-i11.rednotecdn.com/1040g2sg325vcqj2e58e05o2oe050bhb4dcb9q70?imageView2/2/w/5000/h/5000/format/webp/q/90&ap=1&sc=V_ORG&sign=138d2100151056c8a09c36dd54f038dc&t=6ac5ef42",
              "scale_to_large": 0,
              "trace_id": "1040g2sg325vcqj2e58e05o2oe050bhb4dcb9q70",
              "url": "https://sns-i11.rednotecdn.com/1040g2sg325vcqj2e58e05o2oe050bhb4dcb9q70?imageView2/2/w/576/format/webp/q/87%7CimageMogr2/strip&redImage/frame/0&ap=1&sc=V_PRV&sign=138d2100151056c8a09c36dd54f038dc&t=6ac5ef42",
              "url_size_large": "",
              "width": 1080
            }
          ],
          "interaction_info": {
            "nice_count": 0,
            "niced": false,
            "share_count": 25
          },
          "ip_location": "Jiangsu",
          "last_update_time": 0,
          "lazy_load_mode": 0,
          "liked": false,
          "liked_count": 95,
          "may_have_red_packet": false,
          "media_save_config": {
            "disable_save": false,
            "disable_watermark": false,
            "disable_weibo_cover": false
          },
          "model_type": "note",
          "native_voice_info": {
            "deeplink": "xhsdiscover://post_new_note?guiders=%5B%7B%22page_position%22%3A%22album%22%2C%22content%22%3A%22Select%20and%20tap%20Next%20Step%20to%20add%20the%20music%22%7D%2C%7B%22page_position%22%3A%22take_photo%22%2C%22content%22%3A%22Ready%20to%20add%20the%20music%20in%20your%20notes%22%7D%2C%7B%22page_posi…",
            "disable_panel": true,
            "sound_id": "1146944897704435418",
            "url": "http://sns-v11.rednotecdn.com/audio/1/02eac44ec518f9bd01037003a10ed3e540_0.m4a?sign=0df387b68662870d17e4137d5d00bbed&t=6ac5ef42",
            "use_count": 1
          },
          "need_next_step": false,
          "need_product_review": false,
          "…": "27 more fields in the full response"
        },
        "… 1 more items in the full response"
      ],
      "debug_id": "32d9f246",
      "debug_info": "gAAAAABqxe9EbebHnh6bxxXVkks72jwBt6DsSB7LXUuMQYUk3Gg3hVsqnp0Mn7ZpPSCOaaF1Z8qBbtNc4yMUWsE9k8wODrtr0Wj-r17gYiYfkm1RMAUIdmMVkBbbHYAmcgpQ7uxWXtHiuCRPB782FZNC_RsR_q7C9pnAo1qpEcXLto8AGil5StafFkvc2Xc_yAz7PjFneN5QA4G9mHW7BSJazmelt-ehDjt9xUUlvTrDpXzyU4L94D9WWNM3xqv35CkS-VpkVIdrfMVD2N8POa0HBYfI4eUgfUDTz374b_yd…",
      "msg": "成功",
      "success": true
    }
  }
]

範例

選擇一個範例,將其輸入與結果載入 playground。

API README

Xiaohongshu (RED) Video Note Detail API

Returns metadata for a Xiaohongshu (RED) note. The response includes the note text, like, collect, comment and share counts, hashtags, and the poster's IP location. Pass a note_id or a share_text sharing link.

Use cases

  • Track liked_count, collected_count and comments_count for a specific note over time.
  • Resolve a copied xhslink.com sharing link into a note ID and its description text.
  • Collect the hashtags a note uses to study topic targeting.
  • Check whether the author allows video downloads before building a save workflow.

Request

curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/video-note-detail" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"note_id": "697c0eee000000000a03c308", "share_text": "http://xhslink.com/o/8GqargIxrko"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
note_idstringNoNote ID, e.g. "697c0eee000000000a03c308"
share_textstringNoXiaohongshu sharing link (support APP and Web sharing link)

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "code": 0,
  "data": [
    {
      "api_upgrade": -1,
      "ats": [],
      "auto_slide_down": 0,
      "cny_red_envelope_note": false,
      "collected": false,
      "collected_count": 4265,
      "comment_prompt_config": {
        "forbidden_cmt_type": 0,
        "placeholder_long": "Share your thoughts...",
        "placeholder_short": "Say something"
      },
      "comments_count": 192,
      "content_trans_info": {
        "strategy": 9
      },
      "cooperate_binds": [],
      "countdown": 0,
      "cursor_score": ""
    }
  ],
  "debug_id": "b8839549",
  "debug_info": "gAAAAABq6ZFwNXXpY98vjWMdMcOQmI3mOvj3Z-kVpz7lLOndi5fAt5TadFbeaEcOiejRrPVQOZ8YBdaZ…",
  "msg": "成功",
  "success": true
}

Response fields

FieldMeaning
data[].idNote ID. Use it to look up comments or the note itself again.
data[].descNote title and body text. It can include inline hashtags such as #巴斯克[话题].
data[].liked_count / collected_count / comments_countNumber of likes, collects and comments on the note.
data[].interaction_info.share_countNumber of times the note was shared.
data[].interaction_info.nice_countCount of "nice" reactions on the note, separate from liked_count.
data[].hash_tag[].nameName of a hashtag attached to the note. Each item also has an id and a link deeplink to the topic.
data[].ip_locationLocation label shown for the note, such as Guizhou or Singapore.
data[].images_list[]Cover or image entries with fileid, height and index. Some also have origin_img with the original width and height.
data[].function_switch[]List of feature flags. Each has a type and an enable value. A reason appears when a feature is off, for example video_download.
data[].native_voice_info.urlLink to the audio file used by the note. sound_id identifies the sound and use_count shows how often it was used.

Notes

  • note_id and share_text are both optional in the schema. Send at least one. The note_id is a 24-character hex string such as 697c0eee000000000a03c308.
  • share_text accepts app and web sharing links, for example http://xhslink.com/o/8GqargIxrko.
  • data is a list. In this sample it holds the requested note first, followed by other notes with different id values. Match on id to find your note.
  • To read the comments of a note, call Xiaohongshu (RED) Note Comments.

Pricing

$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

探索更多

相關 APIs

所有 APIs
API價格回應
Xiaohongshu每次呼叫 $0.01JSON
Xiaohongshu每次呼叫 $0.01JSON
Xiaohongshu每次呼叫 $0.01JSON
Xiaohongshu每次呼叫 $0.01JSON
Xiaohongshu每次呼叫 $0.01JSON
Xiaohongshu每次呼叫 $0.01JSON

指南:Best Xiaohongshu API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Xiaohongshu (RED) Video Note Detail API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/video-note-detail。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Xiaohongshu (RED) Video Note Detail API 的費用是多少?

每次 $0.01,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Xiaohongshu (RED) Video Note Detail API 接受哪些參數?

不需要任何參數。 選填:note_id (string) 和 share_text (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Xiaohongshu (RED) Video Note Detail API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Xiaohongshu 開發者帳號或 API 金鑰嗎?

不需要。Xiaohongshu (RED) Video Note Detail 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Xiaohongshu API 存取權。