---
title: "แพลตฟอร์มครีเอเตอร์ Xiaohongshu (Pugongying) ตัวชี้วัดประสิทธิภาพของโน้ต API (V1)"
description: "สืบค้นข้อมูลประสิทธิภาพการทำงานของบันทึกรวมของ Creator ด้วยตัวเลือกด้านธุรกิจ ประเภทบันทึก ช่วงวันที่ และการโฆษณา ใช้เพื่อเปรียบเทียบประสิทธิภาพของเนื้อหาในขอบเขตที่เลือก"
lastUpdated: false
aiUsagePrompt: true
---

# แพลตฟอร์มครีเอเตอร์ Xiaohongshu \(Pugongying\) ตัวชี้วัดประสิทธิภาพของโน้ต API \(V1\)

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/xiaohongshu-pgy/api/solar/kol/dataV3/notesRate/v1\"")'
  :summary='JSON.parse("\"ตัวชี้วัดประสิทธิภาพของโน้ต (V1)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/xiaohongshu-creator-marketplace-pugongying/note-performance-metrics-v1-th.json"
  openapiVersion="3.1.0"
  :parameters='JSON.parse("[{\"name\":\"token\",\"in\":\"query\",\"description\":\"โทเค็นสำหรับยืนยันตัวตนผู้ใช้\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"userId\",\"in\":\"query\",\"description\":\"ID ของ KOL\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"business\",\"in\":\"query\",\"description\":\"ประเภทธุรกิจ\\n\\nค่าที่มีอยู่:\\n- `DAILY_NOTE`: บันทึกประจำวัน\\n- `COOPERATE_NOTE`: บันทึกร่วม\",\"required\":false,\"schema\":{\"type\":\"string\",\"default\":\"DAILY_NOTE\",\"description\":\"ประเภทธุรกิจ\",\"enum\":[\"DAILY_NOTE\",\"COOPERATE_NOTE\"]}},{\"name\":\"noteType\",\"in\":\"query\",\"description\":\"ประเภทของหมายเหตุ\\n\\nค่าที่มีอยู่:\\n- `PHOTO_TEXT_AND_VIDEO`: รูปภาพและวิดีโอ\\n- `PHOTO_TEXT`: รูปภาพและข้อความ\\n- `VIDEO`: วิดีโอเท่านั้น\",\"required\":false,\"schema\":{\"type\":\"string\",\"default\":\"PHOTO_TEXT_AND_VIDEO\",\"description\":\"ประเภทหมายเหตุ\",\"enum\":[\"PHOTO_TEXT_AND_VIDEO\",\"PHOTO_TEXT\",\"VIDEO\"]}},{\"name\":\"dateType\",\"in\":\"query\",\"description\":\"ช่วงเวลาสำหรับข้อมูล\\n\\nค่าที่มีอยู่:\\n- `DAY_30`: 30 วันที่ผ่านมา\\n- `DAY_90`: 90 วันที่ผ่านมา\",\"required\":false,\"schema\":{\"type\":\"string\",\"default\":\"DAY_30\",\"description\":\"ประเภทช่วงวันที่\",\"enum\":[\"DAY_30\",\"DAY_90\"]}},{\"name\":\"advertiseSwitch\",\"in\":\"query\",\"description\":\"ตัวกรองโฆษณา\\n\\nค่าที่มีอยู่:\\n- `ALL`: หมายเหตุทั้งหมด\\n- `ORGANIC_ONLY`: หมายเหตุออร์แกนิกเท่านั้น\",\"required\":false,\"schema\":{\"type\":\"string\",\"default\":\"ALL\",\"description\":\"ตัวเลือกโฆษณา\",\"enum\":[\"ALL\",\"ORGANIC_ONLY\"]}}]")'
  :requestBody='JSON.parse("null")'
  :responses='JSON.parse("{\"200\":{\"description\":\"OK\",\"content\":{\"application/json\":{\"schema\":{\"if\":{\"properties\":{\"code\":{\"const\":0}},\"required\":[\"code\"]},\"then\":{\"properties\":{\"data\":{\"type\":[\"object\",\"null\"],\"description\":\"ผลการดำเนินงานของบันทึกของผู้สร้างที่เลือกไว้ กรองและรายงานในช่วงเวลาที่กำหนด ข้อมูลอาจเป็น null หากการเข้าถึงข้อมูลของผู้สร้างถูกปฏิเสธ\",\"properties\":{\"noteNumber\":{\"type\":\"integer\",\"description\":\"จำนวนบันทึกที่รายงานสำหรับขอบเขตที่เลือก.\"},\"videoNoteNumber\":{\"type\":\"integer\",\"description\":\"จำนวนบันทึกวิดีโอที่รายงานสำหรับขอบเขตที่เลือก.\"},\"hundredLikePercent\":{\"type\":\"string\",\"description\":\"ส่วนของโพสต์ที่ถึงเกณฑ์ “ร้อย” ถูกแสดงในรูปแบบสตริงเปอร์เซ็นต์ที่เป็นตัวเลข ตัวเลข 25 หมายถึง 25%\"},\"thousandLikePercent\":{\"type\":\"string\",\"description\":\"ส่วนของโพสต์ที่ถึงเกณฑ์ “พัน” ถูกแสดงในรูปแบบสตริงเปอร์เซ็นต์ที่เป็นตัวเลข ตัวเลข 25 หมายถึง 25%\"},\"noteType\":{\"type\":\"array\",\"description\":\"การแบ่งแยกตามแท็กเนื้อหาสำหรับบันทึกที่เลือก.\",\"items\":{\"type\":\"object\",\"description\":\"หมวดหมู่เนื้อหาหนึ่งในการแบ่งแยก.\",\"properties\":{\"contentTag\":{\"type\":\"string\",\"description\":\"แท็กเนื้อหาที่ระบุหมวดหมู่การแบ่งแยกนี้.\"},\"percent\":{\"type\":\"string\",\"description\":\"ส่วนแบ่งของบันทึกในหมวดหมู่นี้, แสดงเป็นสตริงเปอร์เซ็นต์. ค่า 25 หมายถึง 25%.\"}}}},\"impMedian\":{\"type\":\"integer\",\"description\":\"จำนวนการเห็นเฉลี่ยที่รายงานสำหรับบันทึกที่เลือก.\"},\"impMedianBeyondRate\":{\"type\":\"string\",\"description\":\"อัตราส่วนการเปรียบเทียบของข้อมูล Benchmark สำหรับจำนวนการแสดงผลเฉลี่ย\"},\"readMedian\":{\"type\":\"integer\",\"description\":\"จำนวนการอ่านเฉลี่ยที่รายงานสำหรับบันทึกที่เลือก\"},\"readMedianBeyondRate\":{\"type\":\"string\",\"description\":\"อัตราส่วนการเปรียบเทียบของข้อมูล Benchmark สำหรับจำนวนการอ่านเฉลี่ย\"},\"interactionMedian\":{\"type\":\"integer\",\"description\":\"จำนวนการโต้ตอบเฉลี่ยที่รายงานสำหรับบันทึกที่เลือก\"},\"interactionRate\":{\"type\":\"string\",\"description\":\"อัตราส่วนการโต้ตอบที่รายงานสำหรับบันทึกที่เลือก\"},\"interactionBeyondRate\":{\"type\":\"string\",\"description\":\"อัตราส่วนการเปรียบเทียบของการโต้ตอบ\"},\"likeMedian\":{\"type\":\"integer\",\"description\":\"จำนวนคำชมเฉลี่ยที่รายงานสำหรับบันทึกที่เลือก\"},\"collectMedian\":{\"type\":\"integer\",\"description\":\"จำนวนการบันทึกเฉลี่ยที่รายงานสำหรับบันทึกที่เลือก\"},\"commentMedian\":{\"type\":\"integer\",\"description\":\"จำนวนคำแสดงความคิดเห็นเฉลี่ยที่รายงานสำหรับบันทึกที่เลือก\"},\"shareMedian\":{\"type\":\"integer\",\"description\":\"จำนวนการแชร์เฉลี่ยที่รายงานสำหรับบันทึกที่เลือก\"},\"videoFullViewRate\":{\"type\":\"string\",\"description\":\"อัตราส่วนการเสร็จสิ้นของวิดีโอที่รายงานโดย Pugongying\"},\"videoFullViewBeyondRate\":{\"type\":\"string\",\"description\":\"อัตราส่วนการเปรียบเทียบของข้อมูล Benchmark สำหรับอัตราส่วนการเสร็จสิ้นของวิดีโอ\"},\"picture3sViewRate\":{\"type\":\"string\",\"description\":\"อัตราการดูภาพและข้อความที่รายงานในช่วงเวลาสามวินาที\"},\"notes\":{\"type\":[\"array\",\"null\"],\"description\":\"ข้อมูลระดับบันทึกเมื่อรวมอยู่ในการตอบกลับ ลิสต์นี้สามารถเป็น null ได้\",\"items\":{\"type\":\"object\",\"description\":\"บันทึกหนึ่งรายการที่รวมอยู่ในรายการการแสดงผลระดับบันทึก\",\"properties\":{\"noteId\":{\"type\":\"string\",\"description\":\"ID ของบันทึกของซิอ่าวหงชู\"},\"publishTime\":{\"type\":\"string\",\"description\":\"เวลาการเผยแพร่ที่ให้ไว้สำหรับบันทึก\"},\"type\":{\"type\":\"integer\",\"description\":\"รหัสประเภทบันทึกที่รายงานโดย Pugongying\"},\"imgUrl\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพที่ให้ไว้สำหรับบันทึก\"},\"title\":{\"type\":[\"string\",\"null\"],\"description\":\"ชื่อบันทึกเมื่อมี\"},\"canJump\":{\"type\":\"boolean\",\"description\":\"ว่าการ Pugongying จะจัดให้บันทึกนี้เป็นบันทึกที่สามารถดูได้จากรายการหรือไม่\"},\"impNum\":{\"type\":\"integer\",\"description\":\"จำนวนการแสดงผลที่รายงานสำหรับบันทึกนี้\"},\"impBeyondRate\":{\"type\":\"number\",\"description\":\"อัตราส่วนการเปรียบเทียบของจำนวนการแสดงผลของบันทึกนี้\"},\"readNum\":{\"type\":\"integer\",\"description\":\"จำนวนการอ่านที่รายงานสำหรับบันทึกนี้\"},\"readBeyondRate\":{\"type\":\"number\",\"description\":\"อัตราส่วนการเปรียบเทียบของจำนวนการอ่านของบันทึกนี้\"},\"interactionNum\":{\"type\":\"integer\",\"description\":\"จำนวนการโต้ตอบที่รายงานสำหรับบันทึกนี้\"},\"interactionBeyondRate\":{\"type\":\"number\",\"description\":\"อัตราส่วนการเปรียบเทียบค่าเฉลี่ยสำหรับการโต้ตอบของบันทึกนี้。\"},\"collectNum\":{\"type\":\"integer\",\"description\":\"จำนวนครั้งที่บันทึกนี้ถูกบันทึกไว้ที่รายงาน。\"},\"likeNum\":{\"type\":\"integer\",\"description\":\"จำนวนครั้งที่บันทึกนี้ถูกกดไลค์ที่รายงาน。\"},\"collectBeyondRate\":{\"type\":\"number\",\"description\":\"อัตราส่วนการเปรียบเทียบค่าเฉลี่ยสำหรับการบันทึกของบันทึกนี้。\"},\"likeBeyondRate\":{\"type\":\"number\",\"description\":\"อัตราส่วนการเปรียบเทียบค่าเฉลี่ยสำหรับการกดไลค์ของบันทึกนี้。\"}}}},\"pagePercentVo\":{\"type\":[\"object\",\"null\"],\"description\":\"การแบ่งแยกแหล่งที่มาของการเข้าถึงสำหรับจำนวนครั้งที่อ่านและการเข้าถึงเมื่อมีการตอบกลับ。\",\"properties\":{\"impHomefeedPercent\":{\"type\":\"number\",\"description\":\"ส่วนแบ่งของจำนวนครั้งที่อ่านที่เกิดจากฟีดหลัก ถูกแสดงเป็นเศษส่วนจาก 0 ถึง 1。\"},\"impSearchPercent\":{\"type\":\"number\",\"description\":\"ส่วนแบ่งของจำนวนครั้งที่อ่านที่เกิดจากการค้นหา ถูกแสดงเป็นเศษส่วนจาก 0 ถึง 1。\"},\"impFollowPercent\":{\"type\":\"number\",\"description\":\"ส่วนแบ่งของจำนวนครั้งที่อ่านที่เกิดจากฟีดอื่นๆ ถูกแสดงเป็นเศษส่วนจาก 0 ถึง 1。\"},\"impDetailPercent\":{\"type\":\"number\",\"description\":\"ส่วนแบ่งของจำนวนครั้งที่อ่านที่เกิดจากหน้าข้อมูลรายละเอียด ถูกแสดงเป็นเศษส่วนจาก 0 ถึง 1。\"},\"impNearbyPercent\":{\"type\":\"number\",\"description\":\"ส่วนแบ่งของจำนวนครั้งที่อ่านที่เกิดจากฟีดใกล้เคียง ถูกแสดงเป็นเศษส่วนจาก 0 ถึง 1。\"},\"impOtherPercent\":{\"type\":\"number\",\"description\":\"ส่วนแบ่งของจำนวนครั้งที่อ่านที่เกิดจากแหล่งที่มาอื่นๆ ถูกแสดงเป็นเศษส่วนจาก 0 ถึง 1。\"},\"readHomefeedPercent\":{\"type\":\"number\",\"description\":\"ส่วนแบ่งของจำนวนครั้งที่อ่านที่เกิดจากฟีดหลัก ถูกแสดงเป็นเศษส่วนจาก 0 ถึง 1。\"},\"readSearchPercent\":{\"type\":\"number\",\"description\":\"ส่วนแบ่งของจำนวนครั้งที่อ่านที่เกิดจากการค้นหา ถูกแสดงเป็นเศษส่วนจาก 0 ถึง 1。\"},\"readFollowPercent\":{\"type\":\"number\",\"description\":\"ส่วนแบ่งของจำนวนครั้งที่อ่านที่เกิดจากฟีดอื่นๆ ถูกแสดงเป็นเศษส่วนจาก 0 ถึง 1。\"},\"readDetailPercent\":{\"type\":\"number\",\"description\":\"ส่วนแบ่งของจำนวนครั้งที่อ่านที่เกิดจากหน้าข้อมูลรายละเอียด ถูกแสดงเป็นเศษส่วนจาก 0 ถึง 1。\"},\"readNearbyPercent\":{\"type\":\"number\",\"description\":\"ส่วนแบ่งของจำนวนครั้งที่อ่านที่เกิดจากฟีดใกล้เคียง ถูกแสดงเป็นเศษส่วนจาก 0 ถึง 1。\"},\"readOtherPercent\":{\"type\":\"number\",\"description\":\"ส่วนแบ่งของจำนวนครั้งที่อ่านที่เกิดจากแหล่งที่มาอื่นๆ ถูกแสดงเป็นเศษส่วนจาก 0 ถึง 1。\"}}},\"longTermCommonNoteVo\":{\"type\":\"object\",\"description\":\"การวิเคราะห์ประสิทธิภาพในอดีตและในอนาคตสำหรับบันทึกประจำวัน。\",\"properties\":{\"startPublishTime\":{\"type\":\"string\",\"description\":\"วันที่เริ่มตีพิมพ์สำหรับบันทึกในการวิเคราะห์นี้。\"},\"endPublishTime\":{\"type\":\"string\",\"description\":\"วันที่สิ้นสุดการตีพิมพ์สำหรับบันทึกในการวิเคราะห์นี้。\"},\"noteNumber\":{\"type\":\"integer\",\"description\":\"จำนวนบันทึกที่รายงานสำหรับการวิเคราะห์นี้。\"},\"recentReadNum\":{\"type\":[\"integer\",\"null\"],\"description\":\"จำนวนการอ่านที่รายงานสำหรับกลุ่มล่าสุด ตัวเลขอาจเป็น null ได้\"},\"recentReadBeyondRate\":{\"type\":[\"string\",\"null\"],\"description\":\"อัตราส่วนการเปรียบเทียบการอ่านในกลุ่มล่าสุด ตัวเลขอาจเป็น null ได้\"},\"recentSearchPagePercent\":{\"type\":[\"string\",\"null\"],\"description\":\"ส่วนแบ่งการเข้าถึงจากการค้นหาในกลุ่มล่าสุด ตัวเลขอาจเป็น null ได้\"},\"recentFindPagePercent\":{\"type\":[\"string\",\"null\"],\"description\":\"ส่วนแบ่งการเข้าถึงจากการค้นพบในกลุ่มล่าสุด ตัวเลขอาจเป็น null ได้\"},\"recentKolHomePagePercent\":{\"type\":[\"string\",\"null\"],\"description\":\"ส่วนแบ่งการเข้าถึงจากโปรไฟล์ของผู้สร้างในกลุ่มล่าสุด ตัวเลขอาจเป็น null ได้\"},\"recentFollowPagePercent\":{\"type\":[\"string\",\"null\"],\"description\":\"ส่วนแบ่งการเข้าถึงจากฟีดที่ตามมาในกลุ่มล่าสุด ตัวเลขอาจเป็น null ได้\"},\"recentOtherPagePercent\":{\"type\":[\"string\",\"null\"],\"description\":\"ส่วนแบ่งการเข้าถึงจากแหล่งอื่นๆ ในกลุ่มล่าสุด ตัวเลขอาจเป็น null ได้\"},\"longTermReadNum\":{\"type\":[\"integer\",\"null\"],\"description\":\"จำนวนการอ่านที่รายงานสำหรับกลุ่มระยะยาว ตัวเลขอาจเป็น null ได้\"},\"longTermReadBeyondRate\":{\"type\":[\"string\",\"null\"],\"description\":\"อัตราส่วนการเปรียบเทียบการอ่านในกลุ่มระยะยาว ตัวเลขอาจเป็น null ได้\"},\"longTermSearchPagePercent\":{\"type\":[\"string\",\"null\"],\"description\":\"ส่วนแบ่งการเข้าถึงจากการค้นหาในกลุ่มระยะยาว ตัวเลขอาจเป็น null ได้\"},\"longTermFindPagePercent\":{\"type\":[\"string\",\"null\"],\"description\":\"ส่วนแบ่งการเข้าถึงจากการค้นพบในกลุ่มระยะยาว ตัวเลขอาจเป็น null ได้\"},\"longTermKolHomePagePercent\":{\"type\":[\"string\",\"null\"],\"description\":\"ส่วนแบ่งการเข้าถึงจากโปรไฟล์ของผู้สร้างในกลุ่มระยะยาว ตัวเลขอาจเป็น null ได้\"},\"longTermFollowPagePercent\":{\"type\":[\"string\",\"null\"],\"description\":\"ส่วนแบ่งการเข้าถึงจากฟีดที่ตามมาในกลุ่มระยะยาว ตัวเลขอาจเป็น null ได้\"},\"longTermOtherPagePercent\":{\"type\":[\"string\",\"null\"],\"description\":\"ส่วนแบ่งการเข้าถึงจากแหล่งอื่นๆ ในกลุ่มระยะยาว ตัวเลขอาจเป็น null ได้\"}}},\"longTermCooperateNoteVo\":{\"type\":\"object\",\"description\":\"จำนวนหน้าที่เผยแพร่และจำนวนบันทึกที่รายงานสำหรับบันทึกร่วม\",\"properties\":{\"startPublishTime\":{\"type\":\"string\",\"description\":\"วันที่เริ่มตีพิมพ์สำหรับบันทึกในการวิเคราะห์นี้。\"},\"endPublishTime\":{\"type\":\"string\",\"description\":\"วันที่สิ้นสุดการตีพิมพ์สำหรับบันทึกในการวิเคราะห์นี้。\"},\"noteNumber\":{\"type\":\"integer\",\"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-pgy/api/solar/kol/dataV3/notesRate/v1\"")' />

