Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

Xiaohongshu User Notes

Documentazione API
https://api.sandbase.ai/v1/api/xiaohongshu/user-note-list

Get a user's published public Xiaohongshu (RedNote) notes by user ID or supported profile URL, with lastCursor pagination. This endpoint does not create, upload or publish notes.

Prezzo
$0.021429USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
1 obbligatori · 1 opzionali

Playground

Input
A Xiaohongshu user ID or a profile URL containing /user/profile/.
Omit on the first request. For the next page, pass the last note's cursor value from the previous response.
OutputPronto

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

README API

Xiaohongshu User Notes API

Returns a page of public notes published by one Xiaohongshu (RedNote) user. Each note includes its title, text, images or video details, engagement counts and author summary. The input is a user ID or a profile URL containing /user/profile/.

Use cases

  • Track what a brand or creator account posts and how each note performs.
  • Build a content archive of an account's titles, text and image URLs.
  • Compare likes, collected_count and comments_count across a creator's notes.
  • Find which notes an account pins to the top of its profile.

Request

curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/user-note-list" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"userId": "64b898310000000014037b21"}'

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

Parameters

NameTypeRequiredDescription
userIdstringYesA Xiaohongshu user ID or a profile URL containing /user/profile/.
lastCursorstringNoOmit on the first request. For the next page, pass the last note's cursor value from the previous response.

Example response

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

{
  "has_more": true,
  "notes": [
    {
      "advanced_widgets_groups": {
        "groups": [
          {
            "fetch_types": [
              "guos_test"
            ],
            "mode": 1
          }
        ]
      },
      "ats": [],
      "collected_count": 678,
      "comments_count": 817,
      "create_time": 1792745872,
      "cursor": "6adb2190000000002403bf87",
      "desc": "🎁各位小红薯粉丝们!本周福利来袭,100元喜茶礼品卡等你来拿!\n\t\n潇湘晨报小红书为感谢各位一路以来的厚爱和支持(疯狂比心),宝子们的奶茶我们来安排!本周专属粉…",
      "display_title": "粉丝福利:送100元喜茶礼品卡",
      "guide_context": "{\"show_goods_c2c\":false}",
      "has_music": false,
      "id": "6adb2190000000002403bf87",
      "images_list": [
        {
          "fileid": "spectrum/1040g0k0326lm1uo04c005p5oj0ol6up1hfehkuo",
          "height": 2400,
          "original": "",
          "trace_id": "spectrum/1040g0k0326lm1uo04c005p5oj0ol6up1hfehkuo",
          "url": "https://sns-i11-ae.rednotecdn.com/spectrum/1040g0k0326lm1uo04c005p5oj0ol6up1hfeh…",
          "url_size_large": "https://sns-i11-ae.rednotecdn.com/spectrum/1040g0k0326lm1uo04c005p5oj0ol6up1hfeh…",
          "width": 1440
        }
      ]
    }
  ],
  "tags": []
}

Response fields

FieldMeaning
has_moretrue when more notes are available after this page.
notes[].id / notes[].cursorThe note ID and the cursor for that note. In the sample the two values are identical. Pass the last note's cursor as lastCursor to get the next page.
notes[].title / notes[].display_title / notes[].descThe note headline and the note body text. desc can contain line breaks and emoji.
notes[].typeThe note format. The sample shows normal for image notes and video for a video note.
notes[].likes / notes[].collected_count / notes[].comments_count / notes[].share_countEngagement counts for the note. view_count is also present but shows 0 in the sample.
notes[].create_time / notes[].last_update_time / notes[].time_desccreate_time and last_update_time look like Unix timestamps in seconds, and last_update_time is 0 when the note was not updated. time_desc is a short display string such as 10-23 or 1分钟前.
notes[].stickytrue when the note is pinned on the profile.
notes[].images_list[].url_size_large / notes[].images_list[].width / notes[].images_list[].heightThe large image URL and its dimensions for each image in the note.
notes[].video_info_v2.media.stream.h264[] / notes[].video_info_v2.capa.durationFor video notes, the list of H.264 stream variants with bitrate and backup_urls, plus the video duration. H.265 variants appear under h265.
notes[].user.userid / notes[].user.nicknameThe ID and display name of the note's author.

Notes

  • Pass the userId from a profile URL path after /user/profile/, or send the full profile URL.
  • For the first page, omit lastCursor. For the next page, send the cursor of the last note in notes[], and keep going while has_more is true.
  • Pinned notes (sticky is true) appear first in the sample, ahead of the other notes.
  • To read a single note in full, call Xiaohongshu Note Details. To read its comments, call Xiaohongshu Note Comments.

Pricing

$0.021429 per successful call. Failed calls are not charged.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
Xiaohongshu$0.021429 per chiamataJSON
Xiaohongshu$0.01 per chiamataJSON
Xiaohongshu$0.01 per chiamataJSON
Xiaohongshu$0.01 per chiamataJSON
Xiaohongshu$0.01 per chiamataJSON
Xiaohongshu$0.01 per chiamataJSON

Guide:Best Xiaohongshu API in 2026: Pricing Compared

Domande

FAQ

Come uso l'API Xiaohongshu User Notes?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/xiaohongshu/user-note-list con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API Xiaohongshu User Notes?

$0.021429 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API Xiaohongshu User Notes?

Richiesti: userId (string). Facoltativi: lastCursor (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API Xiaohongshu User Notes?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API Xiaohongshu?

No. Xiaohongshu User Notes funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Xiaohongshu.