---
title: "小紅書用戶筆記 API (V4)"
description: "通過用戶 ID 或支持的個人主頁 URL，讀取小紅書（RedNote）用戶已發佈的公開筆記，支持 lastCursor 分頁。此接口不會創建、上傳或發佈筆記。"
aiUsagePrompt: true
---

# 小紅書用戶筆記 API \(V4\)

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/xiaohongshu/get-user-note-list/v4\"")'
  :summary='JSON.parse("\"用戶筆記 (V4)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/xiaohongshu-rednote/user-published-notes-v4-zh-hant.json"
  openapiVersion="3.1.0"
  :parameters='JSON.parse("[{\"name\":\"token\",\"in\":\"query\",\"description\":\"此 API 服務的訪問令牌。\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"userId\",\"in\":\"query\",\"description\":\"小紅書用戶ID或包含 /user/profile/ 的個人資料URL。\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"lastCursor\",\"in\":\"query\",\"description\":\"首次請求不傳此參數。請求下一頁時，傳入上一頁回應中最後一條筆記的 cursor 值。\",\"required\":false,\"schema\":{\"type\":\"string\"}}]")'
  :requestBody='JSON.parse("null")'
  :responses='JSON.parse("{\"200\":{\"description\":\"好的\",\"content\":{\"application/json\":{\"schema\":{\"if\":{\"properties\":{\"code\":{\"const\":0}},\"required\":[\"code\"]},\"then\":{\"properties\":{\"data\":{\"description\":\"成功回應的 data 為對象時，包含已發佈筆記和分頁欄位。\",\"properties\":{\"has_more\":{\"type\":\"boolean\",\"description\":\"是否還有更多筆記。返回 false 時停止翻頁。\"},\"cursor\":{\"type\":\"string\",\"description\":\"可選的頁面級游標。has_more 為 true 時，將當前頁最後一條筆記的 cursor 作為 lastCursor 傳入。\"},\"notes\":{\"type\":\"array\",\"description\":\"目標用戶公開發布的筆記。分頁結束時可能返回空列表。\",\"items\":{\"type\":\"object\",\"description\":\"當前頁中的一條已發佈筆記。\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"小紅書筆記 ID。\"},\"cursor\":{\"type\":\"string\",\"description\":\"每條筆記對應的游標。has_more 為 true 時，將最後一條筆記的游標作為 lastCursor 傳入。\"},\"display_title\":{\"type\":\"string\",\"description\":\"在列表中展示的筆記標題。\"},\"title\":{\"type\":\"string\",\"description\":\"小紅書返回的筆記標題。\"},\"desc\":{\"type\":\"string\",\"description\":\"返回的筆記正文或描述。\"},\"type\":{\"type\":\"string\",\"description\":\"小紅書返回的筆記類型。已觀察到圖文筆記為 normal，視頻筆記為 video。\"},\"sticky\":{\"type\":\"boolean\",\"description\":\"小紅書是否將該筆記標記為置頂。\"},\"is_goods_note\":{\"type\":\"boolean\",\"description\":\"小紅書是否將該筆記標記為商品筆記。\"},\"create_time\":{\"type\":\"integer\",\"description\":\"筆記創建時間，Unix 時間戳，單位為秒。\"},\"last_update_time\":{\"type\":\"integer\",\"description\":\"筆記最後更新時間，Unix 時間戳，單位為秒。可能為 0。\"},\"time_desc\":{\"type\":\"string\",\"description\":\"平台返回的筆記日期展示文本。\"},\"ip_location\":{\"type\":\"string\",\"description\":\"筆記的地區標識，有該值時返回。\"},\"likes\":{\"type\":\"integer\",\"description\":\"likes 欄位中返回的點贊數。\"},\"comments_count\":{\"type\":\"integer\",\"description\":\"筆記顯示的評論數。\"},\"collected_count\":{\"type\":\"integer\",\"description\":\"平台返回的筆記收藏數。\"},\"share_count\":{\"type\":\"integer\",\"description\":\"平台返回的筆記分享數。\"},\"user\":{\"type\":\"object\",\"description\":\"隨筆記返回的作者信息。\",\"properties\":{\"userid\":{\"type\":\"string\",\"description\":\"筆記作者的小紅書帳號 ID。\"},\"nickname\":{\"type\":\"string\",\"description\":\"頁面展示的作者暱稱。\"},\"images\":{\"type\":\"string\",\"description\":\"作者頭像連結。\"},\"red_official_verify_type\":{\"type\":\"integer\",\"description\":\"平台返回的作者官方認證類別編碼。\"}}},\"ats\":{\"type\":\"array\",\"description\":\"筆記中提及的帳號列表。\",\"items\":{\"type\":\"object\",\"description\":\"筆記中提及的一個帳號。\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"被提及用戶的小紅書帳號 ID。\"},\"name\":{\"type\":\"string\",\"description\":\"平台返回的被提及帳號名稱。\"},\"nickname\":{\"type\":\"string\",\"description\":\"平台返回的被提及帳號暱稱。\"}}}},\"images_list\":{\"type\":\"array\",\"description\":\"筆記的圖片資源，視頻筆記也可能返回封面圖。\",\"items\":{\"type\":\"object\",\"description\":\"筆記關聯的一張圖片。\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"圖片連結。該欄位為空時，大尺寸圖片連結仍可能有值。\"},\"original\":{\"type\":\"string\",\"description\":\"原圖連結欄位，可能為空。\"},\"width\":{\"type\":\"integer\",\"description\":\"圖片元資料中記錄的寬度，單位為像素。\"},\"height\":{\"type\":\"integer\",\"description\":\"圖片元資料中記錄的高度，單位為像素。\"},\"fileid\":{\"type\":\"string\",\"description\":\"圖片在平台上的文件 ID。\"},\"url_size_large\":{\"type\":\"string\",\"description\":\"大尺寸圖片版本的連結。\"},\"live_photo_file_id\":{\"type\":\"string\",\"description\":\"平台返回的圖片實況照片文件 ID。\"},\"live_photo\":{\"type\":\"object\",\"description\":\"圖片的實況照片信息。有相關信息時返回。\",\"properties\":{\"media\":{\"type\":\"object\",\"description\":\"平台提供的實況照片播放信息。\",\"properties\":{\"video_id\":{\"type\":\"string\",\"description\":\"平台返回的實況照片媒體視頻 ID。\"},\"video\":{\"type\":\"object\",\"description\":\"與實況照片關聯的視頻信息。\",\"properties\":{\"width\":{\"type\":\"integer\",\"description\":\"視頻寬度，單位為像素。\"},\"height\":{\"type\":\"integer\",\"description\":\"視頻高度，單位為像素。\"},\"duration\":{\"type\":\"integer\",\"description\":\"視頻時長，按整秒返回。\"},\"drm_type\":{\"type\":\"integer\",\"description\":\"平台返回的視頻 DRM 原始類別編碼。\"},\"hdr_type\":{\"type\":\"integer\",\"description\":\"平台返回的視頻 HDR 原始類別編碼。\"},\"stream_types\":{\"type\":\"array\",\"description\":\"平台返回的視頻流類型編碼列表。\",\"items\":{\"type\":\"integer\",\"description\":\"平台返回的視頻原始流類型編碼。\"}}}},\"stream\":{\"type\":\"object\",\"description\":\"按小紅書返回的編解碼標籤分組的流版本。\",\"properties\":{\"h264\":{\"type\":\"array\",\"description\":\"實況照片的 H.264 流列表。\"},\"h265\":{\"type\":\"array\",\"description\":\"實況照片的 H.265 流列表。\",\"items\":{\"type\":\"object\",\"description\":\"單條實況照片 H.265 流的信息。\",\"properties\":{\"master_url\":{\"type\":\"string\",\"description\":\"平台為該流提供的主連結。\"},\"backup_urls\":{\"type\":\"array\",\"description\":\"平台為該流提供的備用連結列表。\",\"items\":{\"type\":\"string\",\"description\":\"流的備用連結。\"}},\"width\":{\"type\":\"integer\",\"description\":\"流的寬度，單位為像素。\"},\"height\":{\"type\":\"integer\",\"description\":\"流的高度，單位為像素。\"},\"fps\":{\"type\":\"integer\",\"description\":\"平台返回的視頻幀率，單位為幀每秒。\"},\"format\":{\"type\":\"string\",\"description\":\"平台返回的流媒體格式。\"},\"video_codec\":{\"type\":\"string\",\"description\":\"平台返回的流視頻編解碼格式。\"},\"audio_codec\":{\"type\":\"string\",\"description\":\"平台返回的流音頻編解碼格式，可能為空。\"},\"audio_channels\":{\"type\":\"integer\",\"description\":\"平台返回的流音頻聲道數。\"},\"avg_bitrate\":{\"type\":\"integer\",\"description\":\"媒體流平均碼率，單位為比特每秒。\"},\"video_bitrate\":{\"type\":\"integer\",\"description\":\"視頻軌道碼率，單位為比特每秒。\"},\"audio_bitrate\":{\"type\":\"integer\",\"description\":\"音頻軌道碼率，單位為比特每秒。\"},\"quality_type\":{\"type\":\"string\",\"description\":\"平台返回的流原始畫質標籤。\"},\"stream_desc\":{\"type\":\"string\",\"description\":\"小紅書提供的流說明。\"},\"duration\":{\"type\":\"integer\",\"description\":\"媒體流總時長，單位為毫秒。\"},\"video_duration\":{\"type\":\"integer\",\"description\":\"視頻軌道時長，單位為毫秒。\"},\"audio_duration\":{\"type\":\"integer\",\"description\":\"音頻軌道時長，單位為毫秒。0 可能表示沒有音頻軌道。\"},\"size\":{\"type\":\"integer\",\"description\":\"媒體流文件大小，單位為字節。\"}}}},\"h266\":{\"type\":\"array\",\"description\":\"小紅書返回的 H.266 流列表，可能為空。\"},\"av1\":{\"type\":\"array\",\"description\":\"小紅書返回的 AV1 流列表，可能為空。\"}}}}},\"consumer\":{\"type\":\"object\",\"description\":\"實況照片的播放選項。\",\"properties\":{\"can_super_resolution\":{\"type\":\"boolean\",\"description\":\"播放信息是否標記支持超分辨率。\"}}}}}}}},\"video_info_v2\":{\"type\":\"object\",\"description\":\"部分視頻筆記返回的視頻媒體信息。\",\"properties\":{\"image\":{\"type\":\"object\",\"description\":\"與視頻關聯的圖片。\",\"properties\":{\"thumbnail\":{\"type\":\"string\",\"description\":\"視頻縮略圖連結，有該值時返回。\"},\"first_frame\":{\"type\":\"string\",\"description\":\"視頻首幀圖片連結，有該值時返回。\"},\"thumbnail_dim\":{\"type\":\"string\",\"description\":\"視頻的另一種縮略圖連結。\"}}},\"media\":{\"type\":\"object\",\"description\":\"筆記的視頻和播放流信息。\",\"properties\":{\"video\":{\"type\":\"object\",\"description\":\"視頻筆記中的視頻基本信息。\",\"properties\":{\"width\":{\"type\":\"integer\",\"description\":\"視頻寬度，單位為像素。\"},\"height\":{\"type\":\"integer\",\"description\":\"視頻高度，單位為像素。\"},\"duration\":{\"type\":\"integer\",\"description\":\"視頻時長，按整秒返回。\"},\"drm_type\":{\"type\":\"integer\",\"description\":\"平台返回的視頻 DRM 原始類別編碼。\"},\"hdr_type\":{\"type\":\"integer\",\"description\":\"平台返回的視頻 HDR 原始類別編碼。\"},\"stream_types\":{\"type\":\"array\",\"description\":\"平台返回的視頻流類型編碼列表。\",\"items\":{\"type\":\"integer\",\"description\":\"平台返回的視頻原始流類型編碼。\"}},\"md5\":{\"type\":\"string\",\"description\":\"視頻元資料中返回的 MD5 值。\"},\"subtitles\":{\"type\":\"object\",\"description\":\"按回應中的語言鍵分組的字幕軌道。\",\"properties\":{\"source\":{\"type\":\"array\",\"description\":\"原始語言字幕軌道。\",\"items\":{\"type\":\"object\",\"description\":\"該語言對應的一條字幕軌道。\",\"properties\":{\"language\":{\"type\":\"string\",\"description\":\"平台返回的字幕語言標識。\"},\"url\":{\"type\":\"string\",\"description\":\"字幕軌道連結。\"},\"format\":{\"type\":\"integer\",\"description\":\"字幕格式原始編碼。\"},\"type\":{\"type\":\"integer\",\"description\":\"字幕類型原始編碼。\"}}}},\"zh-CN\":{\"type\":\"array\",\"description\":\"簡體中文字幕軌道，有相關信息時返回。\",\"items\":{\"type\":\"object\",\"description\":\"該語言對應的一條字幕軌道。\",\"properties\":{\"language\":{\"type\":\"string\",\"description\":\"平台返回的字幕語言標識。\"},\"url\":{\"type\":\"string\",\"description\":\"字幕軌道連結。\"},\"format\":{\"type\":\"integer\",\"description\":\"字幕格式原始編碼。\"},\"type\":{\"type\":\"integer\",\"description\":\"字幕類型原始編碼。\"}}}},\"en-US\":{\"type\":\"array\",\"description\":\"美式英語字幕軌道，有相關信息時返回。\",\"items\":{\"type\":\"object\",\"description\":\"該語言對應的一條字幕軌道。\",\"properties\":{\"language\":{\"type\":\"string\",\"description\":\"平台返回的字幕語言標識。\"},\"url\":{\"type\":\"string\",\"description\":\"字幕軌道連結。\"},\"format\":{\"type\":\"integer\",\"description\":\"字幕格式原始編碼。\"},\"type\":{\"type\":\"integer\",\"description\":\"字幕類型原始編碼。\"}}}}}}}},\"stream\":{\"type\":\"object\",\"description\":\"按小紅書返回的編解碼標籤分組的流版本。\",\"properties\":{\"h264\":{\"type\":\"array\",\"description\":\"視頻筆記的 H.264 視頻流列表。\",\"items\":{\"type\":\"object\",\"description\":\"單條 H.264 視頻流的信息。\",\"properties\":{\"master_url\":{\"type\":\"string\",\"description\":\"平台為該流提供的主連結。\"},\"backup_urls\":{\"type\":\"array\",\"description\":\"平台為該流提供的備用連結列表。\",\"items\":{\"type\":\"string\",\"description\":\"流的備用連結。\"}},\"width\":{\"type\":\"integer\",\"description\":\"流的寬度，單位為像素。\"},\"height\":{\"type\":\"integer\",\"description\":\"流的高度，單位為像素。\"},\"fps\":{\"type\":\"integer\",\"description\":\"平台返回的視頻幀率，單位為幀每秒。\"},\"format\":{\"type\":\"string\",\"description\":\"平台返回的流媒體格式。\"},\"video_codec\":{\"type\":\"string\",\"description\":\"平台返回的流視頻編解碼格式。\"},\"audio_codec\":{\"type\":\"string\",\"description\":\"平台返回的流音頻編解碼格式，可能為空。\"},\"audio_channels\":{\"type\":\"integer\",\"description\":\"平台返回的流音頻聲道數。\"},\"avg_bitrate\":{\"type\":\"integer\",\"description\":\"媒體流平均碼率，單位為比特每秒。\"},\"video_bitrate\":{\"type\":\"integer\",\"description\":\"視頻軌道碼率，單位為比特每秒。\"},\"audio_bitrate\":{\"type\":\"integer\",\"description\":\"音頻軌道碼率，單位為比特每秒。\"},\"quality_type\":{\"type\":\"string\",\"description\":\"平台返回的流原始畫質標籤。\"},\"stream_desc\":{\"type\":\"string\",\"description\":\"小紅書提供的流說明。\"},\"duration\":{\"type\":\"integer\",\"description\":\"媒體流總時長，單位為毫秒。\"},\"video_duration\":{\"type\":\"integer\",\"description\":\"視頻軌道時長，單位為毫秒。\"},\"audio_duration\":{\"type\":\"integer\",\"description\":\"音頻軌道時長，單位為毫秒。0 可能表示沒有音頻軌道。\"},\"size\":{\"type\":\"integer\",\"description\":\"媒體流文件大小，單位為字節。\"}}}},\"h265\":{\"type\":\"array\",\"description\":\"視頻筆記的 H.265 視頻流列表。\",\"items\":{\"type\":\"object\",\"description\":\"單條 H.265 視頻流的信息。\",\"properties\":{\"master_url\":{\"type\":\"string\",\"description\":\"平台為該流提供的主連結。\"},\"backup_urls\":{\"type\":\"array\",\"description\":\"平台為該流提供的備用連結列表。\",\"items\":{\"type\":\"string\",\"description\":\"流的備用連結。\"}},\"width\":{\"type\":\"integer\",\"description\":\"流的寬度，單位為像素。\"},\"height\":{\"type\":\"integer\",\"description\":\"流的高度，單位為像素。\"},\"fps\":{\"type\":\"integer\",\"description\":\"平台返回的視頻幀率，單位為幀每秒。\"},\"format\":{\"type\":\"string\",\"description\":\"平台返回的流媒體格式。\"},\"video_codec\":{\"type\":\"string\",\"description\":\"平台返回的流視頻編解碼格式。\"},\"audio_codec\":{\"type\":\"string\",\"description\":\"平台返回的流音頻編解碼格式，可能為空。\"},\"audio_channels\":{\"type\":\"integer\",\"description\":\"平台返回的流音頻聲道數。\"},\"avg_bitrate\":{\"type\":\"integer\",\"description\":\"媒體流平均碼率，單位為比特每秒。\"},\"video_bitrate\":{\"type\":\"integer\",\"description\":\"視頻軌道碼率，單位為比特每秒。\"},\"audio_bitrate\":{\"type\":\"integer\",\"description\":\"音頻軌道碼率，單位為比特每秒。\"},\"quality_type\":{\"type\":\"string\",\"description\":\"平台返回的流原始畫質標籤。\"},\"stream_desc\":{\"type\":\"string\",\"description\":\"小紅書提供的流說明。\"},\"duration\":{\"type\":\"integer\",\"description\":\"媒體流總時長，單位為毫秒。\"},\"video_duration\":{\"type\":\"integer\",\"description\":\"視頻軌道時長，單位為毫秒。\"},\"audio_duration\":{\"type\":\"integer\",\"description\":\"音頻軌道時長，單位為毫秒。0 可能表示沒有音頻軌道。\"},\"size\":{\"type\":\"integer\",\"description\":\"媒體流文件大小，單位為字節。\"}}}},\"h266\":{\"type\":\"array\",\"description\":\"小紅書返回的 H.266 流列表，可能為空。\"},\"av1\":{\"type\":\"array\",\"description\":\"小紅書返回的 AV1 流列表，可能為空。\"}}},\"audio_stream\":{\"type\":\"object\",\"description\":\"按編解碼格式分組的音頻流，有相關信息時返回。\",\"properties\":{\"AAC\":{\"type\":\"array\",\"description\":\"AAC 音頻流列表，有相關信息時返回。\",\"items\":{\"type\":\"object\",\"description\":\"單條 AAC 音頻流的信息。\",\"properties\":{\"audio_codec\":{\"type\":\"string\",\"description\":\"音頻編解碼格式標籤。\"},\"audio_channels\":{\"type\":\"integer\",\"description\":\"音頻流的聲道數。\"},\"master_url\":{\"type\":\"string\",\"description\":\"音頻流的主要播放連結。\"},\"backup_urls\":{\"type\":\"array\",\"description\":\"音頻流的備用播放連結。\",\"items\":{\"type\":\"string\",\"description\":\"媒體流的備用連結。\"}},\"format\":{\"type\":\"string\",\"description\":\"平台返回的音頻流封裝格式。\"},\"audio_bitrate\":{\"type\":\"integer\",\"description\":\"音頻軌道碼率，單位為比特每秒。\"},\"audio_samplerate\":{\"type\":\"integer\",\"description\":\"平台返回的音軌採樣率。\"},\"audio_duration\":{\"type\":\"integer\",\"description\":\"音頻軌道時長，單位為毫秒。\"},\"size\":{\"type\":\"integer\",\"description\":\"音頻流文件大小，單位為字節。\"}}}}}},\"video_id\":{\"type\":\"string\",\"description\":\"平台返回的筆記媒體視頻 ID。\"},\"audio_info\":{\"type\":\"object\",\"description\":\"有關可用音頻流類型的信息。\",\"properties\":{\"stream_types\":{\"type\":\"array\",\"description\":\"音頻流類型編碼列表。\",\"items\":{\"type\":\"integer\",\"description\":\"單個音頻流類型原始編碼。\"}}}}}},\"capa\":{\"type\":\"object\",\"description\":\"視頻的補充信息。\",\"properties\":{\"duration\":{\"type\":\"integer\",\"description\":\"該欄位記錄的視頻時長，單位為秒。\"}}},\"consumer\":{\"type\":\"object\",\"description\":\"平台返回的視頻播放選項。\",\"properties\":{\"can_super_resolution\":{\"type\":\"boolean\",\"description\":\"播放信息是否標記支持超分辨率。\"}}}}}}}},\"tags\":{\"type\":\"array\",\"description\":\"隨當前頁返回的標籤列表，可能為空。\"}}}}},\"allOf\":[{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"string\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}]}}}},\"400\":{\"description\":\"請求參數或請求本文無效\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"string\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"401\":{\"description\":\"訪問令牌無效或未激活\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"string\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"403\":{\"description\":\"權限不足\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"string\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"429\":{\"description\":\"請求速率或每日配額已超限\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"string\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"500\":{\"description\":\"伺服器內部錯誤\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"string\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"503\":{\"description\":\"服務暫時不可用\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"string\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}}}")'
  :servers='JSON.parse("[{\"url\":\"https://api.justoneapi.com\",\"description\":\"全球生產 API（預設）\"}]")'
  :security='JSON.parse("[]")'
  :securitySchemes='JSON.parse("{}")'
  :schemas='JSON.parse("{}")'
