Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

Xiaohongshu (RED) Image Note Details

Docs API
https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/image-note-detail

Returns detailed information for a Xiaohongshu image note. Queries accept a specific note identifier or a post sharing link from the app or web interface.

Prix
$0.01USD / appel
Méthode
POST
Réponse
JSON
Paramètres
0 obligatoires · 2 facultatifs

Bac à sable

Entrée
Note ID, e.g. "697c0eee000000000a03c308"
Xiaohongshu sharing link (support APP and Web sharing link)
SortieExemple
Réponseoutputs · 21.6 KB · 440 lignes
[
  {
    "data": {
      "code": 0,
      "data": [
        {
          "comment_list": [],
          "model_type": "note",
          "note_list": [
            {
              "api_upgrade": -1,
              "ats": [],
              "biz_map": {},
              "co_produce_link": "xhsdiscover://post_new_note?source=%7B%22type%22%3A%22together_post%22%2C%22extraInfo%22%3A%7B%22subType%22%3A%22together_post_halfspace%22%2C%22track_id%22%3A%226ab0d3640000000035013990%22%7D%7D&page=%7B%22page_type%22%3A%22image_co_produce_album%22%7D",
              "collected": false,
              "collected_count": 122,
              "comment_prompt_config": {
                "forbidden_cmt_type": 0,
                "placeholder_long": "Drop a comment...",
                "placeholder_short": "Say something"
              },
              "comments_count": 15,
              "content_trans_info": {
                "strategy": 9
              },
              "cooperate_binds": [],
              "countdown": 0,
              "desc": "健身两年,被问得最多的就是“你这身材是不是天天吃草饿出来的”。\n真不是!饿出来的只有干瘦,想要瘦而不柴的线条,还得是靠7分吃3分练。\n今天随手分享一下我平时的习惯👇\n⭐先聊聊练:\n我一周大概去3-5次健身房,力量和有氧搭配着来。\n肩背、臀腿、肚子这几个部位轮着练。\n别怕上重量,小基数想练出薄肌,有氧做再多也比不上多举几次铁。\n⭐再聊聊吃:\n三餐正常吃,千万别饿肚子,饿得狠了迟早要暴食,体重掉了也没线条。\n想要那种健康的线条,日常还是得吃得干净一点,少油少盐是基础。\n1️⃣碳水:练完我会吃点快碳补充体力,平时就换着吃燕麦、糙米、全麦面包和红薯这些。\n2️⃣脂肪:坚果、牛油果、三文鱼,这些优质脂肪别不敢吃,不吃反而没力气练。\n3️⃣蛋白质:牛肉、鱼虾、豆腐换着来,肉吃够了,肌肉才有东西长。\n但说实话,天天外卖或者周末跟姐妹出去吃烤肉火锅,是没办法避免的。我有个自己的小习惯,出门前会顺手吃两粒lilylove双孢菇,里面有西班牙双孢菇、桑叶、肉桂、茶多酚这些植物提取的,吃着放心。对我来说就是个日常搭配,图个心理安慰,不用刻意压抑,该吃吃该喝喝,心态放松了才更容易长期坚持。\n总而言之,吃好、睡好、练好,身体自然会给你正反馈,姐妹们一起加油~\n\t\n#lilylove双孢菇阻断胶囊[话题]# #饮食管理[话题]# #运动[话题]# #见人不如健身[话题]# #练出好身材[话题]# #小基数[…",
              "enable_brand_lottery": false,
              "enable_co_produce": true,
              "enable_fls_bridge_cards": false,
              "enable_fls_related_cards": false,
              "feedback_info": {
                "dislike_status": 0
              },
              "foot_tags": [],
              "function_switch": [
                {
                  "enable": false,
                  "reason": "Download disabled by author",
                  "type": "image_download"
                },
                {
                  "enable": false,
                  "reason": "Can not be quoted",
                  "type": "quote_note"
                },
                {
                  "enable": true,
                  "type": "heat_for_author"
                }
              ],
              "goods_info": {},
              "has_co_produce": false,
              "has_music": false,
              "has_related_goods": false,
              "hash_tag": [
                {
                  "bizId": "",
                  "current_score": 0,
                  "id": "691bca52000000002302c0bc",
                  "link": "xhsdiscover://rn/sns-discover/topic/normal?id=691bca52023b000000000004&page_source=note_feed.click_new_big",
                  "name": "lilylove双孢菇阻断胶囊",
                  "record_count": 0,
                  "record_emoji": "",
                  "record_unit": "",
                  "tag_hint": "",
                  "type": "topic"
                },
                {
                  "bizId": "",
                  "current_score": 0,
                  "id": "5e6f5b500000000001005a15",
                  "link": "xhsdiscover://rn/sns-discover/topic/normal?id=5e6f5b508dffe50001a1fdf7&page_source=note_feed.click_new_big",
                  "name": "饮食管理",
                  "record_count": 0,
                  "record_emoji": "",
                  "record_unit": "",
                  "tag_hint": "",
                  "type": "topic"
                },
                {
                  "bizId": "",
                  "current_score": 0,
                  "id": "54981298b4c4d61cbf900628",
                  "link": "xhsdiscover://rn/sns-discover/topic/normal?id=5bea68c5be76e80001010727&page_source=note_feed.click_new_big",
                  "name": "运动",
                  "record_count": 0,
                  "record_emoji": "",
                  "record_unit": "",
                  "tag_hint": "",
                  "type": "topic"
                },
                "… 7 more items in the full response"
              ],
              "head_tags": [],
              "id": "6ab0d3640000000035013990",
              "images_list": [
                {
                  "fileid": "1040g2sg325cc1hjtkeg04aeft7ut830mjb2oreo",
                  "height": 1440,
                  "index": 0,
                  "latitude": 0,
                  "live_photo": {
                    "capa": {
                      "duration": 0,
                      "frame_ts": 0,
                      "is_ai_tab": false,
                      "is_upload": false,
                      "is_user_select": false
                    },
                    "consumer": {
                      "can_super_resolution": false
                    },
                    "image": {
                      "first_frame": ""
                    },
                    "media": {
                      "stream": {
                        "av1": [],
                        "h264": [],
                        "h265": [
                          "…"
                        ],
                        "h266": []
                      },
                      "user_level": 0,
                      "video": {
                        "biz_id": "282232348640360848",
                        "biz_name": 10,
                        "bound": [
                          "…"
                        ],
                        "drm_type": 0,
                        "duration": 4,
                        "hdr_type": 0,
                        "height": 1440,
                        "opaque1": {
                          "amend": "9",
                          "amend_mobile": "60",
                          "domestic": "0",
                          "livephoto_flag": "1"
                        },
                        "stream_types": [
                          66
                        ],
                        "width": 1080
                      },
                      "video_id": "138117239594095278"
                    }
                  },
                  "live_photo_file_id": "livephoto/1040g398325c753r7kk2g4aeft7ut830mkumlg58",
                  "longitude": 0,
                  "need_load_original_image": true,
                  "origin_img": {
                    "height": 1440,
                    "size": 0,
                    "width": 1080
                  },
                  "original": "https://sns-i11.rednotecdn.com/1040g2sg325cc1hjtkeg04aeft7ut830mjb2oreo?imageView2/2/w/5000/h/5000/format/webp/q/90&ap=1&sc=ORIGINAL&sign=615a3468eccbbf3167cbac7325c6c809&t=6ac5ef47",
                  "scale_to_large": 4,
                  "text_intention": 0,
                  "trace_id": "1040g2sg325cc1hjtkeg04aeft7ut830mjb2oreo",
                  "url": "https://sns-i11.rednotecdn.com/1040g2sg325cc1hjtkeg04aeft7ut830mjb2oreo?imageView2/2/w/576/format/webp/q/87%7CimageMogr2/strip&redImage/frame/0&ap=1&sc=PREVIEW&sign=615a3468eccbbf3167cbac7325c6c809&t=6ac5ef47",
                  "url_multi_level": {
                    "high": "https://sns-i11.rednotecdn.com/1040g2sg325cc1hjtkeg04aeft7ut830mjb2oreo?imageView2/2/w/576/format/webp/q/75%7CimageMogr2/strip&redImage/frame/0&ap=1&sc=PREVIEW&sign=615a3468eccbbf3167cbac7325c6c809&t=6ac5ef47",
                    "low": "https://sns-i11.rednotecdn.com/1040g2sg325cc1hjtkeg04aeft7ut830mjb2oreo?imageView2/2/w/576/format/webp/q/75%7CimageMogr2/strip&redImage/frame/0&ap=1&sc=PREVIEW&sign=615a3468eccbbf3167cbac7325c6c809&t=6ac5ef47",
                    "medium": "https://sns-i11.rednotecdn.com/1040g2sg325cc1hjtkeg04aeft7ut830mjb2oreo?imageView2/2/w/576/format/webp/q/75%7CimageMogr2/strip&redImage/frame/0&ap=1&sc=PREVIEW&sign=615a3468eccbbf3167cbac7325c6c809&t=6ac5ef47"
                  },
                  "url_size_large": "https://sns-i11.rednotecdn.com/1040g2sg325cc1hjtkeg04aeft7ut830mjb2oreo?imageView2/2/w/1440/format/webp&ap=1&sc=DETAIL&sign=615a3468eccbbf3167cbac7325c6c809&t=6ac5ef47",
                  "width": 1080
                },
                {
                  "fileid": "1040g2sg325cc1hjtkegg4aeft7ut830ml6nmpho",
                  "height": 1440,
                  "index": 0,
                  "latitude": 0,
                  "live_photo": {
                    "capa": {
                      "duration": 0,
                      "frame_ts": 0,
                      "is_ai_tab": false,
                      "is_upload": false,
                      "is_user_select": false
                    },
                    "consumer": {
                      "can_super_resolution": false
                    },
                    "image": {
                      "first_frame": ""
                    },
                    "media": {
                      "stream": {
                        "av1": [],
                        "h264": [],
                        "h265": [
                          "…"
                        ],
                        "h266": []
                      },
                      "user_level": 0,
                      "video": {
                        "biz_id": "282232348640360848",
                        "biz_name": 10,
                        "bound": [
                          "…"
                        ],
                        "drm_type": 0,
                        "duration": 4,
                        "hdr_type": 0,
                        "height": 1440,
                        "md5": "",
                        "opaque1": {
                          "amend": "9",
                          "amend_mobile": "60",
                          "domestic": "0",
                          "livephoto_flag": "1"
                        },
                        "stream_types": [
                          66
                        ],
                        "width": 1080
                      },
                      "video_id": "138117239562066274"
                    }
                  },
                  "live_photo_file_id": "livephoto/1040g398325c753r7kk204aeft7ut830mb9339gg",
                  "longitude": 0,
                  "need_load_original_image": true,
                  "origin_img": {
                    "height": 1440,
                    "size": 0,
                    "width": 1080
                  },
                  "original": "https://sns-i11.rednotecdn.com/1040g2sg325cc1hjtkegg4aeft7ut830ml6nmpho?imageView2/2/w/5000/h/5000/format/webp/q/90&ap=1&sc=ORIGINAL&sign=42c20f404731a6d4e8893ab271e6ef67&t=6ac5ef47",
                  "scale_to_large": 4,
                  "text_intention": 0,
                  "trace_id": "1040g2sg325cc1hjtkegg4aeft7ut830ml6nmpho",
                  "url": "https://sns-i11.rednotecdn.com/1040g2sg325cc1hjtkegg4aeft7ut830ml6nmpho?imageView2/2/w/576/format/webp/q/87%7CimageMogr2/strip&redImage/frame/0&ap=1&sc=PREVIEW&sign=42c20f404731a6d4e8893ab271e6ef67&t=6ac5ef47",
                  "url_multi_level": {
                    "high": "https://sns-i11.rednotecdn.com/1040g2sg325cc1hjtkegg4aeft7ut830ml6nmpho?imageView2/2/w/576/format/webp/q/75%7CimageMogr2/strip&redImage/frame/0&ap=1&sc=PREVIEW&sign=42c20f404731a6d4e8893ab271e6ef67&t=6ac5ef47",
                    "low": "https://sns-i11.rednotecdn.com/1040g2sg325cc1hjtkegg4aeft7ut830ml6nmpho?imageView2/2/w/576/format/webp/q/75%7CimageMogr2/strip&redImage/frame/0&ap=1&sc=PREVIEW&sign=42c20f404731a6d4e8893ab271e6ef67&t=6ac5ef47",
                    "medium": "https://sns-i11.rednotecdn.com/1040g2sg325cc1hjtkegg4aeft7ut830ml6nmpho?imageView2/2/w/576/format/webp/q/75%7CimageMogr2/strip&redImage/frame/0&ap=1&sc=PREVIEW&sign=42c20f404731a6d4e8893ab271e6ef67&t=6ac5ef47"
                  },
                  "url_size_large": "https://sns-i11.rednotecdn.com/1040g2sg325cc1hjtkegg4aeft7ut830ml6nmpho?imageView2/2/w/1440/format/webp&ap=1&sc=DETAIL&sign=42c20f404731a6d4e8893ab271e6ef67&t=6ac5ef47",
                  "width": 1080
                },
                {
                  "fileid": "1040g008325c753r04q604aeft7ut830mgqabv4g",
                  "height": 1920,
                  "index": 0,
                  "latitude": 0,
                  "longitude": 0,
                  "need_load_original_image": true,
                  "origin_img": {
                    "height": 1920,
                    "size": 0,
                    "width": 1280
                  },
                  "original": "https://sns-i11.rednotecdn.com/1040g008325c753r04q604aeft7ut830mgqabv4g?imageView2/2/w/5000/h/5000/format/webp/q/90&ap=1&sc=ORIGINAL&sign=67d0a5f27ce028db5bd38d43d3ecd3c6&t=6ac5ef47",
                  "scale_to_large": 4,
                  "text_intention": 0,
                  "trace_id": "1040g008325c753r04q604aeft7ut830mgqabv4g",
                  "url": "https://sns-i11.rednotecdn.com/1040g008325c753r04q604aeft7ut830mgqabv4g?imageView2/2/w/576/format/webp/q/87%7CimageMogr2/strip&redImage/frame/0&ap=1&sc=PREVIEW&sign=67d0a5f27ce028db5bd38d43d3ecd3c6&t=6ac5ef47",
                  "url_multi_level": {
                    "high": "https://sns-i11.rednotecdn.com/1040g008325c753r04q604aeft7ut830mgqabv4g?imageView2/2/w/576/format/webp/q/75%7CimageMogr2/strip&redImage/frame/0&ap=1&sc=PREVIEW&sign=67d0a5f27ce028db5bd38d43d3ecd3c6&t=6ac5ef47",
                    "low": "https://sns-i11.rednotecdn.com/1040g008325c753r04q604aeft7ut830mgqabv4g?imageView2/2/w/576/format/webp/q/75%7CimageMogr2/strip&redImage/frame/0&ap=1&sc=PREVIEW&sign=67d0a5f27ce028db5bd38d43d3ecd3c6&t=6ac5ef47",
                    "medium": "https://sns-i11.rednotecdn.com/1040g008325c753r04q604aeft7ut830mgqabv4g?imageView2/2/w/576/format/webp/q/75%7CimageMogr2/strip&redImage/frame/0&ap=1&sc=PREVIEW&sign=67d0a5f27ce028db5bd38d43d3ecd3c6&t=6ac5ef47"
                  },
                  "url_size_large": "https://sns-i11.rednotecdn.com/1040g008325c753r04q604aeft7ut830mgqabv4g?imageView2/2/w/1440/format/webp&ap=1&sc=DETAIL&sign=67d0a5f27ce028db5bd38d43d3ecd3c6&t=6ac5ef47",
                  "width": 1280
                },
                "… 3 more items in the full response"
              ],
              "in_censor": false,
              "ip_location": "Fujian",
              "last_update_time": 0,
              "liked": false,
              "liked_count": 635,
              "liked_users": [],
              "long_press_share_info": {
                "block_private_msg": false,
                "content": "",
                "function_entries": [
                  {
                    "type": "image_download"
                  }
                ],
                "guide_audited": false,
                "is_star": false,
                "show_wechat_tag": false,
                "title": ""
              },
              "may_have_red_packet": false,
              "media_save_config": {
                "disable_save": false,
                "disable_watermark": false,
                "disable_weibo_cover": false
              },
              "mini_program_info": {

Exemples

Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.

README de l'API

Xiaohongshu (RED) Image Note Details API

Returns details for one Xiaohongshu (RED) image note, including engagement counts and author info. Send either a note_id or a share_text sharing link from the app or web.

Use cases

  • Read the save and comment counts of a single image note.
  • Resolve a shared xhslink.com link to the note and its author.
  • Identify the author of a note by name, ID and avatar.
  • Check whether a note is saved or followed by the current account state shown in the response.

Request

curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/image-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": [
    {
      "comment_list": [],
      "model_type": "note",
      "note_list": [
        {
          "api_upgrade": -1,
          "ats": [],
          "biz_map": {},
          "collected": false,
          "collected_count": 4265,
          "comment_prompt_config": {
            "forbidden_cmt_type": 0,
            "placeholder_long": "Drop a comment...",
            "placeholder_short": "Say something"
          },
          "comments_count": 192,
          "content_trans_info": {
            "strategy": 9
          }
        }
      ],
      "track_id": "",
      "user": {
        "followed": false,
        "fstatus": "none",
        "group_id": "5d0b475af5a2636ef12b14c1",
        "id": "5efc6e660000000001006da1",
        "image": "https://sns-avatar-qc.rednotecdn.com/avatar/5f852121e2dbee0001dbb521.jpg?imageVi…",
        "level": {
          "image": ""
        },
        "name": "一条",
        "nickname": "一条"
      }
    }
  ],
  "debug_id": "737c3716",
  "debug_info": "gAAAAABq6ZFna0Zrnh34AKYVd8Awpg1s_azbSgNH1xYTM3B2A_rqbgPBWihik_80yhtEhYnpvZBpiNVi…",
  "msg": "成功",
  "success": true
}

Response fields

FieldMeaning
data[].note_list[].collected_countNumber of times users saved the note.
data[].note_list[].comments_countNumber of comments on the note.
data[].note_list[].collectedWhether the note is saved by the viewing account. The sample value is false.
data[].note_list[].comment_prompt_config.placeholder_long / data[].note_list[].comment_prompt_config.placeholder_shortText shown in the comment box of the app, in a long and a short form.
data[].model_typeType of the returned item. The sample value is note.
data[].user.idID of the note author.
data[].user.name / data[].user.nicknameDisplay name of the author.
data[].user.imageURL of the author's avatar image.
data[].user.followed / data[].user.fstatusFollow state between the viewing account and the author. The sample shows false and none.
success / msgWhether the call worked, and a status message.

Notes

  • Send note_id or share_text. The example request sends both, and either one identifies the note.
  • The note ID in the example is a 24-character hex string, such as 697c0eee000000000a03c308.
  • The response data is a list. The note details sit in data[].note_list[], and the author sits in data[].user.
  • To read the comments of a note, call Xiaohongshu (RED) Note Comments. The comment_list field in this response was empty.

Pricing

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

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
Xiaohongshu$0.01 par appelJSON
Xiaohongshu$0.01 par appelJSON
Xiaohongshu$0.01 par appelJSON
Xiaohongshu$0.01 par appelJSON
Xiaohongshu$0.01 par appelJSON
Xiaohongshu$0.01 par appelJSON

Guides :Best Xiaohongshu API in 2026: Pricing Compared

Questions

FAQ

Comment utiliser l’API Xiaohongshu (RED) Image Note Details ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/image-note-detail avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API Xiaohongshu (RED) Image Note Details ?

$0.01 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API Xiaohongshu (RED) Image Note Details accepte-t-elle ?

Aucun paramètre n’est requis. Facultatif : note_id (string) et share_text (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API Xiaohongshu (RED) Image Note Details ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.

Ai-je besoin d’un compte développeur ou d’une clé API Xiaohongshu ?

Non. Xiaohongshu (RED) Image Note Details fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Xiaohongshu séparément.