<p>สืบค้นข้อมูลประสิทธิภาพการทำงานของบันทึกรวมของ Creator ด้วยตัวเลือกด้านธุรกิจ ประเภทบันทึก ช่วงวันที่ และการโฆษณา ใช้เพื่อเปรียบเทียบประสิทธิภาพของเนื้อหาในขอบเขตที่เลือก</p>

## พารามิเตอร์

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

| ชื่อ | ตำแหน่ง | ชนิดข้อมูล | จำเป็น | ค่าเริ่มต้น | คำอธิบาย |
| --- | --- | --- | --- | --- | --- |
| <code>token</code> | query | <code>string</code> | ใช่ | - | โทเค็นสำหรับยืนยันตัวตนผู้ใช้ |
| <code>userId</code> | query | <code>string</code> | ใช่ | - | ID ของ KOL |
| <code>business</code> | query | <code>string</code> | ไม่ใช่ | <code>DAILY_NOTE</code> | ประเภทธุรกิจ<br /><br><br>ค่าที่มีอยู่:<br /><br>- <code>DAILY_NOTE</code>: บันทึกประจำวัน<br /><br>- <code>COOPERATE_NOTE</code>: บันทึกร่วม |
| <code>noteType</code> | query | <code>string</code> | ไม่ใช่ | <code>PHOTO_TEXT_AND_VIDEO</code> | ประเภทของหมายเหตุ<br /><br><br>ค่าที่มีอยู่:<br /><br>- <code>PHOTO_TEXT_AND_VIDEO</code>: รูปภาพและวิดีโอ<br /><br>- <code>PHOTO_TEXT</code>: รูปภาพและข้อความ<br /><br>- <code>VIDEO</code>: วิดีโอเท่านั้น |
| <code>dateType</code> | query | <code>string</code> | ไม่ใช่ | <code>DAY_30</code> | ช่วงเวลาสำหรับข้อมูล<br /><br><br>ค่าที่มีอยู่:<br /><br>- <code>DAY_30</code>: 30 วันที่ผ่านมา<br /><br>- <code>DAY_90</code>: 90 วันที่ผ่านมา |
| <code>advertiseSwitch</code> | query | <code>string</code> | ไม่ใช่ | <code>ALL</code> | ตัวกรองโฆษณา<br /><br><br>ค่าที่มีอยู่:<br /><br>- <code>ALL</code>: หมายเหตุทั้งหมด<br /><br>- <code>ORGANIC_ONLY</code>: หมายเหตุออร์แกนิกเท่านั้น |