/>

<ApiHealthSection :api='JSON.parse("\"/api/xiaohongshu/get-user-note-list/v4\"")' />

<p>通過用戶 ID 或支持的個人主頁 URL，讀取小紅書（RedNote）用戶已發佈的公開筆記，支持 lastCursor 分頁。此接口不會創建、上傳或發佈筆記。</p>

## 請求參數

<div class="api-doc-table api-doc-table--params">

| 參數名 | 位置 | 類型 | 必填 | 預設值 | 說明 |
| --- | --- | --- | --- | --- | --- |
| <code>token</code> | query | <code>string</code> | 是 | - | 此 API 服務的訪問令牌。 |
| <code>userId</code> | query | <code>string</code> | 是 | - | 小紅書用戶ID或包含 /user/profile/ 的個人資料URL。 |
| <code>lastCursor</code> | query | <code>string</code> | 否 | - | 首次請求不傳此參數。請求下一頁時，傳入上一頁回應中最後一條筆記的 cursor 值。 |

</div>

## 程式碼範例

::: code-group

```bash [🐚 cURL]
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/xiaohongshu/get-user-note-list/v4?token=YOUR_API_KEY&userId=VALUE'
```

```text [🤖 AI 提示詞]
我想使用 JustOneAPI 提供的“用戶筆記 (V4)”接口。
接入地址: https://api.justoneapi.com。
接口路徑: /api/xiaohongshu/get-user-note-list/v4?token=YOUR_API_KEY&userId=VALUE
接口地址: BASE_URL + /api/xiaohongshu/get-user-note-list/v4?token=YOUR_API_KEY&userId=VALUE
HTTP 方法: GET
身份驗證: 在 URL 中傳入 token 查詢參數。
OpenAPI 定義: https://docs.justoneapi.com/openapi/xiaohongshu-rednote/user-published-notes-v4-zh-hant.json

請求參數說明:
- token (query): 此 API 服務的訪問令牌。 (必填)
- userId (query): 小紅書用戶ID或包含 /user/profile/ 的個人資料URL。 (必填)
- lastCursor (query): 首次請求不傳此參數。請求下一頁時，傳入上一頁回應中最後一條筆記的 cursor 值。

返回格式: 請根據實際 Content-Type 安全處理 JSON 或文本回應。

回應處理與錯誤代碼：
1. 需通過返回體中的 "code" 欄位判斷業務結果（code 為 0 表示成功）。
2. 逾時建議：建議將請求逾時時間設置為 120 秒；如果 120 秒偏長，請至少設置為 60 秒，但可能會有少量請求因逾時而未接收到結果。
3. 業務碼說明：
   - 0: 成功
   - 100: Token 無效或已失效
   - 301: 採集失敗，請重試
   - 302: 超出速率限制
   - 303: 超出每日配額
   - 400: 參數錯誤
   - 500: 內部伺服器錯誤
   - 600: 權限不足
   - 601: 帳戶餘額不足
   - 602: TOKEN 限額超限
4. code 601 表示帳戶共享餘額不足。code 602 表示當前 API TOKEN 自身的累計消費上限已達到。TOKEN 限額不是資金劃撥，多個 TOKEN 仍共享同一個帳戶餘額。

請幫我用我擅長的編程語言寫一個腳本來呼叫這個接口，並處理返回結果。
```

