---
title: "Xiaohongshu (RedNote) โน้ตของผู้ใช้ API (V4)"
description: "อ่านโน้ตสาธารณะที่ผู้ใช้ได้เผยแพร่ใน Xiaohongshu (RedNote) โดยใช้ ID ผู้ใช้หรือ URL ประวัติภาพลักษณ์ที่รองรับ พร้อมการแบ่งหน้าแบบ lastCursor endpointนี้ไม่สร้าง อัปโหลด หรือเผยแพร่โน้ต"
lastUpdated: false
aiUsagePrompt: true
---

# Xiaohongshu \(RedNote\) โน้ตของผู้ใช้ 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-th.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 ของผู้ใช้ Xiaohongshu หรือ URL ของโปรไฟล์ที่มี /user/profile/\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"lastCursor\",\"in\":\"query\",\"description\":\"ไม่ต้องใช้สำหรับคำขอแรก สำหรับหน้าถัดไป ให้ส่งค่ากอร์เซอร์ของบันทึกสุดท้ายจากการตอบกลับก่อนหน้า\",\"required\":false,\"schema\":{\"type\":\"string\"}}]")'
  :requestBody='JSON.parse("null")'
  :responses='JSON.parse("{\"200\":{\"description\":\"OK\",\"content\":{\"application/json\":{\"schema\":{\"if\":{\"properties\":{\"code\":{\"const\":0}},\"required\":[\"code\"]},\"then\":{\"properties\":{\"data\":{\"description\":\"ข้อความและฟิลด์การแสดงผลเมื่อ payload ที่สำเร็จเป็นอ็อบเจกต์.\",\"properties\":{\"has_more\":{\"type\":\"boolean\",\"description\":\"มีข้อความเพิ่มเติมที่สามารถดูได้หรือไม่ หยุดการแสดงผลการแบ่งหน้าเมื่อค่าเป็น false.\"},\"cursor\":{\"type\":\"string\",\"description\":\"คอร์เซอร์ระดับหน้าแบบเลือกได้ เมื่อ has_more เป็น true ให้ส่งคอร์เซอร์ของข้อความสุดท้ายเป็น 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\":\"ชื่อเรื่องที่รายงานโดย Xiaohongshu.\"},\"desc\":{\"type\":\"string\",\"description\":\"ข้อความหรือคำอธิบายที่ส่งกลับมาสำหรับข้อความ.\"},\"type\":{\"type\":\"string\",\"description\":\"ประเภทข้อความที่รายงานโดย Xiaohongshu ค่าที่สังเกตได้รวมถึง normal สำหรับข้อความภาพและ video สำหรับข้อความวิดีโอ.\"},\"sticky\":{\"type\":\"boolean\",\"description\":\"Xiaohongshu ระบุข้อความว่าเป็นข้อความที่ถูกติดตั้งหรือไม่.\"},\"is_goods_note\":{\"type\":\"boolean\",\"description\":\"Xiaohongshu ระบุข้อความว่าเป็นข้อความสินค้าหรือไม่.\"},\"create_time\":{\"type\":\"integer\",\"description\":\"เวลาการสร้างข้อความเป็นเวลา Unix ตามเวลาเซ็ตเซ็นต์ในวินาที.\"},\"last_update_time\":{\"type\":\"integer\",\"description\":\"เวลาที่อัปเดตครั้งสุดท้ายเป็นเวลา Unix ตามเวลาเซ็ตเซ็นต์ในวินาที ซึ่งอาจเป็นศูนย์ได้.\"},\"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 ของบัญชี Xiaohongshu ของผู้สร้างข้อความ.\"},\"nickname\":{\"type\":\"string\",\"description\":\"ชื่อเรียกที่แสดงของผู้สร้างข้อความ.\"},\"images\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพของผู้สร้างข้อความ.\"},\"red_official_verify_type\":{\"type\":\"integer\",\"description\":\"รหัสประเภทการยืนยันอย่างเป็นทางการที่รายงานสำหรับผู้สร้างข้อความ.\"}}},\"ats\":{\"type\":\"array\",\"description\":\"บัญชีที่กล่าวถึงในข้อความ.\",\"items\":{\"type\":\"object\",\"description\":\"บัญชีที่ถูกกล่าวถึงในหมายเหตุ.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"ID บัญชี Xiaohongshu ของผู้ใช้ที่ถูกกล่าวถึง\"},\"name\":{\"type\":\"string\",\"description\":\"ชื่อที่ส่งกลับมาจากบัญชีที่กล่าวถึง\"},\"nickname\":{\"type\":\"string\",\"description\":\"ชื่อเล่นที่ส่งกลับมาจากบัญชีที่กล่าวถึง\"}}}},\"images_list\":{\"type\":\"array\",\"description\":\"ภาพที่เกี่ยวข้องกับบันทึก ซึ่งอาจรวมถึงภาพปกสำหรับบันทึกวิดีโอ\",\"items\":{\"type\":\"object\",\"description\":\"ภาพที่เกี่ยวข้องกับหมายเหตุ.\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL ของภาพเมื่อมีข้อมูล  URL ของภาพขนาดใหญ่อาจมีอยู่แม้ว่าช่องนี้จะว่างเปล่า\"},\"original\":{\"type\":\"string\",\"description\":\"ช่อง URL ของภาพต้นฉบับ ซึ่งอาจว่างเปล่า\"},\"width\":{\"type\":\"integer\",\"description\":\"ความกว้างของภาพที่บันทึกไว้ในเมตาดาต้า ในพิกเซล\"},\"height\":{\"type\":\"integer\",\"description\":\"ความสูงของภาพที่บันทึกไว้ในเมตาดาต้า ในพิกเซล\"},\"fileid\":{\"type\":\"string\",\"description\":\"ตัวระบุไฟล์ของแพลตฟอร์มสำหรับภาพ\"},\"url_size_large\":{\"type\":\"string\",\"description\":\"URL สำหรับเวอร์ชันภาพขนาดใหญ่\"},\"live_photo_file_id\":{\"type\":\"string\",\"description\":\"ID ของภาพ Live Photo ที่รายงานมา\"},\"live_photo\":{\"type\":\"object\",\"description\":\"ข้อมูลเมตาดาต้าของวิดีโอแบบเรียลไทม์ที่ส่งกลับมา หากมี\",\"properties\":{\"media\":{\"type\":\"object\",\"description\":\"ข้อมูลเมตาดาต้าเกี่ยวกับการเล่นวิดีโอสำหรับวิดีโอแบบเรียลไทม์\",\"properties\":{\"video_id\":{\"type\":\"string\",\"description\":\"ID ของสื่อ Live Photo ที่รายงานมา\"},\"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\":\"ตัวเลือกการสตรีมที่จัดกลุ่มตามป้ายกำกับของโค้ดแท็กที่ Xiaohongshu ส่งกลับมา\",\"properties\":{\"h264\":{\"type\":\"array\",\"description\":\"การสตรีม H.264 สำหรับวิดีโอแบบเรียลไทม์\"},\"h265\":{\"type\":\"array\",\"description\":\"สตรีม H.265 ที่ส่งกลับสำหรับ Live Photo\",\"items\":{\"type\":\"object\",\"description\":\"เมตาดาต้าสำหรับสตรีม Live Photo ในรูปแบบ H.265\",\"properties\":{\"master_url\":{\"type\":\"string\",\"description\":\"URL หลักที่ส่งมาสำหรับการสตรีมนี้\"},\"backup_urls\":{\"type\":\"array\",\"description\":\"URL ทางเลือกที่ส่งมาสำหรับการสตรีม\",\"items\":{\"type\":\"string\",\"description\":\"URL การสตรีมทางเลือก\"}},\"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\":\"คำอธิบายที่ Xiaohongshu ให้ไว้สำหรับสตรีม\"},\"duration\":{\"type\":\"integer\",\"description\":\"ระยะเวลาการสตรีมโดยรวมในมิลลิวินาที。\"},\"video_duration\":{\"type\":\"integer\",\"description\":\"ระยะเวลาของวิดีโอในมิลลิวินาที。\"},\"audio_duration\":{\"type\":\"integer\",\"description\":\"ความยาวของเสียงในหน่วยมิลลิวินาที ศูนย์อาจหมายถึงไม่มีเสียง\"},\"size\":{\"type\":\"integer\",\"description\":\"ขนาดไฟล์สตรีมในไบต์。\"}}}},\"h266\":{\"type\":\"array\",\"description\":\"รายการสตรีม H.266 ที่ Xiaohongshu ส่งกลับ อาจว่างเปล่า\"},\"av1\":{\"type\":\"array\",\"description\":\"รายการสตรีม AV1 ที่ Xiaohongshu ส่งกลับ อาจว่างเปล่า\"}}}}},\"consumer\":{\"type\":\"object\",\"description\":\"ตัวเลือกการเล่นที่รายงานสำหรับ Live Photo\",\"properties\":{\"can_super_resolution\":{\"type\":\"boolean\",\"description\":\"ว่าข้อมูลเมตาดาติการเล่นรายงานรองรับการเพิ่มความละเอียดภาพหรือไม่。\"}}}}}}}},\"video_info_v2\":{\"type\":\"object\",\"description\":\"ข้อมูลสื่อที่ส่งกลับมาสำหรับบันทึกวิดีโอบางรายการ\",\"properties\":{\"image\":{\"type\":\"object\",\"description\":\"ภาพที่เกี่ยวข้องกับวิดีโอ\",\"properties\":{\"thumbnail\":{\"type\":\"string\",\"description\":\"URL ของภาพย่อของวิดีโอ หากมี\"},\"first_frame\":{\"type\":\"string\",\"description\":\"URL ของเฟรมแรกของวิดีโอ หากมี\"},\"thumbnail_dim\":{\"type\":\"string\",\"description\":\"URL ของภาพขนาดย่อเพิ่มเติมสำหรับวิดีโอ\"}}},\"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\":\"URL ของแทร็กคำบรรยาย\"},\"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\":\"URL ของแทร็กคำบรรยาย\"},\"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\":\"URL ของแทร็กคำบรรยาย\"},\"format\":{\"type\":\"integer\",\"description\":\"รหัสรูปแบบทิชชู่วัตถุดิบ\"},\"type\":{\"type\":\"integer\",\"description\":\"รหัสประเภททิชชู่วัตถุดิบ\"}}}}}}}},\"stream\":{\"type\":\"object\",\"description\":\"ตัวเลือกการสตรีมที่จัดกลุ่มตามป้ายกำกับของโค้ดแท็กที่ Xiaohongshu ส่งกลับมา\",\"properties\":{\"h264\":{\"type\":\"array\",\"description\":\"สตรีม H.264 ที่ส่งกลับสำหรับบันทึกวิดีโอ\",\"items\":{\"type\":\"object\",\"description\":\"ข้อมูลเมตาดาต้าสำหรับสตรีมวิดีโอ H.264 แบบเดียว\",\"properties\":{\"master_url\":{\"type\":\"string\",\"description\":\"URL หลักที่ส่งมาสำหรับการสตรีมนี้\"},\"backup_urls\":{\"type\":\"array\",\"description\":\"URL ทางเลือกที่ส่งมาสำหรับการสตรีม\",\"items\":{\"type\":\"string\",\"description\":\"URL การสตรีมทางเลือก\"}},\"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\":\"คำอธิบายที่ Xiaohongshu ให้ไว้สำหรับสตรีม\"},\"duration\":{\"type\":\"integer\",\"description\":\"ระยะเวลาการสตรีมโดยรวมในมิลลิวินาที。\"},\"video_duration\":{\"type\":\"integer\",\"description\":\"ระยะเวลาของวิดีโอในมิลลิวินาที。\"},\"audio_duration\":{\"type\":\"integer\",\"description\":\"ความยาวของเสียงในหน่วยมิลลิวินาที ศูนย์อาจหมายถึงไม่มีเสียง\"},\"size\":{\"type\":\"integer\",\"description\":\"ขนาดไฟล์สตรีมในไบต์。\"}}}},\"h265\":{\"type\":\"array\",\"description\":\"สตรีม H.265 ที่ส่งกลับสำหรับข้อมูลเกี่ยวกับวิดีโอ。\",\"items\":{\"type\":\"object\",\"description\":\"ข้อมูลเมตาดาต้าสำหรับสตรีมวิดีโอ H.265 หนึ่งสตรีม。\",\"properties\":{\"master_url\":{\"type\":\"string\",\"description\":\"URL หลักที่ส่งมาสำหรับการสตรีมนี้\"},\"backup_urls\":{\"type\":\"array\",\"description\":\"URL ทางเลือกที่ส่งมาสำหรับการสตรีม\",\"items\":{\"type\":\"string\",\"description\":\"URL การสตรีมทางเลือก\"}},\"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\":\"คำอธิบายที่ Xiaohongshu ให้ไว้สำหรับสตรีม\"},\"duration\":{\"type\":\"integer\",\"description\":\"ระยะเวลาการสตรีมโดยรวมในมิลลิวินาที。\"},\"video_duration\":{\"type\":\"integer\",\"description\":\"ระยะเวลาของวิดีโอในมิลลิวินาที。\"},\"audio_duration\":{\"type\":\"integer\",\"description\":\"ความยาวของเสียงในหน่วยมิลลิวินาที ศูนย์อาจหมายถึงไม่มีเสียง\"},\"size\":{\"type\":\"integer\",\"description\":\"ขนาดไฟล์สตรีมในไบต์。\"}}}},\"h266\":{\"type\":\"array\",\"description\":\"รายการสตรีม H.266 ที่ Xiaohongshu ส่งกลับ อาจว่างเปล่า\"},\"av1\":{\"type\":\"array\",\"description\":\"รายการสตรีม AV1 ที่ Xiaohongshu ส่งกลับ อาจว่างเปล่า\"}}},\"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\":\"URL หลักของสตรีมเสียง\"},\"backup_urls\":{\"type\":\"array\",\"description\":\"รายการ URL สำรองของสตรีมเสียง\",\"items\":{\"type\":\"string\",\"description\":\"URL สำรองของสตรีมเสียงหนึ่งรายการ\"}},\"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\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"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\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"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\":\"ท่อนำข้อมูลหรือ access token ที่ไม่ถูกต้องหรือไม่มีการใช้งาน\",\"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\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"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\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"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\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"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\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"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\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"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>อ่านโน้ตสาธารณะที่ผู้ใช้ได้เผยแพร่ใน Xiaohongshu (RedNote) โดยใช้ ID ผู้ใช้หรือ URL ประวัติภาพลักษณ์ที่รองรับ พร้อมการแบ่งหน้าแบบ lastCursor  endpointนี้ไม่สร้าง อัปโหลด หรือเผยแพร่โน้ต</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 ของผู้ใช้ Xiaohongshu หรือ URL ของโปรไฟล์ที่มี /user/profile/ |
