Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Xiaohongshu (RED) User Posted Notes

Dokumentacja 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.

Cena
$0.01USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
0 wymaganych · 3 opcjonalnych

Playground

Wejście
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"
WyjściePrzykład
Odpowiedźoutputs · 10.7 KB · 244 wierszy
[
  {
    "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
    }
  }
]

Przykłady

Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.

README API

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Xiaohongshu$0.01 za wywołanieJSON
Xiaohongshu$0.01 za wywołanieJSON
Xiaohongshu$0.01 za wywołanieJSON
Xiaohongshu$0.01 za wywołanieJSON
Xiaohongshu$0.01 za wywołanieJSON
Xiaohongshu$0.01 za wywołanieJSON

Przewodniki:Best Xiaohongshu API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API Xiaohongshu (RED) User Posted Notes?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/user-posted-notes z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Xiaohongshu (RED) User Posted Notes?

$0.01 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Xiaohongshu (RED) User Posted Notes?

Nie są wymagane żadne parametry. Opcjonalne: cursor (string), share_text (string) i user_id (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Xiaohongshu (RED) User Posted Notes?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Xiaohongshu lub klucza API?

Nie. Xiaohongshu (RED) User Posted Notes działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Xiaohongshu.