```python [🐍 Python]
import requests

BASE_URL = "https://api.justoneapi.com"  # 由 OpenAPI servers 提供

url = BASE_URL + "/api/xiaohongshu/get-user-note-list/v4?token=YOUR_API_KEY&userId=VALUE"
response = requests.get(url, timeout=120)
print(response.status_code)
if response.content:
    content_type = response.headers.get("content-type", "").lower()
    if "json" in content_type:
        try:
            print(response.json())
        except ValueError:
            print(response.text)
    elif content_type.startswith("text/") or "xml" in content_type or content_type.split(";", 1)[0].strip() in {"application/javascript", "application/x-www-form-urlencoded", "application/graphql"}:
        print(response.text)
    else:
        with open("response.bin", "wb") as output:
            output.write(response.content)
        print(f"Saved {len(response.content)} bytes to response.bin")
```

```js [🌐 JavaScript]
const BASE_URL = "https://api.justoneapi.com"; // 由 OpenAPI servers 提供
const url = BASE_URL + "/api/xiaohongshu/get-user-note-list/v4?token=YOUR_API_KEY&userId=VALUE";

const response = await fetch(url, {
  method: "GET",
  signal: AbortSignal.timeout(120000)
});
console.log(response.status);
const responseBytes = await response.arrayBuffer();
if (responseBytes.byteLength) {
  const contentType = (response.headers.get("content-type") || "").toLowerCase();
  const mediaType = contentType.split(";", 1)[0].trim();
  const textual = contentType.startsWith("text/") || contentType.includes("json") || contentType.includes("xml") || ["application/javascript", "application/x-www-form-urlencoded", "application/graphql"].includes(mediaType);
  if (textual) {
    const responseText = new TextDecoder().decode(responseBytes);
    let data = responseText;
    if (contentType.includes("json")) {
      try { data = JSON.parse(responseText); } catch { /* Keep the raw body. */ }
    }
    console.log(data);
  } else {
    console.log(`Received ${responseBytes.byteLength} binary bytes`);
  }
}
```

