Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

Xiaohongshu (RED) User Favorited Notes

API-Dokumentation
https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/user-faved-notes

Returns a paginated list of notes favorited by a specified Xiaohongshu (RED) user. Supports querying by user ID or profile share link, with cursor-based pagination.

Preis
$0.01USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
0 erforderlich · 3 optional

Playground

Eingabe
Pagination cursor, leave empty for first request, pass last note_id from previous page for next page
Xiaohongshu sharing link (support APP and Web sharing link)
User ID, e.g. "5a8cf39111be10466d285d6b"
AusgabeBeispiel
Antwortoutputs · 731 B · 17 Zeilen
[
  {
    "data": {
      "code": 0,
      "data": {
        "fallback": false,
        "has_more": false,
        "need_clean": false,
        "notes": []
      },
      "debug_id": "d464f235",
      "debug_info": "gAAAAABqvfBdoLFjxv0cHdzupzatA2RbAAAK7CIBFQeMTFKT6LYY3FWhWOnXsmYg0nXiesrL0F2jIb0vMI5G8U-vrVHWcVFfHXf_6KH5sZXmA93oBJfZ3OF-exiqsbKkT8REm3DJrhTjtUlU0EWguH2yR_Vlyjc3NL5Ql1db6z5lDMA3uaMZHVQg8vtb3CxYw0FXQiinTTbGdn5VJ0bccmh4ekU_WmbcYaas9Vn4PTi0iYLGSBsgFVq-BbrfDeNjDnQJkltGEcXUkqcJCxOT6Csm_5GNHWDC0j2uBAgqTctKXh9rl14MBR0lEqbQr3o9_NwLELS81amtZnGFIkkzk1bGJ85CSmyaZzN3eOdEzRZh8z9qkwt6Hofta7_4GZn8PWaMgoAGJWsSX9ZNNsw28gSry8uxWE-7u30sHjkriKDENJJ56PPIEhp3rTceY1zseTUOaLAQBGFF",
      "msg": "成功",
      "success": true
    }
  }
]

Beispiele

Wählen Sie ein Beispiel aus, um seine Eingaben und das Ergebnis in den Playground zu laden.

API-README

Xiaohongshu (RED) User Favorited Notes API

Returns a page of notes that a Xiaohongshu (RED) user has favorited. Each note includes its title, text, images, engagement counts, author, and video details when the note is a video. Pass either user_id or a profile share link in share_text.

Use cases

  • Study which topics and creators a specific user saves most often.
  • Collect the IDs and xsec_token values of favorited notes, then fetch full details for each one.
  • Compare likes and collected_count across a user's favorites to see which kinds of posts draw saves.
  • Page through a public favorites list to build a reading history of one account.

Request

curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/user-faved-notes" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"user_id": "5a8cf39111be10466d285d6b", "share_text": "https://xhslink.com/a/EZ4M9TwMA6c3"}'

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

Parameters

NameTypeRequiredDescription
cursorstringNoPagination cursor, leave empty for first request, pass last note_id from previous page for next page
share_textstringNoXiaohongshu sharing link (support APP and Web sharing link)
user_idstringNoUser ID, e.g. "5a8cf39111be10466d285d6b"

Example response

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

{
  "code": 0,
  "data": {
    "cursor": "6adc6b9e0000000025023fcf",
    "fallback": false,
    "has_more": true,
    "need_clean": true,
    "notes": [
      {
        "advanced_widgets_groups": {
          "groups": [
            {
              "fetch_types": [
                "guos_test"
              ],
              "mode": 1
            }
          ]
        },
        "ats": [],
        "collected_count": 43,
        "comments_count": 123,
        "create_time": 1793533275,
        "cursor_score": "6ae7255b000000001e014133",
        "desc": "🍚\n姐姐提议的居家万圣小聚\n5分钟搞定老农民妆造\n懒人友好🧑‍🤝‍🧑哈哈哈哈\n\t\n#万圣节拍照[话题]#",
        "display_title": "当你的万圣节任务是cos一些出其不意的",
        "id": "6ae7255b000000001e014133",
        "images_list": [
          {
            "fileid": "notes_pre_post/1040g3k83271dhedgma205o562cn0962uf1ik58g",
            "height": 1799,
            "index": 0,
            "latitude": 0,
            "longitude": 0,
            "original": "https://sns-i11.rednotecdn.com/notes_pre_post/1040g3k83271dhedgma205o562cn0962uf…",
            "trace_id": "notes_pre_post/1040g3k83271dhedgma205o562cn0962uf1ik58g",
            "url": "https://sns-i11.rednotecdn.com/notes_pre_post/1040g3k83271dhedgma205o562cn0962uf…"
          }
        ],
        "infavs": false,
        "inlikes": false
      }
    ]
  },
  "debug_id": "8b6df836",
  "debug_info": "gAAAAABq6ZFueMYwiAkZGc-YgvqgWFhh3Gwhnh28JadPeh-jnMCPe9lc5zapDVdpcg1o66eAT5nt0XvR…",
  "msg": "成功",
  "success": true
}

Response fields

FieldMeaning
data.notes[]The list of favorited notes on this page.
data.notes[].idThe note ID. It matches cursor_score in these samples.
data.notes[].title / data.notes[].display_titleThe note title as shown to readers.
data.notes[].descThe note body text, including hashtags written as #tag[话题]#.
data.notes[].typeThe note format. Values seen are normal for image notes and video for video notes.
data.notes[].likes / data.notes[].collected_count / data.notes[].comments_count / data.notes[].share_countCounts of likes, saves, comments, and shares for the note.
data.notes[].create_time / data.notes[].last_update_timeUnix timestamps in seconds for when the note was created and last edited. last_update_time is 0 when the note was never updated.
data.notes[].user.user_id / data.notes[].user.nicknameThe ID and display name of the author who posted the note, not the user whose favorites you requested.
data.notes[].images_list[].url / data.notes[].images_list[].originalImage links for the note. url is a smaller version and original is the large version.
data.notes[].xsec_tokenA token attached to the note. Keep it with the note id for later note lookups.
data.notes[].video_info_v2.capa.durationVideo length for video notes. Only video notes include video_info_v2.
data.has_more / data.cursorWhether another page exists, and the cursor value returned for paging.

Notes

Pricing

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

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
Xiaohongshu$0.01 pro AufrufJSON
Xiaohongshu$0.01 pro AufrufJSON
Xiaohongshu$0.01 pro AufrufJSON
Xiaohongshu$0.01 pro AufrufJSON
Xiaohongshu$0.01 pro AufrufJSON
Xiaohongshu$0.01 pro AufrufJSON

Anleitungen:Best Xiaohongshu API in 2026: Pricing Compared

Fragen

FAQ

Wie verwende ich die Xiaohongshu (RED) User Favorited Notes API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/user-faved-notes mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die Xiaohongshu (RED) User Favorited Notes API?

$0.01 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die Xiaohongshu (RED) User Favorited Notes API?

Es sind keine Parameter erforderlich. Optional: cursor (string), share_text (string) und user_id (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die Xiaohongshu (RED) User Favorited Notes API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.

Benötige ich ein Xiaohongshu-Entwicklerkonto oder einen API-Schlüssel?

Nein. Xiaohongshu (RED) User Favorited Notes läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Xiaohongshu API beantragen.