| <code>lastCursor</code> | query | <code>string</code> | ไม่ใช่ | - | ไม่ต้องใช้สำหรับคำขอแรก สำหรับหน้าถัดไป ให้ส่งค่ากอร์เซอร์ของบันทึกสุดท้ายจากการตอบกลับก่อนหน้า |

</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]
ฉันต้องการใช้ API "โน้ตของผู้ใช้ (V4)" จาก JustOneAPI.
URL หลัก: https://api.justoneapi.com.
เส้นทาง API: /api/xiaohongshu/get-user-note-list/v4?token=YOUR_API_KEY&userId=VALUE
เอนด์พอยต์ API: BASE_URL + /api/xiaohongshu/get-user-note-list/v4?token=YOUR_API_KEY&userId=VALUE
เมธอด HTTP: GET
การยืนยันตัวตน: เพิ่มพารามิเตอร์ "token" เข้าไปใน URL.
คำนิยาม OpenAPI: https://docs.justoneapi.com/openapi/xiaohongshu-rednote/user-published-notes-v4-th.json

พารามิเตอร์:
- token (query): โทเค็นการเข้าถึงสำหรับบริการ API นี้ (จำเป็น)
- userId (query): ID ของผู้ใช้ Xiaohongshu หรือ URL ของโปรไฟล์ที่มี /user/profile/ (จำเป็น)
- lastCursor (query): ไม่ต้องใช้สำหรับคำขอแรก สำหรับหน้าถัดไป ให้ส่งค่ากอร์เซอร์ของบันทึกสุดท้ายจากการตอบกลับก่อนหน้า