```java [☕ Java]
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;

public class Main {
    public static void main(String[] args) throws Exception {
        final String BASE_URL = "https://api.justoneapi.com"; // 由 OpenAPI servers 提供
        final String url = BASE_URL + "/api/xiaohongshu/get-user-note-list/v4?token=YOUR_API_KEY&userId=VALUE";

        HttpClient client = HttpClient.newBuilder().connectTimeout(Duration.ofSeconds(120)).build();
        HttpRequest.Builder builder = HttpRequest.newBuilder()
            .uri(URI.create(url))
            .timeout(Duration.ofSeconds(120))
            .method("GET", HttpRequest.BodyPublishers.noBody());

        HttpRequest request = builder.build();

        HttpResponse<byte[]> response = client.send(request, HttpResponse.BodyHandlers.ofByteArray());
        System.out.println(response.statusCode());
        String contentType = response.headers().firstValue("content-type").orElse("").toLowerCase();
        String mediaType = contentType.split(";", 2)[0].trim();
        if (contentType.startsWith("text/") || contentType.contains("json") || contentType.contains("xml") || mediaType.equals("application/javascript") || mediaType.equals("application/x-www-form-urlencoded") || mediaType.equals("application/graphql")) {
            System.out.println(new String(response.body(), StandardCharsets.UTF_8));
        } else {
            Files.write(Path.of("response.bin"), response.body());
            System.out.println("Saved " + response.body().length + " bytes to response.bin");
        }
    }
}
```

