note_idstringआवश्यक
Note ID, can be obtained from the sharing link of Xiaohongshu
https://api.sandbase.ai/v1/api/xiaohongshu/web-v3/note-detailReturns detailed information for a specific Xiaohongshu note using its identifier and security token obtained from a web share link.
[
{
"data": {
"code": 300031,
"data": null,
"msg": "当前笔记暂时无法浏览",
"ok": true,
"success": false
}
}
]प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
Retrieve detailed note data from Xiaohongshu by providing the note_id and corresponding xsec_token.
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/web-v3/note-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"note_id": "6a2f423d000000001003cb36", "xsec_token": "ABtexB6bX5HgLD42SFrK1scGUmSO8YV5_isaLrDy9sLxQ="}'
| Name | Type | Required | Description |
|---|---|---|---|
note_id | string | Yes | Note ID, can be obtained from the sharing link of Xiaohongshu |
xsec_token | string | Yes | Security token, can be obtained from the sharing link of Xiaohongshu |
note_id and xsec_token can be extracted directly from a Xiaohongshu share link.Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/web-v3/note-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"note_id": "example",
"xsec_token": "example"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
note_idstringआवश्यकNote ID, can be obtained from the sharing link of Xiaohongshu
xsec_tokenstringआवश्यकSecurity token, can be obtained from the sharing link of Xiaohongshu
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
[
{
"data": {
"code": 300031,
"data": null,
"msg": "当前笔记暂时无法浏览",
"ok": true,
"success": false
}
}
]और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Xiaohongshu | $0.01 प्रति कॉल | JSON |
Xiaohongshu | $0.01 प्रति कॉल | JSON |
Xiaohongshu | $0.01 प्रति कॉल | JSON |
Xiaohongshu | $0.01 प्रति कॉल | JSON |
Xiaohongshu | $0.01 प्रति कॉल | JSON |
Xiaohongshu | $0.01 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/xiaohongshu/web-v3/note-detail पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.01 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: note_id (string) और xsec_token (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)।
नहीं। Xiaohongshu (RED) Web Note Details SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Xiaohongshu API access के लिए आवेदन करने की आवश्यकता नहीं है।