cursorstring
Pagination cursor, leave empty for first request, pass cursor value from previous response (e.g. "r_1", "r_2"...)
डिफ़ॉल्ट: ""
https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/creator-inspiration-feedReturns recommended inspiration feed items and trending topics from Xiaohongshu (RED). Supports cursor-based pagination and filtering by `tab`.
[
{
"data": {
"code": 0,
"data": {
"cursor": "r_1",
"end_flag": false,
"inspirations": [
{
"btn_text": "Post Now",
"cnt_desc": "17.7M Posted",
"dark_icon": "https://fe-platform.xhscdn.com/platform/104101l031jm5pgtrj006g9kud0274000000000dmkmfe0",
"detail_deeplink": "xhsdiscover://nns_detail?type=inspiration&id=396391&trackId=396391&popupstyle=1&pageEntranceType=ins_feed_note&jump_type=insp_container&subInsType=inspiration&need_hide_hot_notes=false&source=%7B%22type%22%3A%22personal%22%2C%22extraInfo%22%3A%7B%22inspirationId%22%3A396391%2C%22subType%22%3A%22NNS_TYPE_INSPIRATION%22%2C%22page_entrance_type%22%3A%22ins_feed_note%22%2C%22nns_id%22%3A396391%2C%22further_page_entrance%22%3A%22creator_center%22%7D%7D",
"direction": 0,
"favor_status": 0,
"icon": "https://fe-platform.xhscdn.com/platform/104101l031jm747g3j406g9kud0274000000000duvsvva",
"image": "http://ci.xiaohongshu.com/1000g0081f2rm6hiai02g5o5c5th08kuu9hp1tno?imageView2/2/w/1080/format/jpg",
"ins_id": 396391,
"ins_type": "inspiration",
"name": "浪漫生活的记录者",
"post_deeplink": "xhsdiscover://post_new_note?config=%7B%22is_from_popup%22%3Afalse%2C%22post_success_show_share%22%3A0%2C%22should_update_session%22%3Atrue%2C%22is_template_to_note%22%3Afalse%7D&source=%7B%22type%22%3A%22personal%22%2C%22extraInfo%22%3A%7B%22tab_id%22%3A0%2C%22track_id%22%3A%22396391%22%2C%22inspirationId%22%3A396391%2C%22subType%22%3A%22ins_feed_note%22%2C%22ins_sub_type%22%3A1%2C%22page_entrance_type%22%3A%22ins_feed_note%22%2C%22nns_id%22%3A396391%2C%22further_page_entrance%22%3A%22creator_center%22%7D%7D&page=%7B%22page_type%22%3A%22albums%22%7D&attach=%7B%22topics%22%3A%5B%7B%22page_id%22…",
"type": "Topic"
},
{
"btn_text": "Post Now",
"cnt_desc": "8.7M Posted",
"dark_icon": "https://fe-platform.xhscdn.com/platform/104101l031jm5pgtrj006g9kud0274000000000dmkmfe0",
"detail_deeplink": "xhsdiscover://nns_detail?type=inspiration&id=415393&trackId=415393&popupstyle=1&pageEntranceType=ins_feed_note&jump_type=insp_container&subInsType=inspiration&need_hide_hot_notes=false&source=%7B%22type%22%3A%22personal%22%2C%22extraInfo%22%3A%7B%22inspirationId%22%3A415393%2C%22subType%22%3A%22NNS_TYPE_INSPIRATION%22%2C%22page_entrance_type%22%3A%22ins_feed_note%22%2C%22nns_id%22%3A415393%2C%22further_page_entrance%22%3A%22creator_center%22%7D%7D",
"direction": 0,
"favor_status": 0,
"icon": "https://fe-platform.xhscdn.com/platform/104101l031jm747g3j406g9kud0274000000000duvsvva",
"image": "http://ci.xiaohongshu.com/1000g0082dggj5bsh800041j4lkq974st75fb3oo?imageView2/2/w/1080/format/jpg",
"ins_id": 415393,
"ins_type": "inspiration",
"name": "记录吧就现在",
"post_deeplink": "xhsdiscover://post_new_note?config=%7B%22is_from_popup%22%3Afalse%2C%22post_success_show_share%22%3A0%2C%22should_update_session%22%3Atrue%2C%22is_template_to_note%22%3Afalse%7D&source=%7B%22type%22%3A%22personal%22%2C%22extraInfo%22%3A%7B%22tab_id%22%3A0%2C%22track_id%22%3A%22415393%22%2C%22inspirationId%22%3A415393%2C%22subType%22%3A%22ins_feed_note%22%2C%22ins_sub_type%22%3A1%2C%22page_entrance_type%22%3A%22ins_feed_note%22%2C%22nns_id%22%3A415393%2C%22further_page_entrance%22%3A%22creator_center%22%7D%7D&page=%7B%22page_type%22%3A%22albums%22%7D&attach=%7B%22topics%22%3A%5B%7B%22page_id%22…",
"type": "Topic"
},
{
"btn_text": "Post Now",
"cnt_desc": "1.7M Posted",
"dark_icon": "https://fe-platform.xhscdn.com/platform/104101l031jm5pgtrj006g9kud0274000000000dmkmfe0",
"detail_deeplink": "xhsdiscover://nns_detail?type=inspiration&id=236297&trackId=236297&popupstyle=1&pageEntranceType=ins_feed_note&jump_type=insp_container&subInsType=inspiration&need_hide_hot_notes=false&source=%7B%22type%22%3A%22personal%22%2C%22extraInfo%22%3A%7B%22inspirationId%22%3A236297%2C%22subType%22%3A%22NNS_TYPE_INSPIRATION%22%2C%22page_entrance_type%22%3A%22ins_feed_note%22%2C%22nns_id%22%3A236297%2C%22further_page_entrance%22%3A%22creator_center%22%7D%7D",
"direction": 0,
"favor_status": 0,
"icon": "https://fe-platform.xhscdn.com/platform/104101l031jm747g3j406g9kud0274000000000duvsvva",
"image": "http://ci.xiaohongshu.com/e8e4c657-5d9d-3833-84e0-c33c8f987d04?imageView2/2/w/1080/format/jpg",
"ins_id": 236297,
"ins_type": "inspiration",
"name": "生活需要分享欲",
"post_deeplink": "xhsdiscover://post_new_note?config=%7B%22is_from_popup%22%3Afalse%2C%22post_success_show_share%22%3A0%2C%22should_update_session%22%3Atrue%2C%22is_template_to_note%22%3Afalse%7D&source=%7B%22type%22%3A%22personal%22%2C%22extraInfo%22%3A%7B%22tab_id%22%3A0%2C%22track_id%22%3A%22236297%22%2C%22inspirationId%22%3A236297%2C%22subType%22%3A%22ins_feed_note%22%2C%22ins_sub_type%22%3A1%2C%22page_entrance_type%22%3A%22ins_feed_note%22%2C%22nns_id%22%3A236297%2C%22further_page_entrance%22%3A%22creator_center%22%7D%7D&page=%7B%22page_type%22%3A%22albums%22%7D&attach=%7B%22topics%22%3A%5B%7B%22page_id%22…",
"type": "Topic"
},
"… 27 more items in the full response"
]
},
"debug_id": "0ddbb4ce",
"debug_info": "gAAAAABqhswp5YguEpOAC4vLWX5qEue4qtuVoDIswwG_Ecd5JfAVstob_zQBDkszixWb5JG2w9i7pAF9v78VasiPakbyILIM2Pbo_i3HVhPcW5kcn4i6FRzMkq0_l1wZNz80OBNi994m47PD3CGC6vB_Wr0SW5y8zxoMB2Az7zGZq-Hi26YhALC1EwK7gluBl-Furx4D2zNYuX2ZjKqY_pvbXS3Zwo59PHcaqBIubdg_BvNRR1G39Ilx0ROObmCsEAlRI4bwkbdKcuvPKjRk3jhBa613HRjPdPbK3AXoNkbNTZ4OXAaflTyqxOil9vGrjXU0q3MGEf44lgK-XodltshibVDbCsvfqSeZEijGysEWfF_e5TXg8ZECAktWaB2DfqyAGID1xVriaw1nevlqYprWGlxgAd9tbnQ3EhVBncmRLXkJjCKQKHr37DkJs3c-7sEuyGTJyHWa",
"msg": "成功",
"success": true
}
}
]प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
Returns a page of recommended inspiration topics from the Xiaohongshu (RED) creator center. Each item has a topic name, a post count, images and deeplinks. All inputs are optional, so an empty request returns the first page.
ins_id values and deeplinks to build a content planning list.cursor to build a larger set of topic ideas.tab values to see which topics each tab shows.curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/creator-inspiration-feed" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
cursor | string | No | Pagination cursor, leave empty for first request, pass cursor value from previous response (e.g. "r_1", "r_2"...) |
source | string | No | Source, default "creator_center" |
tab | integer | No | Tab type, default 0 |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": {
"cursor": "r_1",
"end_flag": false,
"inspirations": [
{
"btn_text": "Post Now",
"cnt_desc": "7.6M Posted",
"dark_icon": "https://fe-platform.xhscdn.com/platform/104101l031jm5pgtrj006g9kud0274000000000d…",
"detail_deeplink": "xhsdiscover://nns_detail?type=inspiration&id=236297&trackId=236297&popupstyle=1&…",
"direction": 0,
"favor_status": 0,
"icon": "https://fe-platform.xhscdn.com/platform/104101l031jm747g3j406g9kud0274000000000d…",
"image": "http://ci.xiaohongshu.com/e8e4c657-5d9d-3833-84e0-c33c8f987d04?imageView2/2/w/10…",
"ins_id": 236297,
"ins_type": "inspiration",
"name": "生活需要分享欲",
"post_deeplink": "xhsdiscover://post_new_note?config=%7B%22is_from_popup%22%3Afalse%2C%22post_succ…"
}
]
},
"debug_id": "cdf6bec5",
"debug_info": "gAAAAABq6ZFlukGKSeHYNCq0D0juZfl3OLE1MlwrypXt_ahnRNzXUCnh-YSZv5irWphyGVw_ys9QN5-C…",
"msg": "成功",
"success": true
}
| Field | Meaning |
|---|---|
data.inspirations[].name | Topic title shown to creators, in Chinese in the sample. |
data.inspirations[].ins_id | Numeric ID of the inspiration item. |
data.inspirations[].cnt_desc | Display text for how many posts use the topic, for example 7.6M Posted. |
data.inspirations[].type / data.inspirations[].ins_type | Kind of item. The sample shows Topic for type and inspiration for ins_type. |
data.inspirations[].image | Cover image URL for the topic. |
data.inspirations[].icon / data.inspirations[].dark_icon | Icon URLs for the topic. dark_icon is the dark mode version. |
data.inspirations[].detail_deeplink | App deeplink that opens the inspiration detail page. The id inside it matches ins_id. |
data.inspirations[].post_deeplink | App deeplink that opens the new note editor for this topic. |
data.inspirations[].btn_text | Label of the action button, Post Now in the sample. |
data.cursor / data.end_flag | cursor is the value to send for the next page. end_flag is false when more items are available. |
cursor empty on the first call. Then pass data.cursor from the previous response, for example r_1.source defaults to creator_center and tab defaults to 0.xhsdiscover:// scheme and work in the Xiaohongshu app, not in a browser.$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/app-v2/creator-inspiration-feed" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tab": 0,
"cursor": "",
"source": "creator_center"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
cursorstringPagination cursor, leave empty for first request, pass cursor value from previous response (e.g. "r_1", "r_2"...)
डिफ़ॉल्ट: ""
sourcestringSource, default "creator_center"
डिफ़ॉल्ट: "creator_center"
tabintegerTab type, default 0
डिफ़ॉल्ट: 0
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
[
{
"data": {
"code": 0,
"data": {
"cursor": "r_1",
"end_flag": false,
"inspirations": [
{
"btn_text": "Post Now",
"cnt_desc": "17.7M Posted",
"dark_icon": "https://fe-platform.xhscdn.com/platform/104101l031jm5pgtrj006g9kud0274000000000dmkmfe0",
"detail_deeplink": "xhsdiscover://nns_detail?type=inspiration&id=396391&trackId=396391&popupstyle=1&pageEntranceType=ins_feed_note&jump_type=insp_container&subInsType=inspiration&need_hide_hot_notes=false&source=%7B%22type%22%3A%22personal%22%2C%22extraInfo%22%3A%7B%22inspirationId%22%3A396391%2C%22subType%22%3A%22NNS_TYPE_INSPIRATION%22%2C%22page_entrance_type%22%3A%22ins_feed_note%22%2C%22nns_id%22%3A396391%2C%22further_page_entrance%22%3A%22creator_center%22%7D%7D",
"direction": 0,
"favor_status": 0,
"icon": "https://fe-platform.xhscdn.com/platform/104101l031jm747g3j406g9kud0274000000000duvsvva",
"image": "http://ci.xiaohongshu.com/1000g0081f2rm6hiai02g5o5c5th08kuu9hp1tno?imageView2/2/w/1080/format/jpg",
"ins_id": 396391,
"ins_type": "inspiration",
"name": "浪漫生活的记录者",
"post_deeplink": "xhsdiscover://post_new_note?config=%7B%22is_from_popup%22%3Afalse%2C%22post_success_show_share%22%3A0%2C%22should_update_session%22%3Atrue%2C%22is_template_to_note%22%3Afalse%7D&source=%7B%22type%22%3A%22personal%22%2C%22extraInfo%22%3A%7B%22tab_id%22%3A0%2C%22track_id%22%3A%22396391%22%2C%22inspirationId%22%3A396391%2C%22subType%22%3A%22ins_feed_note%22%2C%22ins_sub_type%22%3A1%2C%22page_entrance_type%22%3A%22ins_feed_note%22%2C%22nns_id%22%3A396391%2C%22further_page_entrance%22%3A%22creator_center%22%7D%7D&page=%7B%22page_type%22%3A%22albums%22%7D&attach=%7B%22topics%22%3A%5B%7B%22page_id%22…",
"type": "Topic"
},
{
"btn_text": "Post Now",
"cnt_desc": "8.7M Posted",
"dark_icon": "https://fe-platform.xhscdn.com/platform/104101l031jm5pgtrj006g9kud0274000000000dmkmfe0",
"detail_deeplink": "xhsdiscover://nns_detail?type=inspiration&id=415393&trackId=415393&popupstyle=1&pageEntranceType=ins_feed_note&jump_type=insp_container&subInsType=inspiration&need_hide_hot_notes=false&source=%7B%22type%22%3A%22personal%22%2C%22extraInfo%22%3A%7B%22inspirationId%22%3A415393%2C%22subType%22%3A%22NNS_TYPE_INSPIRATION%22%2C%22page_entrance_type%22%3A%22ins_feed_note%22%2C%22nns_id%22%3A415393%2C%22further_page_entrance%22%3A%22creator_center%22%7D%7D",
"direction": 0,
"favor_status": 0,
"icon": "https://fe-platform.xhscdn.com/platform/104101l031jm747g3j406g9kud0274000000000duvsvva",
"image": "http://ci.xiaohongshu.com/1000g0082dggj5bsh800041j4lkq974st75fb3oo?imageView2/2/w/1080/format/jpg",
"ins_id": 415393,
"ins_type": "inspiration",
"name": "记录吧就现在",
"post_deeplink": "xhsdiscover://post_new_note?config=%7B%22is_from_popup%22%3Afalse%2C%22post_success_show_share%22%3A0%2C%22should_update_session%22%3Atrue%2C%22is_template_to_note%22%3Afalse%7D&source=%7B%22type%22%3A%22personal%22%2C%22extraInfo%22%3A%7B%22tab_id%22%3A0%2C%22track_id%22%3A%22415393%22%2C%22inspirationId%22%3A415393%2C%22subType%22%3A%22ins_feed_note%22%2C%22ins_sub_type%22%3A1%2C%22page_entrance_type%22%3A%22ins_feed_note%22%2C%22nns_id%22%3A415393%2C%22further_page_entrance%22%3A%22creator_center%22%7D%7D&page=%7B%22page_type%22%3A%22albums%22%7D&attach=%7B%22topics%22%3A%5B%7B%22page_id%22…",
"type": "Topic"
},
{
"btn_text": "Post Now",
"cnt_desc": "1.7M Posted",
"dark_icon": "https://fe-platform.xhscdn.com/platform/104101l031jm5pgtrj006g9kud0274000000000dmkmfe0",
"detail_deeplink": "xhsdiscover://nns_detail?type=inspiration&id=236297&trackId=236297&popupstyle=1&pageEntranceType=ins_feed_note&jump_type=insp_container&subInsType=inspiration&need_hide_hot_notes=false&source=%7B%22type%22%3A%22personal%22%2C%22extraInfo%22%3A%7B%22inspirationId%22%3A236297%2C%22subType%22%3A%22NNS_TYPE_INSPIRATION%22%2C%22page_entrance_type%22%3A%22ins_feed_note%22%2C%22nns_id%22%3A236297%2C%22further_page_entrance%22%3A%22creator_center%22%7D%7D",
"direction": 0,
"favor_status": 0,
"icon": "https://fe-platform.xhscdn.com/platform/104101l031jm747g3j406g9kud0274000000000duvsvva",
"image": "http://ci.xiaohongshu.com/e8e4c657-5d9d-3833-84e0-c33c8f987d04?imageView2/2/w/1080/format/jpg",
"ins_id": 236297,
"ins_type": "inspiration",
"name": "生活需要分享欲",
"post_deeplink": "xhsdiscover://post_new_note?config=%7B%22is_from_popup%22%3Afalse%2C%22post_success_show_share%22%3A0%2C%22should_update_session%22%3Atrue%2C%22is_template_to_note%22%3Afalse%7D&source=%7B%22type%22%3A%22personal%22%2C%22extraInfo%22%3A%7B%22tab_id%22%3A0%2C%22track_id%22%3A%22236297%22%2C%22inspirationId%22%3A236297%2C%22subType%22%3A%22ins_feed_note%22%2C%22ins_sub_type%22%3A1%2C%22page_entrance_type%22%3A%22ins_feed_note%22%2C%22nns_id%22%3A236297%2C%22further_page_entrance%22%3A%22creator_center%22%7D%7D&page=%7B%22page_type%22%3A%22albums%22%7D&attach=%7B%22topics%22%3A%5B%7B%22page_id%22…",
"type": "Topic"
},
"… 27 more items in the full response"
]
},
"debug_id": "0ddbb4ce",
"debug_info": "gAAAAABqhswp5YguEpOAC4vLWX5qEue4qtuVoDIswwG_Ecd5JfAVstob_zQBDkszixWb5JG2w9i7pAF9v78VasiPakbyILIM2Pbo_i3HVhPcW5kcn4i6FRzMkq0_l1wZNz80OBNi994m47PD3CGC6vB_Wr0SW5y8zxoMB2Az7zGZq-Hi26YhALC1EwK7gluBl-Furx4D2zNYuX2ZjKqY_pvbXS3Zwo59PHcaqBIubdg_BvNRR1G39Ilx0ROObmCsEAlRI4bwkbdKcuvPKjRk3jhBa613HRjPdPbK3AXoNkbNTZ4OXAaflTyqxOil9vGrjXU0q3MGEf44lgK-XodltshibVDbCsvfqSeZEijGysEWfF_e5TXg8ZECAktWaB2DfqyAGID1xVriaw1nevlqYprWGlxgAd9tbnQ3EhVBncmRLXkJjCKQKHr37DkJs3c-7sEuyGTJyHWa",
"msg": "成功",
"success": true
}
}
]और जानें
| 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/app-v2/creator-inspiration-feed पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.01 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
कोई parameters आवश्यक नहीं हैं। वैकल्पिक: cursor (string), source (string) और tab (integer)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Xiaohongshu (RED) Inspiration Feed SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Xiaohongshu API access के लिए आवेदन करने की आवश्यकता नहीं है।