รูปแบบที่ส่งกลับ: จัดการ JSON หรือข้อความอย่างปลอดภัยตามค่า Content-Type ที่ได้รับจริง

การจัดการผลตอบกลับและรหัสข้อผิดพลาด:
1. ตรวจสอบผลการทำงานจากฟิลด์ "code" ในผลตอบกลับ (รหัส 0 หมายถึงสำเร็จ)
2. แนะนำให้ตั้งระยะเวลารอ 120 วินาที หาก 120 วินาทีนานเกินไป ให้ตั้งอย่างน้อย 60 วินาที แต่คำขอบางรายการอาจหมดเวลาก่อนได้รับผลลัพธ์
3. รหัสผลลัพธ์:
   - 0: สำเร็จ
   - 100: โทเคนไม่ถูกต้องหรือถูกปิดใช้งาน
   - 301: ดึงข้อมูลไม่สำเร็จ โปรดลองอีกครั้ง
   - 302: เกินขีดจำกัดอัตราการเรียก
   - 303: ใช้โควตารายวันครบแล้ว
   - 400: พารามิเตอร์ไม่ถูกต้อง
   - 500: ข้อผิดพลาดภายในเซิร์ฟเวอร์
   - 600: ไม่มีสิทธิ์เข้าถึง
   - 601: ยอดเงินคงเหลือไม่เพียงพอ
   - 602: ถึงวงเงินของโทเคนแล้ว
