Xiaohongshu (RED) Homepage Categories
https://api.sandbase.ai/v1/api/xiaohongshu/web-v3/homefeed-categoriesReturns a list of available homefeed category channels on Xiaohongshu (RED). Use this endpoint to inspect valid category identifiers for content discovery.
- मूल्य
- $0.01USD / कॉल
- मेथड
- POST
- प्रतिक्रिया
- JSON
- पैरामीटर
- 0 आवश्यक · 0 वैकल्पिक
प्लेग्राउंड
[
{
"data": {
"code": 0,
"data": {
"categories": [
{
"id": "homefeed.fashion_v3",
"name": "穿搭"
},
{
"id": "homefeed.food_v3",
"name": "美食"
},
{
"id": "homefeed.cosmetics_v3",
"name": "彩妆"
},
"… 8 more items in the full response"
]
},
"msg": "成功",
"ok": true,
"status": 200,
"success": true
}
}
]उदाहरण
प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
API README
Xiaohongshu (RED) Homepage Categories API
Returns the list of homefeed category channels on Xiaohongshu (RED). Each entry has a category id and a display name. The API takes no input parameters.
Use cases
- Build a channel menu that mirrors the homefeed tabs on Xiaohongshu.
- Look up the valid
idvalues, such ashomefeed.food_v3, before you request a category feed. - Map category
idvalues to their Chinesenamelabels in a dashboard or report. - Check the current set of top-level channels by comparing the list between runs.
Request
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/web-v3/homefeed-categories" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": {
"categories": [
{
"id": "homefeed.fashion_v3",
"name": "穿搭"
}
]
},
"msg": "成功",
"ok": true,
"status": 200,
"success": true
}
Response fields
| Field | Meaning |
|---|---|
data.categories[] | List of homefeed category channels. Each item is one channel. |
data.categories[].id | Category identifier, for example homefeed.fashion_v3. Use this value when you need to refer to a channel. |
data.categories[].name | Display name of the category in Chinese, for example 穿搭 (fashion) or 美食 (food). |
code / ok / success | Status flags. code is 0 and ok and success are true when the call worked. |
msg | Status message text. It is 成功 on a successful call. |
Notes
- Send an empty JSON object
{}as the request body. There are no parameters and no pagination. - Category
idvalues follow the patternhomefeed.<channel>_v3. - To read posts from the homepage, call Xiaohongshu (RED) Homepage Feed.
Pricing
$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
बिल्डिंग शुरू करें
अपना पहला अनुरोध भेजें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/web-v3/homefeed-categories" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. प्रमाणीकरण
अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
3. पैरामीटर
इस API के लिए कोई parameter schema प्रकाशित नहीं किया गया है।
4. रिस्पॉन्स
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
[
{
"data": {
"code": 0,
"data": {
"categories": [
{
"id": "homefeed.fashion_v3",
"name": "穿搭"
},
{
"id": "homefeed.food_v3",
"name": "美食"
},
{
"id": "homefeed.cosmetics_v3",
"name": "彩妆"
},
"… 8 more items in the full response"
]
},
"msg": "成功",
"ok": true,
"status": 200,
"success": true
}
}
]और जानें
संबंधित APIs
| 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 |
प्रश्न
FAQ
Xiaohongshu (RED) Homepage Categories API का उपयोग कैसे करें?
https://api.sandbase.ai/v1/api/xiaohongshu/web-v3/homefeed-categories पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
Xiaohongshu (RED) Homepage Categories API की लागत कितनी है?
$0.01 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
Xiaohongshu (RED) Homepage Categories API कौन-से parameters स्वीकार करती है?
Xiaohongshu (RED) Homepage Categories कोई input parameters नहीं लेता; एक खाली JSON body भेजें।
Xiaohongshu (RED) Homepage Categories API क्या लौटाती है?
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
क्या मुझे एक Xiaohongshu developer account या API key चाहिए?
नहीं। Xiaohongshu (RED) Homepage Categories SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Xiaohongshu API access के लिए आवेदन करने की आवश्यकता नहीं है।
