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

Xiaohongshu (RED) User Posted Notes

API 文件
https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/user-posted-notes

Retrieves a list of notes posted by a specific Xiaohongshu user with cursor pagination. Query by providing a user identifier or a shared post link.

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

Playground

輸入
Pagination cursor, leave empty for first request, pass cursor value from previous response for next page
Xiaohongshu sharing link (support APP and Web sharing link)
User ID, e.g. "61b46d790000000010008153"
輸出範例
回應outputs · 10.7 KB · 244 行
[
  {
    "data": {
      "code": 0,
      "data": {
        "has_more": true,
        "notes": [
          {
            "advanced_widgets_groups": {
              "groups": [
                {
                  "fetch_types": "… 39 items in the full response",
                  "mode": 1
                },
                {
                  "fetch_types": "… 18 items in the full response",
                  "mode": 0
                }
              ]
            },
            "ats": [],
            "collected_count": 12757,
            "comments_count": 231,
            "create_time": 1782121171,
            "cursor": "6a3902d30000000008031ec0",
            "desc": "无广就是无广!!!!!#韩国旅游[话题]# #韩国必买[话题]# #olive必买[话题]# #olive攻略[话题]# #oliveyoung[话题]# #oliveyoung必买[话题]# #ol",
            "display_title": "韩国oliveyoung到底怎么买!!!!绝无广!!!!!!",
            "guide_context": "{\"show_goods_c2c\":false}",
            "has_music": false,
            "id": "6a3902d30000000008031ec0",
            "images_list": [
              {
                "fileid": "1040g008321nb407bnu005pjju211on866l4ltfg",
                "height": 1920,
                "original": "",
                "trace_id": "1040g008321nb407bnu005pjju211on866l4ltfg",
                "url": "https://sns-i11.rednotecdn.com/1040g008321nb407bnu005pjju211on866l4ltfg?imageView2/2/w/576/format/webp/q/87%7CimageMogr2/strip&redImage/frame/0&ap=12&sc=USR_PRV&sign=031ab54cc93da9943e6deb38b6c34346&t=6abe7b39",
                "url_size_large": "https://sns-i11.rednotecdn.com/1040g008321nb407bnu005pjju211on866l4ltfg?imageView2/2/w/1440/format/webp&ap=12&sc=USR_DTL&sign=031ab54cc93da9943e6deb38b6c34346&t=6abe7b39",
                "width": 1080
              }
            ],
            "infavs": false,
            "inlikes": false,
            "is_goods_note": false,
            "last_update_time": 1782231658,
            "likes": 11891,
            "nice_count": 13,
            "niced": false,
            "price": 0,
            "recommend": {
              "desc": "",
              "icon": "",
              "target_id": "",
              "target_name": "",
              "track_id": "",
              "type": ""
            },
            "share_count": 2229,
            "sticky": true,
            "time_desc": "06-22",
            "title": "韩国oliveyoung到底怎么买!!!!绝无广!!!!!!",
            "type": "video",
            "user": {
              "followed": false,
              "fstatus": "none",
              "images": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo32041recbii005pjju211on86lmvrnd0?imageView2/2/w/80/format/jpg",
              "nickname": "不知名小嘎",
              "red_official_verify_type": 0,
              "userid": "6673f0820000000007005d06"
            },
            "video_info_v2": {
              "capa": {
                "duration": 390,
                "frame_ts": 0,
                "is_upload": false,
                "is_user_select": false
              },
              "consumer": {
                "can_super_resolution": false
              },
              "image": {
                "first_frame": "https://sns-i11.rednotecdn.com/1040g008321nb407bnu005pjju211on866l4ltfg?imageView2/2/w/1440/format/webp&ap=12&sc=USR_DTL&sign=031ab54cc93da9943e6deb38b6c34346&t=6abe7b39",
                "thumbnail": "https://sns-i11.rednotecdn.com/frame/110/0/01ea3902d22f475b0010000000019eeeb41cbf_0.webp?imageView2/2/w/5000/h/5000/format/webp/q/90&ap=12&sc=USR_ORG&sign=7570263da4e3b13c5bd389a2ae5f46c8&t=6abe7b39",
                "thumbnail_dim": "https://sns-i11.rednotecdn.com/frame/110/0/01ea3902d22f475b0010000000019eeeb41cbf_0.webp?imageView2/2/w/720/h/720/format/webp&ap=12&sc=USR_SPRT&sign=7570263da4e3b13c5bd389a2ae5f46c8&t=6abe7b39"
              },
              "media": {
                "audio_info": {
                  "stream_types": "… 3 items in the full response"
                },
                "audio_stream": {
                  "AAC": "… 3 items in the full response"
                },
                "stream": {
                  "av1": "… 0 items in the full response",
                  "h264": "… 1 items in the full response",
                  "h265": "… 2 items in the full response",
                  "h266": "… 0 items in the full response"
                },
                "user_level": 0,
                "video": {
                  "bbox": "…",
                  "biz_id": "282100610959089344",
                  "biz_name": 110,
                  "bound": "… 1 items in the full response",
                  "drm_type": 0,
                  "duration": 391,
                  "hdr_type": 0,
                  "height": 1920,
                  "md5": "cfcca66e4b165442b8ee58124ada5840",
                  "opaque1": "…",
                  "stream_types": "… 3 items in the full response",
                  "subtitles": "…",
                  "width": 1080
                },
                "video_id": "137985422867253083"
              }
            },
            "view_count": 0,
            "widgets_context": "{\"video\":true,\"origin_video_key\":\"pre_post/1040g0cg321nb4uhona0g5pjju211on86uddsb4g\",\"flags\":{\"sound_track\":true},\"author_id\":\"6673f0820000000007005d06\",\"author_name\":\"不知名小嘎\",\"video_duration\":390}"
          },
          {
            "advanced_widgets_groups": {
              "groups": [
                {
                  "fetch_types": "… 39 items in the full response",
                  "mode": 1
                },
                {
                  "fetch_types": "… 18 items in the full response",
                  "mode": 0
                }
              ]
            },
            "ats": [],
            "collected_count": 31719,
            "comments_count": 779,
            "create_time": 1778668732,
            "cursor": "6a0454bc000000000702608f",
            "desc": "#彩妆测评[话题]# #素人测评[话题]# #彩妆[话题]# #平价彩妆[话题]# #粉饼[话题]# #粉底液[话题]# #腮红[话题]# #妆前乳[话题]# #眼线[话题]# #以上仅代表个人使用感",
            "display_title": "彩妆测评大大大大实话!!!!!无广放心食用版!",
            "guide_context": "{\"show_goods_c2c\":false}",
            "has_music": false,
            "id": "6a0454bc000000000702608f",
            "images_list": [
              {
                "fileid": "1040g2sg3203tfgpm2gn05pjju211on86k1op7g8",
                "height": 1355,
                "original": "",
                "trace_id": "1040g2sg3203tfgpm2gn05pjju211on86k1op7g8",
                "url": "https://sns-i11.rednotecdn.com/1040g2sg3203tfgpm2gn05pjju211on86k1op7g8?imageView2/2/w/576/format/webp/q/87%7CimageMogr2/strip&redImage/frame/0&ap=12&sc=USR_PRV&sign=e6ae883c514d87ab2eefd4c4ecab6ccf&t=6abe7b39",
                "url_size_large": "https://sns-i11.rednotecdn.com/1040g2sg3203tfgpm2gn05pjju211on86k1op7g8?imageView2/2/w/1440/format/webp&ap=12&sc=USR_DTL&sign=e6ae883c514d87ab2eefd4c4ecab6ccf&t=6abe7b39",
                "width": 1017
              }
            ],
            "infavs": false,
            "inlikes": false,
            "is_goods_note": false,
            "last_update_time": 1778678296,
            "likes": 33613,
            "nice_count": 28,
            "niced": false,
            "price": 0,
            "recommend": {
              "desc": "",
              "icon": "",
              "target_id": "",
              "target_name": "",
              "track_id": "",
              "type": ""
            },
            "share_count": 1568,
            "sticky": true,
            "time_desc": "05-13",
            "title": "彩妆测评大大大大实话!!!!!无广放心食用版!",
            "type": "video",
            "user": {
              "followed": false,
              "fstatus": "none",
              "images": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo32041recbii005pjju211on86lmvrnd0?imageView2/2/w/80/format/jpg",
              "nickname": "不知名小嘎",
              "red_official_verify_type": 0,
              "userid": "6673f0820000000007005d06"
            },
            "video_info_v2": {
              "capa": {
                "duration": 236,
                "frame_ts": 0,
                "is_upload": false,
                "is_user_select": false
              },
              "consumer": {
                "can_super_resolution": false
              },
              "image": {
                "first_frame": "https://sns-i11.rednotecdn.com/1040g2sg3203tfgpm2gn05pjju211on86k1op7g8?imageView2/2/w/1440/format/webp&ap=12&sc=USR_DTL&sign=e6ae883c514d87ab2eefd4c4ecab6ccf&t=6abe7b39",
                "thumbnail": "https://sns-i11.rednotecdn.com/frame/110/0/01ea0454bc1849a70010000000019e20eba8ef_0.webp?imageView2/2/w/5000/h/5000/format/webp/q/90&ap=12&sc=USR_ORG&sign=d49abeba927ffffc683849459e956b1b&t=6abe7b39",
                "thumbnail_dim": "https://sns-i11.rednotecdn.com/frame/110/0/01ea0454bc1849a70010000000019e20eba8ef_0.webp?imageView2/2/w/720/h/720/format/webp&ap=12&sc=USR_SPRT&sign=d49abeba927ffffc683849459e956b1b&t=6abe7b39"
              },
              "media": {
                "audio_info": {
                  "stream_types": "… 3 items in the full response"
                },
                "audio_stream": {
                  "AAC": "… 3 items in the full response"
                },
                "stream": {
                  "av1": "… 0 items in the full response",
                  "h264": "… 1 items in the full response",
                  "h265": "… 2 items in the full response",
                  "h266": "… 0 items in the full response"
                },
                "user_level": 0,
                "video": {
                  "bbox": "…",
                  "biz_id": "282042688643948687",
                  "biz_name": 110,
                  "bound": "… 1 items in the full response",
                  "drm_type": 0,
                  "duration": 237,
                  "hdr_type": 0,
                  "height": 1920,
                  "md5": "da4f9795f71869351213c673daa4ffa1",
                  "opaque1": "…",
                  "stream_types": "… 3 items in the full response",
                  "subtitles": "…",
                  "width": 1080
                },
                "video_id": "137927500567693735"
              }
            },
            "view_count": 0,
            "widgets_context": "{\"video\":true,\"origin_video_key\":\"pre_post/1040g0cg3203tfgpijqs05pjju211on86pj8tpco\",\"flags\":{\"sound_track\":true},\"author_id\":\"6673f0820000000007005d06\",\"author_name\":\"不知名小嘎\",\"video_duration\":236}"
          },
          "… 20 more items in the full response"
        ],
        "tags": []
      },
      "debug_id": "f4535847",
      "debug_info": "gAAAAABqvns5uj1MRPYe9-2tSuTpxK__CcuDinDcVfmb9Xhzo_AwI4gBBMlTiysYNOscqqnfBwENftqYSDOZ_OHjZNikHVFvxz_aqXrTmgNo_mdbRG8IlUeYMcG9uOoBFbKtmROWYSdGEE0eon5M7lDaOT7k3e8_n1HSjPiNK7Yn7d7d2wfs1B6q-_N2juUHB68eUMlAoYdaaIDmTjx_TAl0IOCWs6tXjAQpuTdZcHf7d_mXruR88W9e7vNhCxrY8BxZJ4uImsFAef7s0Se2syWj4QruhIPtS7GXZJ1KI5gH…",
      "msg": "success",
      "success": true
    }
  }
]