4. รหัส 601 หมายถึงยอดเงินที่ใช้ร่วมกันของบัญชีไม่เพียงพอ รหัส 602 หมายถึงโทเคน API ถึงวงเงินสะสมของตนเองแล้ว การกำหนดวงเงินโทเคนจะไม่โอนเงินออกจากยอดเงินที่ใช้ร่วมกันของบัญชี

กรุณาช่วยเขียนสคริปต์ในภาษาโปรแกรมที่ฉันชื่นชอบเพื่อเรียกใช้ API และจัดการการตอบกลับ.
```

```python [🐍 Python]
import requests

BASE_URL = "https://api.justoneapi.com"  # ให้โดยเซิร์ฟเวอร์ OpenAPI

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

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
$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-th.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> | - | ข้อความและฟิลด์การแสดงผลเมื่อ payload ที่สำเร็จเป็นอ็อบเจกต์. |
| <code>data.has_more</code> | <code>boolean</code> | มีข้อความเพิ่มเติมที่สามารถดูได้หรือไม่ หยุดการแสดงผลการแบ่งหน้าเมื่อค่าเป็น false. |
| <code>data.cursor</code> | <code>string</code> | คอร์เซอร์ระดับหน้าแบบเลือกได้ เมื่อ has_more เป็น true ให้ส่งคอร์เซอร์ของข้อความสุดท้ายเป็น 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> | ชื่อเรื่องที่รายงานโดย Xiaohongshu. |
| <code>data.notes[].desc</code> | <code>string</code> | ข้อความหรือคำอธิบายที่ส่งกลับมาสำหรับข้อความ. |
| <code>data.notes[].type</code> | <code>string</code> | ประเภทข้อความที่รายงานโดย Xiaohongshu ค่าที่สังเกตได้รวมถึง normal สำหรับข้อความภาพและ video สำหรับข้อความวิดีโอ. |
| <code>data.notes[].sticky</code> | <code>boolean</code> | Xiaohongshu ระบุข้อความว่าเป็นข้อความที่ถูกติดตั้งหรือไม่. |
| <code>data.notes[].is_goods_note</code> | <code>boolean</code> | Xiaohongshu ระบุข้อความว่าเป็นข้อความสินค้าหรือไม่. |
| <code>data.notes[].create_time</code> | <code>integer</code> | เวลาการสร้างข้อความเป็นเวลา Unix ตามเวลาเซ็ตเซ็นต์ในวินาที. |
| <code>data.notes[].last_update_time</code> | <code>integer</code> | เวลาที่อัปเดตครั้งสุดท้ายเป็นเวลา Unix ตามเวลาเซ็ตเซ็นต์ในวินาที ซึ่งอาจเป็นศูนย์ได้. |
| <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 ของบัญชี Xiaohongshu ของผู้สร้างข้อความ. |
| <code>data.notes[].user.nickname</code> | <code>string</code> | ชื่อเรียกที่แสดงของผู้สร้างข้อความ. |
| <code>data.notes[].user.images</code> | <code>string</code> | URL ของรูปภาพของผู้สร้างข้อความ. |
| <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 บัญชี Xiaohongshu ของผู้ใช้ที่ถูกกล่าวถึง |
| <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> | URL ของภาพเมื่อมีข้อมูล  URL ของภาพขนาดใหญ่อาจมีอยู่แม้ว่าช่องนี้จะว่างเปล่า |
| <code>data.notes[].images_list[].original</code> | <code>string</code> | ช่อง URL ของภาพต้นฉบับ ซึ่งอาจว่างเปล่า |
| <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> | ตัวระบุไฟล์ของแพลตฟอร์มสำหรับภาพ |
| <code>data.notes[].images_list[].url_size_large</code> | <code>string</code> | URL สำหรับเวอร์ชันภาพขนาดใหญ่ |
| <code>data.notes[].images_list[].live_photo_file_id</code> | <code>string</code> | ID ของภาพ Live Photo ที่รายงานมา |
| <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 ของสื่อ Live Photo ที่รายงานมา |
| <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> | ตัวเลือกการสตรีมที่จัดกลุ่มตามป้ายกำกับของโค้ดแท็กที่ Xiaohongshu ส่งกลับมา |
| <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 ที่ส่งกลับสำหรับ Live Photo |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[]</code> | <code>object</code> | เมตาดาต้าสำหรับสตรีม Live Photo ในรูปแบบ H.265 |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].master_url</code> | <code>string</code> | URL หลักที่ส่งมาสำหรับการสตรีมนี้ |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].backup_urls</code> | <code>array</code> | URL ทางเลือกที่ส่งมาสำหรับการสตรีม |
| <code>data.notes[].images_list[].live_photo.media.stream.h265[].backup_urls[]</code> | <code>string</code> | URL การสตรีมทางเลือก |
| <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> | คำอธิบายที่ Xiaohongshu ให้ไว้สำหรับสตรีม |
| <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> | ความยาวของเสียงในหน่วยมิลลิวินาที ศูนย์อาจหมายถึงไม่มีเสียง |
| <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 ที่ Xiaohongshu ส่งกลับ อาจว่างเปล่า |
| <code>data.notes[].images_list[].live_photo.media.stream.av1</code> | <code>array</code> | รายการสตรีม AV1 ที่ Xiaohongshu ส่งกลับ อาจว่างเปล่า |
| <code>data.notes[].images_list[].live_photo.consumer</code> | <code>object</code> | ตัวเลือกการเล่นที่รายงานสำหรับ Live Photo |
| <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> | URL ของภาพย่อของวิดีโอ หากมี |
| <code>data.notes[].video_info_v2.image.first_frame</code> | <code>string</code> | URL ของเฟรมแรกของวิดีโอ หากมี |
| <code>data.notes[].video_info_v2.image.thumbnail_dim</code> | <code>string</code> | URL ของภาพขนาดย่อเพิ่มเติมสำหรับวิดีโอ |
| <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> | URL ของแทร็กคำบรรยาย |
| <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> | URL ของแทร็กคำบรรยาย |
| <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> | URL ของแทร็กคำบรรยาย |
| <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> | ตัวเลือกการสตรีมที่จัดกลุ่มตามป้ายกำกับของโค้ดแท็กที่ Xiaohongshu ส่งกลับมา |
| <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> | URL หลักที่ส่งมาสำหรับการสตรีมนี้ |
| <code>data.notes[].video_info_v2.media.stream.h264[].backup_urls</code> | <code>array</code> | URL ทางเลือกที่ส่งมาสำหรับการสตรีม |
| <code>data.notes[].video_info_v2.media.stream.h264[].backup_urls[]</code> | <code>string</code> | URL การสตรีมทางเลือก |
| <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> | คำอธิบายที่ Xiaohongshu ให้ไว้สำหรับสตรีม |
| <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> | ความยาวของเสียงในหน่วยมิลลิวินาที ศูนย์อาจหมายถึงไม่มีเสียง |
| <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> | URL หลักที่ส่งมาสำหรับการสตรีมนี้ |
| <code>data.notes[].video_info_v2.media.stream.h265[].backup_urls</code> | <code>array</code> | URL ทางเลือกที่ส่งมาสำหรับการสตรีม |
| <code>data.notes[].video_info_v2.media.stream.h265[].backup_urls[]</code> | <code>string</code> | URL การสตรีมทางเลือก |
| <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> | คำอธิบายที่ Xiaohongshu ให้ไว้สำหรับสตรีม |
| <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> | ความยาวของเสียงในหน่วยมิลลิวินาที ศูนย์อาจหมายถึงไม่มีเสียง |
| <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 ที่ Xiaohongshu ส่งกลับ อาจว่างเปล่า |
| <code>data.notes[].video_info_v2.media.stream.av1</code> | <code>array</code> | รายการสตรีม AV1 ที่ Xiaohongshu ส่งกลับ อาจว่างเปล่า |
| <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> | URL หลักของสตรีมเสียง |
| <code>data.notes[].video_info_v2.media.audio_stream.AAC[].backup_urls</code> | <code>array</code> | รายการ URL สำรองของสตรีมเสียง |
| <code>data.notes[].video_info_v2.media.audio_stream.AAC[].backup_urls[]</code> | <code>string</code> | URL สำรองของสตรีมเสียงหนึ่งรายการ |
| <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\"")' />

