Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Xiaohongshu (RED) Video Note Detail

Tài liệu 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.

Giá
$0.01USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
0 bắt buộc · 2 tùy chọn

Phòng thử nghiệm

Đầu vào
Note ID, e.g. "697c0eee000000000a03c308"
Xiaohongshu sharing link (support APP and Web sharing link)
Đầu raVí dụ
Phản hồioutputs · 9.9 KB · 252 dòng
[
  {
    "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
    }
  }
]

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

README API

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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Xiaohongshu$0.01 mỗi lần gọiJSON
Xiaohongshu$0.01 mỗi lần gọiJSON
Xiaohongshu$0.01 mỗi lần gọiJSON
Xiaohongshu$0.01 mỗi lần gọiJSON
Xiaohongshu$0.01 mỗi lần gọiJSON
Xiaohongshu$0.01 mỗi lần gọiJSON

Hướng dẫn:Best Xiaohongshu API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Xiaohongshu (RED) Video Note Detail?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/video-note-detail với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Xiaohongshu (RED) Video Note Detail có giá bao nhiêu?

$0.01 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Xiaohongshu (RED) Video Note Detail chấp nhận những tham số nào?

Không có tham số bắt buộc. Tùy chọn: note_id (string) và share_text (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Xiaohongshu (RED) Video Note Detail trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Xiaohongshu không?

Không. Xiaohongshu (RED) Video Note Detail chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Xiaohongshu.