userIdstringआवश्यक
KOL's user ID.
https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v2-notes-detailGet a paginated Xiaohongshu Pugongying creator note list with advertisement, sort-order, note-type, and third-platform filters. Use it to browse selected content from a known creator.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Get a paginated Xiaohongshu Pugongying creator note list with advertisement, sort-order, note-type, and third-platform filters. Use it to browse selected content from a known creator.
The response is the platform's original data structure.
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v2-notes-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"userId": "64b898310000000014037b21"}'
| Name | Type | Required | Description |
|---|---|---|---|
userId | string | Yes | KOL's user ID. |
advertiseSwitch | string | No | Advertisement filter. |
orderType | string | No | Sorting order. |
noteType | string | No | Type of note. |
isThirdPlatform | string | No | Whether from third-party platform. |
pageNumber | integer | No | Page number. |
Flat price per call. Failed calls and empty results are not charged.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v2-notes-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"userId": "64b898310000000014037b21",
"noteType": "ALL",
"orderType": "LATEST",
"pageNumber": 1,
"advertiseSwitch": "ALL",
"isThirdPlatform": "NO"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
userIdstringआवश्यकKOL's user ID.
advertiseSwitchstringAdvertisement filter.
डिफ़ॉल्ट: "ALL"
संभावित मान: ALL, ORGANIC_ONLY
orderTypestringSorting order.
डिफ़ॉल्ट: "LATEST"
संभावित मान: LATEST, MOST_READ, MOST_INTERACT
noteTypestringType of note.
डिफ़ॉल्ट: "ALL"
संभावित मान: ALL, COOPERATION, PHOTO_TEXT, VIDEO
isThirdPlatformstringWhether from third-party platform.
डिफ़ॉल्ट: "NO"
संभावित मान: NO, YES
pageNumberintegerPage number.
डिफ़ॉल्ट: 1
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Xiaohongshu | $0.021429 प्रति कॉल | JSON |
Xiaohongshu | $0.021429 प्रति कॉल | JSON |
Xiaohongshu | $0.071429 प्रति कॉल | JSON |
Xiaohongshu | $0.021429 प्रति कॉल | JSON |
Xiaohongshu | $0.021429 प्रति कॉल | JSON |
Xiaohongshu | $0.021429 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v2-notes-detail पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.021429 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: userId (string)। वैकल्पिक: advertiseSwitch (ALL, ORGANIC_ONLY में से एक), orderType (LATEST, MOST_READ, MOST_INTERACT में से एक), noteType (ALL, COOPERATION, PHOTO_TEXT, VIDEO में से एक), isThirdPlatform (NO, YES में से एक) और pageNumber (integer)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)।
नहीं। Xiaohongshu Pugongying Creator Note List SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Xiaohongshu API access के लिए आवेदन करने की आवश्यकता नहीं है।