```go [🐹 Go]
package main

import (
	"fmt"
	"io"
	"os"
	"strings"
	"net/http"
	"time"
)

const BASE_URL = "https://api.justoneapi.com" // 由 OpenAPI servers 提供

func main() {
	client := &http.Client{Timeout: 120 * time.Second}
	url := BASE_URL + "/api/xiaohongshu/get-user-note-list/v4?token=YOUR_API_KEY&userId=VALUE"
	req, _ := http.NewRequest("GET", url, nil)
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	fmt.Println(resp.StatusCode)
	bodyBytes, _ := io.ReadAll(resp.Body)
	contentType := strings.ToLower(resp.Header.Get("Content-Type"))
	mediaType := strings.TrimSpace(strings.SplitN(contentType, ";", 2)[0])
	if strings.HasPrefix(contentType, "text/") || strings.Contains(contentType, "json") || strings.Contains(contentType, "xml") || mediaType == "application/javascript" || mediaType == "application/x-www-form-urlencoded" || mediaType == "application/graphql" {
		fmt.Println(string(bodyBytes))
	} else {
		os.WriteFile("response.bin", bodyBytes, 0600)
		fmt.Printf("Saved %d bytes to response.bin\n", len(bodyBytes))
	}
}
```

```php [🐘 PHP]
<?php
$BASE_URL = 'https://api.justoneapi.com'; // 由 OpenAPI servers 提供
$url = $BASE_URL . '/api/xiaohongshu/get-user-note-list/v4?token=YOUR_API_KEY&userId=VALUE';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 120);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
$response = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
$contentType = strtolower((string) curl_getinfo($ch, CURLINFO_CONTENT_TYPE));
curl_close($ch);
echo $status . PHP_EOL;
$mediaType = trim(explode(';', $contentType, 2)[0]);
if (str_starts_with($contentType, 'text/') || str_contains($contentType, 'json') || str_contains($contentType, 'xml') || in_array($mediaType, ['application/javascript', 'application/x-www-form-urlencoded', 'application/graphql'], true)) {
    echo $response;
} else {
    file_put_contents('response.bin', $response);
    echo 'Saved ' . strlen($response) . ' bytes to response.bin' . PHP_EOL;
}
```

:::

<div style="text-align: right; margin-top: -20px; margin-bottom: 20px;">
<a href="/openapi/xiaohongshu-rednote/user-published-notes-v4-zh-hant.json" target="_blank" style="font-size: 12px; color: var(--vp-c-text-3); text-decoration: none; opacity: 0.8;">[OpenAPI 定義 (JSON)]</a>
</div>

## 返回欄位

業務成功時（`code = 0`）的主要返回欄位。

<div class="api-doc-table api-doc-table--response">