</div>

## ตัวอย่างโค้ด

::: code-group

```bash [🐚 cURL]
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/xiaohongshu-pgy/api/solar/kol/dataV3/notesRate/v1?token=YOUR_API_KEY&userId=VALUE'
```

```text [🤖 คำแนะนำสำหรับ AI]
ฉันต้องการใช้ API "ตัวชี้วัดประสิทธิภาพของโน้ต (V1)" จาก JustOneAPI.
URL หลัก: https://api.justoneapi.com.
เส้นทาง API: /api/xiaohongshu-pgy/api/solar/kol/dataV3/notesRate/v1?token=YOUR_API_KEY&userId=VALUE
เอนด์พอยต์ API: BASE_URL + /api/xiaohongshu-pgy/api/solar/kol/dataV3/notesRate/v1?token=YOUR_API_KEY&userId=VALUE
เมธอด HTTP: GET
การยืนยันตัวตน: เพิ่มพารามิเตอร์ "token" เข้าไปใน URL.
คำนิยาม OpenAPI: https://docs.justoneapi.com/openapi/xiaohongshu-creator-marketplace-pugongying/note-performance-metrics-v1-th.json

พารามิเตอร์:
- token (query): โทเค็นสำหรับยืนยันตัวตนผู้ใช้ (จำเป็น)
- userId (query): ID ของ KOL (จำเป็น)
- business (query): ประเภทธุรกิจ

ค่าที่มีอยู่:
- `DAILY_NOTE`: บันทึกประจำวัน
- `COOPERATE_NOTE`: บันทึกร่วม
- noteType (query): ประเภทของหมายเหตุ

ค่าที่มีอยู่:
- `PHOTO_TEXT_AND_VIDEO`: รูปภาพและวิดีโอ
- `PHOTO_TEXT`: รูปภาพและข้อความ
- `VIDEO`: วิดีโอเท่านั้น
- dateType (query): ช่วงเวลาสำหรับข้อมูล

ค่าที่มีอยู่:
- `DAY_30`: 30 วันที่ผ่านมา
- `DAY_90`: 90 วันที่ผ่านมา
- advertiseSwitch (query): ตัวกรองโฆษณา

ค่าที่มีอยู่:
- `ALL`: หมายเหตุทั้งหมด
- `ORGANIC_ONLY`: หมายเหตุออร์แกนิกเท่านั้น

รูปแบบที่ส่งกลับ: จัดการ 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-pgy/api/solar/kol/dataV3/notesRate/v1?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-pgy/api/solar/kol/dataV3/notesRate/v1?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-pgy/api/solar/kol/dataV3/notesRate/v1?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-pgy/api/solar/kol/dataV3/notesRate/v1?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-pgy/api/solar/kol/dataV3/notesRate/v1?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-creator-marketplace-pugongying/note-performance-metrics-v1-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> | <code>object &#124; null</code> | ผลการดำเนินงานของบันทึกของผู้สร้างที่เลือกไว้ กรองและรายงานในช่วงเวลาที่กำหนด ข้อมูลอาจเป็น null หากการเข้าถึงข้อมูลของผู้สร้างถูกปฏิเสธ |
| <code>data.noteNumber</code> | <code>integer</code> | จำนวนบันทึกที่รายงานสำหรับขอบเขตที่เลือก. |
| <code>data.videoNoteNumber</code> | <code>integer</code> | จำนวนบันทึกวิดีโอที่รายงานสำหรับขอบเขตที่เลือก. |
| <code>data.hundredLikePercent</code> | <code>string</code> | ส่วนของโพสต์ที่ถึงเกณฑ์ “ร้อย” ถูกแสดงในรูปแบบสตริงเปอร์เซ็นต์ที่เป็นตัวเลข ตัวเลข 25 หมายถึง 25% |
| <code>data.thousandLikePercent</code> | <code>string</code> | ส่วนของโพสต์ที่ถึงเกณฑ์ “พัน” ถูกแสดงในรูปแบบสตริงเปอร์เซ็นต์ที่เป็นตัวเลข ตัวเลข 25 หมายถึง 25% |
| <code>data.noteType</code> | <code>array</code> | การแบ่งแยกตามแท็กเนื้อหาสำหรับบันทึกที่เลือก. |
| <code>data.noteType[]</code> | <code>object</code> | หมวดหมู่เนื้อหาหนึ่งในการแบ่งแยก. |
| <code>data.noteType[].contentTag</code> | <code>string</code> | แท็กเนื้อหาที่ระบุหมวดหมู่การแบ่งแยกนี้. |
| <code>data.noteType[].percent</code> | <code>string</code> | ส่วนแบ่งของบันทึกในหมวดหมู่นี้, แสดงเป็นสตริงเปอร์เซ็นต์. ค่า 25 หมายถึง 25%. |
| <code>data.impMedian</code> | <code>integer</code> | จำนวนการเห็นเฉลี่ยที่รายงานสำหรับบันทึกที่เลือก. |
| <code>data.impMedianBeyondRate</code> | <code>string</code> | อัตราส่วนการเปรียบเทียบของข้อมูล Benchmark สำหรับจำนวนการแสดงผลเฉลี่ย |
| <code>data.readMedian</code> | <code>integer</code> | จำนวนการอ่านเฉลี่ยที่รายงานสำหรับบันทึกที่เลือก |
| <code>data.readMedianBeyondRate</code> | <code>string</code> | อัตราส่วนการเปรียบเทียบของข้อมูล Benchmark สำหรับจำนวนการอ่านเฉลี่ย |
| <code>data.interactionMedian</code> | <code>integer</code> | จำนวนการโต้ตอบเฉลี่ยที่รายงานสำหรับบันทึกที่เลือก |
| <code>data.interactionRate</code> | <code>string</code> | อัตราส่วนการโต้ตอบที่รายงานสำหรับบันทึกที่เลือก |
| <code>data.interactionBeyondRate</code> | <code>string</code> | อัตราส่วนการเปรียบเทียบของการโต้ตอบ |
| <code>data.likeMedian</code> | <code>integer</code> | จำนวนคำชมเฉลี่ยที่รายงานสำหรับบันทึกที่เลือก |
| <code>data.collectMedian</code> | <code>integer</code> | จำนวนการบันทึกเฉลี่ยที่รายงานสำหรับบันทึกที่เลือก |
| <code>data.commentMedian</code> | <code>integer</code> | จำนวนคำแสดงความคิดเห็นเฉลี่ยที่รายงานสำหรับบันทึกที่เลือก |
| <code>data.shareMedian</code> | <code>integer</code> | จำนวนการแชร์เฉลี่ยที่รายงานสำหรับบันทึกที่เลือก |
| <code>data.videoFullViewRate</code> | <code>string</code> | อัตราส่วนการเสร็จสิ้นของวิดีโอที่รายงานโดย Pugongying |
| <code>data.videoFullViewBeyondRate</code> | <code>string</code> | อัตราส่วนการเปรียบเทียบของข้อมูล Benchmark สำหรับอัตราส่วนการเสร็จสิ้นของวิดีโอ |
| <code>data.picture3sViewRate</code> | <code>string</code> | อัตราการดูภาพและข้อความที่รายงานในช่วงเวลาสามวินาที |
| <code>data.notes</code> | <code>array &#124; null</code> | ข้อมูลระดับบันทึกเมื่อรวมอยู่ในการตอบกลับ ลิสต์นี้สามารถเป็น null ได้ |
| <code>data.notes[]</code> | <code>object</code> | บันทึกหนึ่งรายการที่รวมอยู่ในรายการการแสดงผลระดับบันทึก |
| <code>data.notes[].noteId</code> | <code>string</code> | ID ของบันทึกของซิอ่าวหงชู |
| <code>data.notes[].publishTime</code> | <code>string</code> | เวลาการเผยแพร่ที่ให้ไว้สำหรับบันทึก |
| <code>data.notes[].type</code> | <code>integer</code> | รหัสประเภทบันทึกที่รายงานโดย Pugongying |
| <code>data.notes[].imgUrl</code> | <code>string</code> | URL ของรูปภาพที่ให้ไว้สำหรับบันทึก |
| <code>data.notes[].title</code> | <code>string &#124; null</code> | ชื่อบันทึกเมื่อมี |
| <code>data.notes[].canJump</code> | <code>boolean</code> | ว่าการ Pugongying จะจัดให้บันทึกนี้เป็นบันทึกที่สามารถดูได้จากรายการหรือไม่ |
| <code>data.notes[].impNum</code> | <code>integer</code> | จำนวนการแสดงผลที่รายงานสำหรับบันทึกนี้ |
| <code>data.notes[].impBeyondRate</code> | <code>number</code> | อัตราส่วนการเปรียบเทียบของจำนวนการแสดงผลของบันทึกนี้ |
| <code>data.notes[].readNum</code> | <code>integer</code> | จำนวนการอ่านที่รายงานสำหรับบันทึกนี้ |
| <code>data.notes[].readBeyondRate</code> | <code>number</code> | อัตราส่วนการเปรียบเทียบของจำนวนการอ่านของบันทึกนี้ |
| <code>data.notes[].interactionNum</code> | <code>integer</code> | จำนวนการโต้ตอบที่รายงานสำหรับบันทึกนี้ |
| <code>data.notes[].interactionBeyondRate</code> | <code>number</code> | อัตราส่วนการเปรียบเทียบค่าเฉลี่ยสำหรับการโต้ตอบของบันทึกนี้。 |
| <code>data.notes[].collectNum</code> | <code>integer</code> | จำนวนครั้งที่บันทึกนี้ถูกบันทึกไว้ที่รายงาน。 |
| <code>data.notes[].likeNum</code> | <code>integer</code> | จำนวนครั้งที่บันทึกนี้ถูกกดไลค์ที่รายงาน。 |
| <code>data.notes[].collectBeyondRate</code> | <code>number</code> | อัตราส่วนการเปรียบเทียบค่าเฉลี่ยสำหรับการบันทึกของบันทึกนี้。 |
| <code>data.notes[].likeBeyondRate</code> | <code>number</code> | อัตราส่วนการเปรียบเทียบค่าเฉลี่ยสำหรับการกดไลค์ของบันทึกนี้。 |
| <code>data.pagePercentVo</code> | <code>object &#124; null</code> | การแบ่งแยกแหล่งที่มาของการเข้าถึงสำหรับจำนวนครั้งที่อ่านและการเข้าถึงเมื่อมีการตอบกลับ。 |
| <code>data.pagePercentVo.impHomefeedPercent</code> | <code>number</code> | ส่วนแบ่งของจำนวนครั้งที่อ่านที่เกิดจากฟีดหลัก ถูกแสดงเป็นเศษส่วนจาก 0 ถึง 1。 |
| <code>data.pagePercentVo.impSearchPercent</code> | <code>number</code> | ส่วนแบ่งของจำนวนครั้งที่อ่านที่เกิดจากการค้นหา ถูกแสดงเป็นเศษส่วนจาก 0 ถึง 1。 |
| <code>data.pagePercentVo.impFollowPercent</code> | <code>number</code> | ส่วนแบ่งของจำนวนครั้งที่อ่านที่เกิดจากฟีดอื่นๆ ถูกแสดงเป็นเศษส่วนจาก 0 ถึง 1。 |
| <code>data.pagePercentVo.impDetailPercent</code> | <code>number</code> | ส่วนแบ่งของจำนวนครั้งที่อ่านที่เกิดจากหน้าข้อมูลรายละเอียด ถูกแสดงเป็นเศษส่วนจาก 0 ถึง 1。 |
| <code>data.pagePercentVo.impNearbyPercent</code> | <code>number</code> | ส่วนแบ่งของจำนวนครั้งที่อ่านที่เกิดจากฟีดใกล้เคียง ถูกแสดงเป็นเศษส่วนจาก 0 ถึง 1。 |
| <code>data.pagePercentVo.impOtherPercent</code> | <code>number</code> | ส่วนแบ่งของจำนวนครั้งที่อ่านที่เกิดจากแหล่งที่มาอื่นๆ ถูกแสดงเป็นเศษส่วนจาก 0 ถึง 1。 |
| <code>data.pagePercentVo.readHomefeedPercent</code> | <code>number</code> | ส่วนแบ่งของจำนวนครั้งที่อ่านที่เกิดจากฟีดหลัก ถูกแสดงเป็นเศษส่วนจาก 0 ถึง 1。 |
| <code>data.pagePercentVo.readSearchPercent</code> | <code>number</code> | ส่วนแบ่งของจำนวนครั้งที่อ่านที่เกิดจากการค้นหา ถูกแสดงเป็นเศษส่วนจาก 0 ถึง 1。 |
| <code>data.pagePercentVo.readFollowPercent</code> | <code>number</code> | ส่วนแบ่งของจำนวนครั้งที่อ่านที่เกิดจากฟีดอื่นๆ ถูกแสดงเป็นเศษส่วนจาก 0 ถึง 1。 |
| <code>data.pagePercentVo.readDetailPercent</code> | <code>number</code> | ส่วนแบ่งของจำนวนครั้งที่อ่านที่เกิดจากหน้าข้อมูลรายละเอียด ถูกแสดงเป็นเศษส่วนจาก 0 ถึง 1。 |
| <code>data.pagePercentVo.readNearbyPercent</code> | <code>number</code> | ส่วนแบ่งของจำนวนครั้งที่อ่านที่เกิดจากฟีดใกล้เคียง ถูกแสดงเป็นเศษส่วนจาก 0 ถึง 1。 |
| <code>data.pagePercentVo.readOtherPercent</code> | <code>number</code> | ส่วนแบ่งของจำนวนครั้งที่อ่านที่เกิดจากแหล่งที่มาอื่นๆ ถูกแสดงเป็นเศษส่วนจาก 0 ถึง 1。 |
| <code>data.longTermCommonNoteVo</code> | <code>object</code> | การวิเคราะห์ประสิทธิภาพในอดีตและในอนาคตสำหรับบันทึกประจำวัน。 |
| <code>data.longTermCommonNoteVo.startPublishTime</code> | <code>string</code> | วันที่เริ่มตีพิมพ์สำหรับบันทึกในการวิเคราะห์นี้。 |
| <code>data.longTermCommonNoteVo.endPublishTime</code> | <code>string</code> | วันที่สิ้นสุดการตีพิมพ์สำหรับบันทึกในการวิเคราะห์นี้。 |
| <code>data.longTermCommonNoteVo.noteNumber</code> | <code>integer</code> | จำนวนบันทึกที่รายงานสำหรับการวิเคราะห์นี้。 |
| <code>data.longTermCommonNoteVo.recentReadNum</code> | <code>integer &#124; null</code> | จำนวนการอ่านที่รายงานสำหรับกลุ่มล่าสุด ตัวเลขอาจเป็น null ได้ |
| <code>data.longTermCommonNoteVo.recentReadBeyondRate</code> | <code>string &#124; null</code> | อัตราส่วนการเปรียบเทียบการอ่านในกลุ่มล่าสุด ตัวเลขอาจเป็น null ได้ |
| <code>data.longTermCommonNoteVo.recentSearchPagePercent</code> | <code>string &#124; null</code> | ส่วนแบ่งการเข้าถึงจากการค้นหาในกลุ่มล่าสุด ตัวเลขอาจเป็น null ได้ |
| <code>data.longTermCommonNoteVo.recentFindPagePercent</code> | <code>string &#124; null</code> | ส่วนแบ่งการเข้าถึงจากการค้นพบในกลุ่มล่าสุด ตัวเลขอาจเป็น null ได้ |
| <code>data.longTermCommonNoteVo.recentKolHomePagePercent</code> | <code>string &#124; null</code> | ส่วนแบ่งการเข้าถึงจากโปรไฟล์ของผู้สร้างในกลุ่มล่าสุด ตัวเลขอาจเป็น null ได้ |
| <code>data.longTermCommonNoteVo.recentFollowPagePercent</code> | <code>string &#124; null</code> | ส่วนแบ่งการเข้าถึงจากฟีดที่ตามมาในกลุ่มล่าสุด ตัวเลขอาจเป็น null ได้ |
| <code>data.longTermCommonNoteVo.recentOtherPagePercent</code> | <code>string &#124; null</code> | ส่วนแบ่งการเข้าถึงจากแหล่งอื่นๆ ในกลุ่มล่าสุด ตัวเลขอาจเป็น null ได้ |
| <code>data.longTermCommonNoteVo.longTermReadNum</code> | <code>integer &#124; null</code> | จำนวนการอ่านที่รายงานสำหรับกลุ่มระยะยาว ตัวเลขอาจเป็น null ได้ |
| <code>data.longTermCommonNoteVo.longTermReadBeyondRate</code> | <code>string &#124; null</code> | อัตราส่วนการเปรียบเทียบการอ่านในกลุ่มระยะยาว ตัวเลขอาจเป็น null ได้ |
| <code>data.longTermCommonNoteVo.longTermSearchPagePercent</code> | <code>string &#124; null</code> | ส่วนแบ่งการเข้าถึงจากการค้นหาในกลุ่มระยะยาว ตัวเลขอาจเป็น null ได้ |
| <code>data.longTermCommonNoteVo.longTermFindPagePercent</code> | <code>string &#124; null</code> | ส่วนแบ่งการเข้าถึงจากการค้นพบในกลุ่มระยะยาว ตัวเลขอาจเป็น null ได้ |
| <code>data.longTermCommonNoteVo.longTermKolHomePagePercent</code> | <code>string &#124; null</code> | ส่วนแบ่งการเข้าถึงจากโปรไฟล์ของผู้สร้างในกลุ่มระยะยาว ตัวเลขอาจเป็น null ได้ |
| <code>data.longTermCommonNoteVo.longTermFollowPagePercent</code> | <code>string &#124; null</code> | ส่วนแบ่งการเข้าถึงจากฟีดที่ตามมาในกลุ่มระยะยาว ตัวเลขอาจเป็น null ได้ |
| <code>data.longTermCommonNoteVo.longTermOtherPagePercent</code> | <code>string &#124; null</code> | ส่วนแบ่งการเข้าถึงจากแหล่งอื่นๆ ในกลุ่มระยะยาว ตัวเลขอาจเป็น null ได้ |
| <code>data.longTermCooperateNoteVo</code> | <code>object</code> | จำนวนหน้าที่เผยแพร่และจำนวนบันทึกที่รายงานสำหรับบันทึกร่วม |
| <code>data.longTermCooperateNoteVo.startPublishTime</code> | <code>string</code> | วันที่เริ่มตีพิมพ์สำหรับบันทึกในการวิเคราะห์นี้。 |
| <code>data.longTermCooperateNoteVo.endPublishTime</code> | <code>string</code> | วันที่สิ้นสุดการตีพิมพ์สำหรับบันทึกในการวิเคราะห์นี้。 |
| <code>data.longTermCooperateNoteVo.noteNumber</code> | <code>integer</code> | จำนวนบันทึกที่รายงานสำหรับการวิเคราะห์นี้。 |

</div>

## ตัวอย่างผลการตอบกลับ

<ApiExampleSection :api='JSON.parse("\"/api/xiaohongshu-pgy/api/solar/kol/dataV3/notesRate/v1\"")' />