範例

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

API README

Xiaohongshu (RED) User Posted Notes API

Returns a page of notes posted by one Xiaohongshu (RED) user. Each note includes its title, text, engagement counts, images or video streams, and author details. Pass either user_id or a shared profile link in share_text.

Use cases

  • Build a posting history for a creator, including note type, publish date and engagement counts.
  • Compare likes, collected_count and comments_count across a creator's notes to see which posts did best.
  • Download cover images and video stream URLs for notes from a given account.
  • Spot pinned notes with sticky and separate them from recent posts when tracking a profile.

Request

curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/user-posted-notes" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"user_id": "61b46d790000000010008153", "share_text": "http://xhslink.com/o/8GqargIxrko"}'

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

Parameters

NameTypeRequiredDescription
cursorstringNoPagination cursor, leave empty for first request, pass cursor value from previous response for next page
share_textstringNoXiaohongshu sharing link (support APP and Web sharing link)
user_idstringNoUser ID, e.g. "61b46d790000000010008153"

Example response

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

{
  "code": 0,
  "data": {
    "has_more": true,
    "notes": [
      {
        "advanced_widgets_groups": {
          "groups": [
            {
              "fetch_types": [
                "guos_test"
              ],
              "mode": 1
            }
          ]
        },
        "ats": [],
        "collected_count": 1186,
        "comments_count": 887,
        "create_time": 1756598549,
        "cursor": "68b39115000000001c037dad",
        "desc": "作为职业运动员,我们一直都知道“退休”就在不远处。过去的15年职业生涯,我明确的知道有一天我会需要离开,但现在真的到了要和篮球说再见的时候,这仍然是我这辈子做过…",
        "display_title": "是时候说再见了❤️",
        "guide_context": "{\"show_goods_c2c\":false}",
        "has_music": false,
        "id": "68b39115000000001c037dad",
        "images_list": [
          {
            "fileid": "1040g00831lr18klv50005odkdlsk10ajcajkq5g",
            "height": 1440,
            "original": "",
            "trace_id": "1040g00831lr18klv50005odkdlsk10ajcajkq5g",
            "url": "https://sns-i11.rednotecdn.com/1040g00831lr18klv50005odkdlsk10ajcajkq5g?imageVie…",
            "url_size_large": "https://sns-i11.rednotecdn.com/1040g00831lr18klv50005odkdlsk10ajcajkq5g?imageVie…",
            "width": 1080
          }
        ]
      }
    ],
    "tags": []
  },
  "debug_id": "edd83f15",
  "debug_info": "gAAAAABq6ZFvM1UIsoIPWDCov4Adm9KgR0lO1JwORkWqFOeuccNww-8jdEuh7VG-dcmYT3c6pgfdR_no…",
  "msg": "success",
  "success": true
}