| 欄位路徑 | 類型 | 說明 |
| --- | --- | --- |
| <code>data</code> | - | 成功回應的 data 為對象時，包含已發佈筆記和分頁欄位。 |
| <code>data.has_more</code> | <code>boolean</code> | 是否還有更多筆記。返回 false 時停止翻頁。 |
| <code>data.cursor</code> | <code>string</code> | 可選的頁面級游標。has_more 為 true 時，將當前頁最後一條筆記的 cursor 作為 lastCursor 傳入。 |
| <code>data.notes</code> | <code>array</code> | 目標用戶公開發布的筆記。分頁結束時可能返回空列表。 |
| <code>data.notes[]</code> | <code>object</code> | 當前頁中的一條已發佈筆記。 |
| <code>data.notes[].id</code> | <code>string</code> | 小紅書筆記 ID。 |
| <code>data.notes[].cursor</code> | <code>string</code> | 每條筆記對應的游標。has_more 為 true 時，將最後一條筆記的游標作為 lastCursor 傳入。 |
| <code>data.notes[].display_title</code> | <code>string</code> | 在列表中展示的筆記標題。 |
| <code>data.notes[].title</code> | <code>string</code> | 小紅書返回的筆記標題。 |
| <code>data.notes[].desc</code> | <code>string</code> | 返回的筆記正文或描述。 |
| <code>data.notes[].type</code> | <code>string</code> | 小紅書返回的筆記類型。已觀察到圖文筆記為 normal，視頻筆記為 video。 |
| <code>data.notes[].sticky</code> | <code>boolean</code> | 小紅書是否將該筆記標記為置頂。 |
| <code>data.notes[].is_goods_note</code> | <code>boolean</code> | 小紅書是否將該筆記標記為商品筆記。 |
| <code>data.notes[].create_time</code> | <code>integer</code> | 筆記創建時間，Unix 時間戳，單位為秒。 |
| <code>data.notes[].last_update_time</code> | <code>integer</code> | 筆記最後更新時間，Unix 時間戳，單位為秒。可能為 0。 |
| <code>data.notes[].time_desc</code> | <code>string</code> | 平台返回的筆記日期展示文本。 |
| <code>data.notes[].ip_location</code> | <code>string</code> | 筆記的地區標識，有該值時返回。 |
| <code>data.notes[].likes</code> | <code>integer</code> | likes 欄位中返回的點贊數。 |
| <code>data.notes[].comments_count</code> | <code>integer</code> | 筆記顯示的評論數。 |
| <code>data.notes[].collected_count</code> | <code>integer</code> | 平台返回的筆記收藏數。 |
| <code>data.notes[].share_count</code> | <code>integer</code> | 平台返回的筆記分享數。 |
| <code>data.notes[].user</code> | <code>object</code> | 隨筆記返回的作者信息。 |
| <code>data.notes[].user.userid</code> | <code>string</code> | 筆記作者的小紅書帳號 ID。 |
| <code>data.notes[].user.nickname</code> | <code>string</code> | 頁面展示的作者暱稱。 |
| <code>data.notes[].user.images</code> | <code>string</code> | 作者頭像連結。 |
| <code>data.notes[].user.red_official_verify_type</code> | <code>integer</code> | 平台返回的作者官方認證類別編碼。 |
| <code>data.notes[].ats</code> | <code>array</code> | 筆記中提及的帳號列表。 |
| <code>data.notes[].ats[]</code> | <code>object</code> | 筆記中提及的一個帳號。 |
| <code>data.notes[].ats[].id</code> | <code>string</code> | 被提及用戶的小紅書帳號 ID。 |
| <code>data.notes[].ats[].name</code> | <code>string</code> | 平台返回的被提及帳號名稱。 |
| <code>data.notes[].ats[].nickname</code> | <code>string</code> | 平台返回的被提及帳號暱稱。 |
| <code>data.notes[].images_list</code> | <code>array</code> | 筆記的圖片資源，視頻筆記也可能返回封面圖。 |
| <code>data.notes[].images_list[]</code> | <code>object</code> | 筆記關聯的一張圖片。 |
| <code>data.notes[].images_list[].url</code> | <code>string</code> | 圖片連結。該欄位為空時，大尺寸圖片連結仍可能有值。 |
| <code>data.notes[].images_list[].original</code> | <code>string</code> | 原圖連結欄位，可能為空。 |
| <code>data.notes[].images_list[].width</code> | <code>integer</code> | 圖片元資料中記錄的寬度，單位為像素。 |
| <code>data.notes[].images_list[].height</code> | <code>integer</code> | 圖片元資料中記錄的高度，單位為像素。 |
| <code>data.notes[].images_list[].fileid</code> | <code>string</code> | 圖片在平台上的文件 ID。 |
| <code>data.notes[].images_list[].url_size_large</code> | <code>string</code> | 大尺寸圖片版本的連結。 |
| <code>data.notes[].images_list[].live_photo_file_id</code> | <code>string</code> | 平台返回的圖片實況照片文件 ID。 |
| <code>data.notes[].images_list[].live_photo</code> | <code>object</code> | 圖片的實況照片信息。有相關信息時返回。 |
| <code>data.notes[].images_list[].live_photo.media</code> | <code>object</code> | 平台提供的實況照片播放信息。 |
| <code>data.notes[].images_list[].live_photo.media.video_id</code> | <code>string</code> | 平台返回的實況照片媒體視頻 ID。 |
| <code>data.notes[].images_list[].live_photo.media.video</code> | <code>object</code> | 與實況照片關聯的視頻信息。 |
| <code>data.notes[].images_list[].live_photo.media.video.width</code> | <code>integer</code> | 視頻寬度，單位為像素。 |
| <code>data.notes[].images_list[].live_photo.media.video.height</code> | <code>integer</code> | 視頻高度，單位為像素。 |
| <code>data.notes[].images_list[].live_photo.media.video.duration</code> | <code>integer</code> | 視頻時長，按整秒返回。 |
| <code>data.notes[].images_list[].live_photo.media.video.drm_type</code> | <code>integer</code> | 平台返回的視頻 DRM 原始類別編碼。 |
| <code>data.notes[].images_list[].live_photo.media.video.hdr_type</code> | <code>integer</code> | 平台返回的視頻 HDR 原始類別編碼。 |
| <code>data.notes[].images_list[].live_photo.media.video.stream_types</code> | <code>array</code> | 平台返回的視頻流類型編碼列表。 |
| <code>data.notes[].images_list[].live_photo.media.video.stream_types[]</code> | <code>integer</code> | 平台返回的視頻原始流類型編碼。 |
| <code>data.notes[].images_list[].live_photo.media.stream</code> | <code>object</code> | 按小紅書返回的編解碼標籤分組的流版本。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h264</code> | <code>array</code> | 實況照片的 H.264 流列表。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265</code> | <code>array</code> | 實況照片的 H.265 流列表。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[]</code> | <code>object</code> | 單條實況照片 H.265 流的信息。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].master_url</code> | <code>string</code> | 平台為該流提供的主連結。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].backup_urls</code> | <code>array</code> | 平台為該流提供的備用連結列表。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].backup_urls[]</code> | <code>string</code> | 流的備用連結。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].width</code> | <code>integer</code> | 流的寬度，單位為像素。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].height</code> | <code>integer</code> | 流的高度，單位為像素。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].fps</code> | <code>integer</code> | 平台返回的視頻幀率，單位為幀每秒。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].format</code> | <code>string</code> | 平台返回的流媒體格式。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].video_codec</code> | <code>string</code> | 平台返回的流視頻編解碼格式。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].audio_codec</code> | <code>string</code> | 平台返回的流音頻編解碼格式，可能為空。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].audio_channels</code> | <code>integer</code> | 平台返回的流音頻聲道數。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].avg_bitrate</code> | <code>integer</code> | 媒體流平均碼率，單位為比特每秒。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].video_bitrate</code> | <code>integer</code> | 視頻軌道碼率，單位為比特每秒。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].audio_bitrate</code> | <code>integer</code> | 音頻軌道碼率，單位為比特每秒。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].quality_type</code> | <code>string</code> | 平台返回的流原始畫質標籤。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].stream_desc</code> | <code>string</code> | 小紅書提供的流說明。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].duration</code> | <code>integer</code> | 媒體流總時長，單位為毫秒。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].video_duration</code> | <code>integer</code> | 視頻軌道時長，單位為毫秒。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].audio_duration</code> | <code>integer</code> | 音頻軌道時長，單位為毫秒。0 可能表示沒有音頻軌道。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].size</code> | <code>integer</code> | 媒體流文件大小，單位為字節。 |
| <code>data.notes[].images_list[].live_photo.media.stream.h266</code> | <code>array</code> | 小紅書返回的 H.266 流列表，可能為空。 |
| <code>data.notes[].images_list[].live_photo.media.stream.av1</code> | <code>array</code> | 小紅書返回的 AV1 流列表，可能為空。 |
| <code>data.notes[].images_list[].live_photo.consumer</code> | <code>object</code> | 實況照片的播放選項。 |
| <code>data.notes[].images_list[].live_photo.consumer.can_super_resolution</code> | <code>boolean</code> | 播放信息是否標記支持超分辨率。 |
| <code>data.notes[].video_info_v2</code> | <code>object</code> | 部分視頻筆記返回的視頻媒體信息。 |
| <code>data.notes[].video_info_v2.image</code> | <code>object</code> | 與視頻關聯的圖片。 |
| <code>data.notes[].video_info_v2.image.thumbnail</code> | <code>string</code> | 視頻縮略圖連結，有該值時返回。 |
| <code>data.notes[].video_info_v2.image.first_frame</code> | <code>string</code> | 視頻首幀圖片連結，有該值時返回。 |
| <code>data.notes[].video_info_v2.image.thumbnail_dim</code> | <code>string</code> | 視頻的另一種縮略圖連結。 |
| <code>data.notes[].video_info_v2.media</code> | <code>object</code> | 筆記的視頻和播放流信息。 |
| <code>data.notes[].video_info_v2.media.video</code> | <code>object</code> | 視頻筆記中的視頻基本信息。 |
| <code>data.notes[].video_info_v2.media.video.width</code> | <code>integer</code> | 視頻寬度，單位為像素。 |
| <code>data.notes[].video_info_v2.media.video.height</code> | <code>integer</code> | 視頻高度，單位為像素。 |
| <code>data.notes[].video_info_v2.media.video.duration</code> | <code>integer</code> | 視頻時長，按整秒返回。 |
| <code>data.notes[].video_info_v2.media.video.drm_type</code> | <code>integer</code> | 平台返回的視頻 DRM 原始類別編碼。 |
| <code>data.notes[].video_info_v2.media.video.hdr_type</code> | <code>integer</code> | 平台返回的視頻 HDR 原始類別編碼。 |
| <code>data.notes[].video_info_v2.media.video.stream_types</code> | <code>array</code> | 平台返回的視頻流類型編碼列表。 |
| <code>data.notes[].video_info_v2.media.video.stream_types[]</code> | <code>integer</code> | 平台返回的視頻原始流類型編碼。 |
| <code>data.notes[].video_info_v2.media.video.md5</code> | <code>string</code> | 視頻元資料中返回的 MD5 值。 |
| <code>data.notes[].video_info_v2.media.video.subtitles</code> | <code>object</code> | 按回應中的語言鍵分組的字幕軌道。 |
| <code>data.notes[].video_info_v2.media.video.subtitles.source</code> | <code>array</code> | 原始語言字幕軌道。 |
| <code>data.notes[].video_info_v2.media.video.subtitles.source[]</code> | <code>object</code> | 該語言對應的一條字幕軌道。 |
| <code>data.notes[].video_info_v2.media.video.subtitles.source[].language</code> | <code>string</code> | 平台返回的字幕語言標識。 |
| <code>data.notes[].video_info_v2.media.video.subtitles.source[].url</code> | <code>string</code> | 字幕軌道連結。 |
| <code>data.notes[].video_info_v2.media.video.subtitles.source[].format</code> | <code>integer</code> | 字幕格式原始編碼。 |
| <code>data.notes[].video_info_v2.media.video.subtitles.source[].type</code> | <code>integer</code> | 字幕類型原始編碼。 |
| <code>data.notes[].video_info_v2.media.video.subtitles.zh-CN</code> | <code>array</code> | 簡體中文字幕軌道，有相關信息時返回。 |
| <code>data.notes[].video_info_v2.media.video.subtitles.zh-CN[]</code> | <code>object</code> | 該語言對應的一條字幕軌道。 |
| <code>data.notes[].video_info_v2.media.video.subtitles.zh-CN[].language</code> | <code>string</code> | 平台返回的字幕語言標識。 |
| <code>data.notes[].video_info_v2.media.video.subtitles.zh-CN[].url</code> | <code>string</code> | 字幕軌道連結。 |
| <code>data.notes[].video_info_v2.media.video.subtitles.zh-CN[].format</code> | <code>integer</code> | 字幕格式原始編碼。 |
| <code>data.notes[].video_info_v2.media.video.subtitles.zh-CN[].type</code> | <code>integer</code> | 字幕類型原始編碼。 |
| <code>data.notes[].video_info_v2.media.video.subtitles.en-US</code> | <code>array</code> | 美式英語字幕軌道，有相關信息時返回。 |
| <code>data.notes[].video_info_v2.media.video.subtitles.en-US[]</code> | <code>object</code> | 該語言對應的一條字幕軌道。 |
| <code>data.notes[].video_info_v2.media.video.subtitles.en-US[].language</code> | <code>string</code> | 平台返回的字幕語言標識。 |
| <code>data.notes[].video_info_v2.media.video.subtitles.en-US[].url</code> | <code>string</code> | 字幕軌道連結。 |
| <code>data.notes[].video_info_v2.media.video.subtitles.en-US[].format</code> | <code>integer</code> | 字幕格式原始編碼。 |
| <code>data.notes[].video_info_v2.media.video.subtitles.en-US[].type</code> | <code>integer</code> | 字幕類型原始編碼。 |
| <code>data.notes[].video_info_v2.media.stream</code> | <code>object</code> | 按小紅書返回的編解碼標籤分組的流版本。 |
| <code>data.notes[].video_info_v2.media.stream.h264</code> | <code>array</code> | 視頻筆記的 H.264 視頻流列表。 |
| <code>data.notes[].video_info_v2.media.stream.h264[]</code> | <code>object</code> | 單條 H.264 視頻流的信息。 |
| <code>data.notes[].video_info_v2.media.stream.h264[].master_url</code> | <code>string</code> | 平台為該流提供的主連結。 |
| <code>data.notes[].video_info_v2.media.stream.h264[].backup_urls</code> | <code>array</code> | 平台為該流提供的備用連結列表。 |
| <code>data.notes[].video_info_v2.media.stream.h264[].backup_urls[]</code> | <code>string</code> | 流的備用連結。 |
| <code>data.notes[].video_info_v2.media.stream.h264[].width</code> | <code>integer</code> | 流的寬度，單位為像素。 |
| <code>data.notes[].video_info_v2.media.stream.h264[].height</code> | <code>integer</code> | 流的高度，單位為像素。 |
| <code>data.notes[].video_info_v2.media.stream.h264[].fps</code> | <code>integer</code> | 平台返回的視頻幀率，單位為幀每秒。 |
| <code>data.notes[].video_info_v2.media.stream.h264[].format</code> | <code>string</code> | 平台返回的流媒體格式。 |
| <code>data.notes[].video_info_v2.media.stream.h264[].video_codec</code> | <code>string</code> | 平台返回的流視頻編解碼格式。 |
| <code>data.notes[].video_info_v2.media.stream.h264[].audio_codec</code> | <code>string</code> | 平台返回的流音頻編解碼格式，可能為空。 |
| <code>data.notes[].video_info_v2.media.stream.h264[].audio_channels</code> | <code>integer</code> | 平台返回的流音頻聲道數。 |
| <code>data.notes[].video_info_v2.media.stream.h264[].avg_bitrate</code> | <code>integer</code> | 媒體流平均碼率，單位為比特每秒。 |
| <code>data.notes[].video_info_v2.media.stream.h264[].video_bitrate</code> | <code>integer</code> | 視頻軌道碼率，單位為比特每秒。 |
| <code>data.notes[].video_info_v2.media.stream.h264[].audio_bitrate</code> | <code>integer</code> | 音頻軌道碼率，單位為比特每秒。 |
| <code>data.notes[].video_info_v2.media.stream.h264[].quality_type</code> | <code>string</code> | 平台返回的流原始畫質標籤。 |
| <code>data.notes[].video_info_v2.media.stream.h264[].stream_desc</code> | <code>string</code> | 小紅書提供的流說明。 |
| <code>data.notes[].video_info_v2.media.stream.h264[].duration</code> | <code>integer</code> | 媒體流總時長，單位為毫秒。 |
| <code>data.notes[].video_info_v2.media.stream.h264[].video_duration</code> | <code>integer</code> | 視頻軌道時長，單位為毫秒。 |
| <code>data.notes[].video_info_v2.media.stream.h264[].audio_duration</code> | <code>integer</code> | 音頻軌道時長，單位為毫秒。0 可能表示沒有音頻軌道。 |
| <code>data.notes[].video_info_v2.media.stream.h264[].size</code> | <code>integer</code> | 媒體流文件大小，單位為字節。 |
| <code>data.notes[].video_info_v2.media.stream.h265</code> | <code>array</code> | 視頻筆記的 H.265 視頻流列表。 |
| <code>data.notes[].video_info_v2.media.stream.h265[]</code> | <code>object</code> | 單條 H.265 視頻流的信息。 |
| <code>data.notes[].video_info_v2.media.stream.h265[].master_url</code> | <code>string</code> | 平台為該流提供的主連結。 |
| <code>data.notes[].video_info_v2.media.stream.h265[].backup_urls</code> | <code>array</code> | 平台為該流提供的備用連結列表。 |
| <code>data.notes[].video_info_v2.media.stream.h265[].backup_urls[]</code> | <code>string</code> | 流的備用連結。 |
| <code>data.notes[].video_info_v2.media.stream.h265[].width</code> | <code>integer</code> | 流的寬度，單位為像素。 |
| <code>data.notes[].video_info_v2.media.stream.h265[].height</code> | <code>integer</code> | 流的高度，單位為像素。 |
| <code>data.notes[].video_info_v2.media.stream.h265[].fps</code> | <code>integer</code> | 平台返回的視頻幀率，單位為幀每秒。 |
| <code>data.notes[].video_info_v2.media.stream.h265[].format</code> | <code>string</code> | 平台返回的流媒體格式。 |
| <code>data.notes[].video_info_v2.media.stream.h265[].video_codec</code> | <code>string</code> | 平台返回的流視頻編解碼格式。 |
| <code>data.notes[].video_info_v2.media.stream.h265[].audio_codec</code> | <code>string</code> | 平台返回的流音頻編解碼格式，可能為空。 |
| <code>data.notes[].video_info_v2.media.stream.h265[].audio_channels</code> | <code>integer</code> | 平台返回的流音頻聲道數。 |
| <code>data.notes[].video_info_v2.media.stream.h265[].avg_bitrate</code> | <code>integer</code> | 媒體流平均碼率，單位為比特每秒。 |
| <code>data.notes[].video_info_v2.media.stream.h265[].video_bitrate</code> | <code>integer</code> | 視頻軌道碼率，單位為比特每秒。 |
| <code>data.notes[].video_info_v2.media.stream.h265[].audio_bitrate</code> | <code>integer</code> | 音頻軌道碼率，單位為比特每秒。 |
| <code>data.notes[].video_info_v2.media.stream.h265[].quality_type</code> | <code>string</code> | 平台返回的流原始畫質標籤。 |
| <code>data.notes[].video_info_v2.media.stream.h265[].stream_desc</code> | <code>string</code> | 小紅書提供的流說明。 |
| <code>data.notes[].video_info_v2.media.stream.h265[].duration</code> | <code>integer</code> | 媒體流總時長，單位為毫秒。 |
| <code>data.notes[].video_info_v2.media.stream.h265[].video_duration</code> | <code>integer</code> | 視頻軌道時長，單位為毫秒。 |
| <code>data.notes[].video_info_v2.media.stream.h265[].audio_duration</code> | <code>integer</code> | 音頻軌道時長，單位為毫秒。0 可能表示沒有音頻軌道。 |
| <code>data.notes[].video_info_v2.media.stream.h265[].size</code> | <code>integer</code> | 媒體流文件大小，單位為字節。 |
| <code>data.notes[].video_info_v2.media.stream.h266</code> | <code>array</code> | 小紅書返回的 H.266 流列表，可能為空。 |
| <code>data.notes[].video_info_v2.media.stream.av1</code> | <code>array</code> | 小紅書返回的 AV1 流列表，可能為空。 |
| <code>data.notes[].video_info_v2.media.audio_stream</code> | <code>object</code> | 按編解碼格式分組的音頻流，有相關信息時返回。 |
| <code>data.notes[].video_info_v2.media.audio_stream.AAC</code> | <code>array</code> | AAC 音頻流列表，有相關信息時返回。 |
| <code>data.notes[].video_info_v2.media.audio_stream.AAC[]</code> | <code>object</code> | 單條 AAC 音頻流的信息。 |
| <code>data.notes[].video_info_v2.media.audio_stream.AAC[].audio_codec</code> | <code>string</code> | 音頻編解碼格式標籤。 |
| <code>data.notes[].video_info_v2.media.audio_stream.AAC[].audio_channels</code> | <code>integer</code> | 音頻流的聲道數。 |
| <code>data.notes[].video_info_v2.media.audio_stream.AAC[].master_url</code> | <code>string</code> | 音頻流的主要播放連結。 |
| <code>data.notes[].video_info_v2.media.audio_stream.AAC[].backup_urls</code> | <code>array</code> | 音頻流的備用播放連結。 |
| <code>data.notes[].video_info_v2.media.audio_stream.AAC[].backup_urls[]</code> | <code>string</code> | 媒體流的備用連結。 |
| <code>data.notes[].video_info_v2.media.audio_stream.AAC[].format</code> | <code>string</code> | 平台返回的音頻流封裝格式。 |
| <code>data.notes[].video_info_v2.media.audio_stream.AAC[].audio_bitrate</code> | <code>integer</code> | 音頻軌道碼率，單位為比特每秒。 |
| <code>data.notes[].video_info_v2.media.audio_stream.AAC[].audio_samplerate</code> | <code>integer</code> | 平台返回的音軌採樣率。 |
| <code>data.notes[].video_info_v2.media.audio_stream.AAC[].audio_duration</code> | <code>integer</code> | 音頻軌道時長，單位為毫秒。 |
| <code>data.notes[].video_info_v2.media.audio_stream.AAC[].size</code> | <code>integer</code> | 音頻流文件大小，單位為字節。 |
| <code>data.notes[].video_info_v2.media.video_id</code> | <code>string</code> | 平台返回的筆記媒體視頻 ID。 |
| <code>data.notes[].video_info_v2.media.audio_info</code> | <code>object</code> | 有關可用音頻流類型的信息。 |
| <code>data.notes[].video_info_v2.media.audio_info.stream_types</code> | <code>array</code> | 音頻流類型編碼列表。 |
| <code>data.notes[].video_info_v2.media.audio_info.stream_types[]</code> | <code>integer</code> | 單個音頻流類型原始編碼。 |
| <code>data.notes[].video_info_v2.capa</code> | <code>object</code> | 視頻的補充信息。 |
| <code>data.notes[].video_info_v2.capa.duration</code> | <code>integer</code> | 該欄位記錄的視頻時長，單位為秒。 |
| <code>data.notes[].video_info_v2.consumer</code> | <code>object</code> | 平台返回的視頻播放選項。 |
| <code>data.notes[].video_info_v2.consumer.can_super_resolution</code> | <code>boolean</code> | 播放信息是否標記支持超分辨率。 |
| <code>data.tags</code> | <code>array</code> | 隨當前頁返回的標籤列表，可能為空。 |

</div>

## 回應示例

<ApiExampleSection :api='JSON.parse("\"/api/xiaohongshu/get-user-note-list/v4\"")' />