Response fields

FieldMeaning
data.notes[].idID of the note. It matches the cursor value on the same note.
data.notes[].title / data.notes[].display_titleTitle of the note as shown to readers.
data.notes[].descBody text of the note, including hashtags.
data.notes[].typeNote format. The response shows video and normal (image note).
data.notes[].likes / data.notes[].collected_count / data.notes[].comments_count / data.notes[].share_countEngagement counts for the note: likes, collects, comments and shares.
data.notes[].create_timePublish time of the note as a Unix timestamp in seconds.
data.notes[].time_descDisplay text for the publish time. It can be a date such as 2025-08-30 or a relative value such as 2d ago.
data.notes[].stickytrue when the note is pinned to the top of the profile.
data.notes[].images_list[].url_size_largeLink to the large version of an image in the note. width and height give its size.
data.notes[].video_info_v2.media.streamVideo streams by codec (h264, h265). Each entry has avg_bitrate, duration and backup_urls. Only video notes have this field.
data.notes[].user.nickname / data.notes[].user.useridDisplay name and ID of the note author.
data.has_moretrue when more notes are available on a later page.

Notes

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) User Posted Notes API?

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

Xiaohongshu (RED) User Posted Notes API 的費用是多少?

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

Xiaohongshu (RED) User Posted Notes API 接受哪些參數?

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

Xiaohongshu (RED) User Posted Notes API 會回傳什麼?

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

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

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