page_idstringerforderlich
Topic page ID (required), e.g. "5c1cc866febed9000184b7c1"
https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/topic-infoReturns topic page details such as topic name, view count, discussion count, and share info by topic page ID. Supports passing optional context like source note ID.
[
{
"data": {
"code": 0,
"data": {
"business_type": 0,
"custom_tabs": [],
"feedShowType": "2",
"followed": false,
"inside_deeplink": "xhsdiscover://topic/v2/5c1cc866febed9000184b7c1",
"middle_lane_list": [],
"moduleId": "0",
"page_id": "5c1cc866febed9000184b7c1",
"page_info": {
"banner": "",
"desc": "",
"discussNum": 2340087,
"discuss_comment_num": 36261346,
"discuss_comment_num_text": "999万+",
"name": "新年",
"topic_translate_info": {
"translate_type": 2
},
"viewNum": 7668920519,
"view_num_text": "999万+"
},
"page_type": "topic",
"post_deeplink": "xhsdiscover://post_new_note?page=%7B%22page_type%22%3A%22albums%22%7D&source=%7B%22type%22%3A%22pages%22%2C%22ids%22%3A%225c1cc866febed9000184b7c1%22%2C%22extraInfo%22%3A%7B%22popup_name%22%3A1%2C%22subType%22%3A%22page_topic%22%2C%22topic_id%22%3A%225c1cc866febed9000184b7c1%22%2C%22entrance_type%22%3A%22bottom%22%7D%7D&attach=%7B%22topics%22%3A%5B%7B%22page_id%22%3A%225c1cc866febed9000184b7c1%22%7D%5D%2C%22stickers_custom%22%3A%5B%5D%2C%22stickers_neptune%22%3A%5B%5D%2C%22stickers_emoji%22%3A%5B%5D%2C%22texts%22%3A%5B%5D%7D&config=%7B%22is_post_jump%22%3A0%2C%22progress_config%22%3A%7B%22prog…",
"post_option": {
"default_link": "xhsdiscover://post_new_note?source=%7B%22type%22%3A%22pages%22%2C%22ids%22%3A%225c1cc866febed9000184b7c1%22%2C%22extraInfo%22%3A%7B%22popup_name%22%3A1%2C%22subType%22%3A%22page_topic%22%2C%22topic_id%22%3A%225c1cc866febed9000184b7c1%22%2C%22entrance_type%22%3A%22bottom%22%7D%7D&attach=%7B%22topics%22%3A%5B%7B%22page_id%22%3A%225c1cc866febed9000184b7c1%22%7D%5D%2C%22stickers_custom%22%3A%5B%5D%2C%22stickers_neptune%22%3A%5B%5D%2C%22stickers_emoji%22%3A%5B%5D%2C%22texts%22%3A%5B%5D%7D&page=%7B%22page_type%22%3A%22albums%22%7D&config=%7B%22is_post_jump%22%3A0%2C%22progress_config%22%3A%7B%22prog…",
"func_items": [
{
"link": "xhsdiscover://post_new_note?source=%7B%22type%22%3A%22pages%22%2C%22ids%22%3A%225c1cc866febed9000184b7c1%22%2C%22extraInfo%22%3A%7B%22popup_name%22%3A1%2C%22subType%22%3A%22page_topic%22%2C%22topic_id%22%3A%225c1cc866febed9000184b7c1%22%2C%22entrance_type%22%3A%22bottom%22%7D%7D&attach=%7B%22topics%22%3A%5B%7B%22page_id%22%3A%225c1cc866febed9000184b7c1%22%7D%5D%2C%22stickers_custom%22%3A%5B%5D%2C%22stickers_neptune%22%3A%5B%5D%2C%22stickers_emoji%22%3A%5B%5D%2C%22texts%22%3A%5B%5D%7D&page=%7B%22page_type%22%3A%22albums%22%7D&config=%7B%22is_post_jump%22%3A0%2C%22progress_config%22%3A%7B%22prog…",
"title": "Choose from Album"
},
{
"link": "xhsdiscover://post_new_note?source=%7B%22type%22%3A%22pages%22%2C%22ids%22%3A%225c1cc866febed9000184b7c1%22%2C%22extraInfo%22%3A%7B%22popup_name%22%3A1%2C%22subType%22%3A%22page_topic%22%2C%22topic_id%22%3A%225c1cc866febed9000184b7c1%22%2C%22entrance_type%22%3A%22bottom%22%7D%7D&attach=%7B%22topics%22%3A%5B%7B%22page_id%22%3A%225c1cc866febed9000184b7c1%22%7D%5D%2C%22stickers_custom%22%3A%5B%5D%2C%22stickers_neptune%22%3A%5B%5D%2C%22stickers_emoji%22%3A%5B%5D%2C%22texts%22%3A%5B%5D%7D&page=%7B%22page_type%22%3A%22camera_hub%22%7D&config=%7B%22is_post_jump%22%3A0%2C%22progress_config%22%3A%7B%22…",
"title": "Capture"
},
{
"link": "xhsdiscover://post_new_note?source=%7B%22type%22%3A%22pages%22%2C%22ids%22%3A%225c1cc866febed9000184b7c1%22%2C%22extraInfo%22%3A%7B%22popup_name%22%3A1%2C%22subType%22%3A%22page_topic%22%2C%22topic_id%22%3A%225c1cc866febed9000184b7c1%22%2C%22entrance_type%22%3A%22bottom%22%7D%7D&attach=%7B%22topics%22%3A%5B%7B%22page_id%22%3A%225c1cc866febed9000184b7c1%22%7D%5D%2C%22stickers_custom%22%3A%5B%5D%2C%22stickers_neptune%22%3A%5B%5D%2C%22stickers_emoji%22%3A%5B%5D%2C%22texts%22%3A%5B%5D%2C%22now_edit_info%22%3A%7B%22tti_open_keyboard%22%3Afalse%7D%7D&page=%7B%22page_type%22%3A%22now_portal_home_page…",
"title": "Text"
}
]
},
"post_text": "Post now",
"share_info": {
"desc": "3626万人在讨论,一起看看吧。",
"image": "http://ci.xiaohongshu.com/1040g00832435j1a40a305paoiqigmj2vrv1a660?imageView2/2/w/1080/format/jpg",
"link": "https://www.xiaohongshu.com/topic/ugc/5c1cc866febed9000184b7c1?fullscreen=true&naviHidden=yes",
"outside_desc": "小红书话题|3626万人在讨论,一起看看吧。",
"outside_image": "https://picasso-static.xiaohongshu.com/fe-platform/140668e9c80b4341d7a3585e95a7ce7845433edc.png",
"title": "# 新年"
},
"tabs": [
{
"is_focus": false,
"name": "Hottest",
"value": "trend"
},
{
"name": "Latest",
"value": "time"
}
],
"topic_id": "5497b494b4c4d654c0d78c99",
"topic_long_id": "2233796500294765721",
"user_followed": false,
"users": [
{
"id": "655896a50000000002034c5f",
"image": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo31k5p1b0i32605paoiqigmj2ve0l5jrg?imageView2/2/w/80/format/jpg",
"nickname": "九月二十七日"
},
{
"id": "64197bbe000000001102019d",
"image": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo323g05vog0ak05p0pfev4c0cta90iogg?imageView2/2/w/80/format/jpg",
"nickname": "我来了"
},
{
"id": "66e3de46000000001d0225a7",
"image": "https://sns-avatar-qc.xhscdn.com/avatar/e9cc66d1-86e2-3534-a99f-dabd1dc3bae1?imageView2/2/w/80/format/jpg",
"nickname": "小亦玩玩玩"
}
]
},
"debug_id": "e5e68dcf",
"debug_info": "gAAAAABqhswlD_7ILpeAZbQIFEGZHU2w1YEeHDUNQIlT5lmeuEGcyc5p-H0M4vVDkLEJb36m7HcfnIc5xB-ue60qpsLxB-BS3H2msxZkGZvgMxZaDiar4GOTx_0FTyCcqE9y3LQzayzypv0FPugyXJk1KHezjbkXRV44UpRl477pWfXn5cFtGKbGLpe0ysINn9SWPCygRJ1Kvzfc0tv5FPxkzI2AO1XLyJW9o4Za1_3ya1ZU5DokZo9CBzFt-gKE3bTCbKl6a0gIwISnKimz6HwgiFRUogRASvxdrC08hD5glnrJViCXjuXlMMSb9Dcp6AJ1jdf5U3K4361Mrl6ejDLJvEZc9eNLIDM56_JDicZCyqYoEJIdKrc6Z4qcy9PZvrPM-OaSBDNKK8nNbyIG-rGnnWXKDWyjAjTYUoJWQArYX7ftvIjoA7g=",
"msg": "成功",
"success": true
}
}
]Wählen Sie ein Beispiel aus, um seine Eingaben und das Ergebnis in den Playground zu laden.
Returns details for one Xiaohongshu (RED) topic page, including its name, view count, discussion count, share card and a few sample users. It needs the topic page ID as page_id. You can also pass note_id and source as context.
新年 to compare how much attention topics get.topic_id to match topic pages to your own tracking list.curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/topic-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"page_id": "5c1cc866febed9000184b7c1"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
page_id | string | Yes | Topic page ID (required), e.g. "5c1cc866febed9000184b7c1" |
note_id | string | No | Source note ID, pass when jumping from note to topic (optional) |
source | string | No | Source, default "normal" |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": {
"business_type": 0,
"custom_tabs": [],
"feedShowType": "2",
"followed": false,
"inside_deeplink": "xhsdiscover://topic/v2/5c1cc866febed9000184b7c1",
"middle_lane_list": [],
"moduleId": "0",
"page_id": "5c1cc866febed9000184b7c1",
"page_info": {
"banner": "",
"desc": "",
"discussNum": 2330307,
"discuss_comment_num": 36351380,
"discuss_comment_num_text": "999万+",
"name": "新年",
"topic_translate_info": {
"translate_type": 2
},
"viewNum": 7705118072,
"view_num_text": "999万+"
},
"page_type": "topic",
"post_deeplink": "xhsdiscover://post_new_note?page=%7B%22page_type%22%3A%22albums%22%7D&source=%7B…",
"post_option": {
"default_link": "xhsdiscover://post_new_note?source=%7B%22type%22%3A%22pages%22%2C%22ids%22%3A%22…",
"func_items": [
{
"link": "xhsdiscover://post_new_note?source=%7B%22type%22%3A%22pages%22%2C%22ids%22%3A%22…",
"title": "Choose from Album"
}
]
}
},
"debug_id": "762109a8",
"debug_info": "gAAAAABq6ZFtotwmW7U6uFyOoDDeZr9ax0lIvRIbTulQ1cieFB1UjIpDjpxrjvCyh0iXAeX_Jfs5blmq…",
"msg": "成功",
"success": true
}
| Field | Meaning |
|---|---|
data.page_info.name | Topic name, for example 新年. |
data.page_info.viewNum / data.page_info.view_num_text | Total view count as a number, and the same count as a short display text such as 999万+. |
data.page_info.discussNum | Number of discussions on the topic, as a number. |
data.page_info.discuss_comment_num / data.page_info.discuss_comment_num_text | Discussion comment count as a number, and as a short display text. |
data.page_id / data.topic_id / data.topic_long_id | Identifiers of the topic. page_id echoes the requested topic page ID. topic_id and topic_long_id are two other ID forms for the same topic. |
data.share_info.title / data.share_info.desc / data.share_info.link | Title, description text and web link used when the topic is shared. |
data.share_info.image / data.share_info.outside_image | Image URLs for the share card inside the app and for sharing outside the app. |
data.tabs[].name / data.tabs[].value | Sort tabs on the topic page. value is trend for Hottest and time for Latest. |
data.users[].id / data.users[].nickname / data.users[].image | User ID, display name and avatar URL of users shown on the topic page. |
data.inside_deeplink | App deeplink that opens the topic page in the Xiaohongshu app. |
page_id is a 24-character hex string, such as 5c1cc866febed9000184b7c1. The deeplink in data.inside_deeplink also contains it.note_id only when you reach the topic from a note. It is optional.viewNum are plain numbers. The _text fields are shortened display strings.$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Jetzt loslegen
Plattform-API-Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/topic-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"source": "normal",
"note_id": "",
"page_id": "5c1cc866febed9000184b7c1"
}'Legen Sie Ihren SandBase API-Schlüssel in Ihrer Serverumgebung fest. Anfragen verwenden Bearer-Authentifizierung.
export SANDBASE_API_KEY="YOUR_API_KEY"Bewahren Sie Ihren Schlüssel auf dem Server auf. Geben Sie ihn nicht in Browser-Code preis.
page_idstringerforderlichTopic page ID (required), e.g. "5c1cc866febed9000184b7c1"
note_idstringSource note ID, pass when jumping from note to topic (optional)
Standard: ""
sourcestringSource, default "normal"
Standard: "normal"
Gespeicherte Beispielantwort für diese API; beim Anzeigen wird keine Live-Anfrage gesendet.
[
{
"data": {
"code": 0,
"data": {
"business_type": 0,
"custom_tabs": [],
"feedShowType": "2",
"followed": false,
"inside_deeplink": "xhsdiscover://topic/v2/5c1cc866febed9000184b7c1",
"middle_lane_list": [],
"moduleId": "0",
"page_id": "5c1cc866febed9000184b7c1",
"page_info": {
"banner": "",
"desc": "",
"discussNum": 2340087,
"discuss_comment_num": 36261346,
"discuss_comment_num_text": "999万+",
"name": "新年",
"topic_translate_info": {
"translate_type": 2
},
"viewNum": 7668920519,
"view_num_text": "999万+"
},
"page_type": "topic",
"post_deeplink": "xhsdiscover://post_new_note?page=%7B%22page_type%22%3A%22albums%22%7D&source=%7B%22type%22%3A%22pages%22%2C%22ids%22%3A%225c1cc866febed9000184b7c1%22%2C%22extraInfo%22%3A%7B%22popup_name%22%3A1%2C%22subType%22%3A%22page_topic%22%2C%22topic_id%22%3A%225c1cc866febed9000184b7c1%22%2C%22entrance_type%22%3A%22bottom%22%7D%7D&attach=%7B%22topics%22%3A%5B%7B%22page_id%22%3A%225c1cc866febed9000184b7c1%22%7D%5D%2C%22stickers_custom%22%3A%5B%5D%2C%22stickers_neptune%22%3A%5B%5D%2C%22stickers_emoji%22%3A%5B%5D%2C%22texts%22%3A%5B%5D%7D&config=%7B%22is_post_jump%22%3A0%2C%22progress_config%22%3A%7B%22prog…",
"post_option": {
"default_link": "xhsdiscover://post_new_note?source=%7B%22type%22%3A%22pages%22%2C%22ids%22%3A%225c1cc866febed9000184b7c1%22%2C%22extraInfo%22%3A%7B%22popup_name%22%3A1%2C%22subType%22%3A%22page_topic%22%2C%22topic_id%22%3A%225c1cc866febed9000184b7c1%22%2C%22entrance_type%22%3A%22bottom%22%7D%7D&attach=%7B%22topics%22%3A%5B%7B%22page_id%22%3A%225c1cc866febed9000184b7c1%22%7D%5D%2C%22stickers_custom%22%3A%5B%5D%2C%22stickers_neptune%22%3A%5B%5D%2C%22stickers_emoji%22%3A%5B%5D%2C%22texts%22%3A%5B%5D%7D&page=%7B%22page_type%22%3A%22albums%22%7D&config=%7B%22is_post_jump%22%3A0%2C%22progress_config%22%3A%7B%22prog…",
"func_items": [
{
"link": "xhsdiscover://post_new_note?source=%7B%22type%22%3A%22pages%22%2C%22ids%22%3A%225c1cc866febed9000184b7c1%22%2C%22extraInfo%22%3A%7B%22popup_name%22%3A1%2C%22subType%22%3A%22page_topic%22%2C%22topic_id%22%3A%225c1cc866febed9000184b7c1%22%2C%22entrance_type%22%3A%22bottom%22%7D%7D&attach=%7B%22topics%22%3A%5B%7B%22page_id%22%3A%225c1cc866febed9000184b7c1%22%7D%5D%2C%22stickers_custom%22%3A%5B%5D%2C%22stickers_neptune%22%3A%5B%5D%2C%22stickers_emoji%22%3A%5B%5D%2C%22texts%22%3A%5B%5D%7D&page=%7B%22page_type%22%3A%22albums%22%7D&config=%7B%22is_post_jump%22%3A0%2C%22progress_config%22%3A%7B%22prog…",
"title": "Choose from Album"
},
{
"link": "xhsdiscover://post_new_note?source=%7B%22type%22%3A%22pages%22%2C%22ids%22%3A%225c1cc866febed9000184b7c1%22%2C%22extraInfo%22%3A%7B%22popup_name%22%3A1%2C%22subType%22%3A%22page_topic%22%2C%22topic_id%22%3A%225c1cc866febed9000184b7c1%22%2C%22entrance_type%22%3A%22bottom%22%7D%7D&attach=%7B%22topics%22%3A%5B%7B%22page_id%22%3A%225c1cc866febed9000184b7c1%22%7D%5D%2C%22stickers_custom%22%3A%5B%5D%2C%22stickers_neptune%22%3A%5B%5D%2C%22stickers_emoji%22%3A%5B%5D%2C%22texts%22%3A%5B%5D%7D&page=%7B%22page_type%22%3A%22camera_hub%22%7D&config=%7B%22is_post_jump%22%3A0%2C%22progress_config%22%3A%7B%22…",
"title": "Capture"
},
{
"link": "xhsdiscover://post_new_note?source=%7B%22type%22%3A%22pages%22%2C%22ids%22%3A%225c1cc866febed9000184b7c1%22%2C%22extraInfo%22%3A%7B%22popup_name%22%3A1%2C%22subType%22%3A%22page_topic%22%2C%22topic_id%22%3A%225c1cc866febed9000184b7c1%22%2C%22entrance_type%22%3A%22bottom%22%7D%7D&attach=%7B%22topics%22%3A%5B%7B%22page_id%22%3A%225c1cc866febed9000184b7c1%22%7D%5D%2C%22stickers_custom%22%3A%5B%5D%2C%22stickers_neptune%22%3A%5B%5D%2C%22stickers_emoji%22%3A%5B%5D%2C%22texts%22%3A%5B%5D%2C%22now_edit_info%22%3A%7B%22tti_open_keyboard%22%3Afalse%7D%7D&page=%7B%22page_type%22%3A%22now_portal_home_page…",
"title": "Text"
}
]
},
"post_text": "Post now",
"share_info": {
"desc": "3626万人在讨论,一起看看吧。",
"image": "http://ci.xiaohongshu.com/1040g00832435j1a40a305paoiqigmj2vrv1a660?imageView2/2/w/1080/format/jpg",
"link": "https://www.xiaohongshu.com/topic/ugc/5c1cc866febed9000184b7c1?fullscreen=true&naviHidden=yes",
"outside_desc": "小红书话题|3626万人在讨论,一起看看吧。",
"outside_image": "https://picasso-static.xiaohongshu.com/fe-platform/140668e9c80b4341d7a3585e95a7ce7845433edc.png",
"title": "# 新年"
},
"tabs": [
{
"is_focus": false,
"name": "Hottest",
"value": "trend"
},
{
"name": "Latest",
"value": "time"
}
],
"topic_id": "5497b494b4c4d654c0d78c99",
"topic_long_id": "2233796500294765721",
"user_followed": false,
"users": [
{
"id": "655896a50000000002034c5f",
"image": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo31k5p1b0i32605paoiqigmj2ve0l5jrg?imageView2/2/w/80/format/jpg",
"nickname": "九月二十七日"
},
{
"id": "64197bbe000000001102019d",
"image": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo323g05vog0ak05p0pfev4c0cta90iogg?imageView2/2/w/80/format/jpg",
"nickname": "我来了"
},
{
"id": "66e3de46000000001d0225a7",
"image": "https://sns-avatar-qc.xhscdn.com/avatar/e9cc66d1-86e2-3534-a99f-dabd1dc3bae1?imageView2/2/w/80/format/jpg",
"nickname": "小亦玩玩玩"
}
]
},
"debug_id": "e5e68dcf",
"debug_info": "gAAAAABqhswlD_7ILpeAZbQIFEGZHU2w1YEeHDUNQIlT5lmeuEGcyc5p-H0M4vVDkLEJb36m7HcfnIc5xB-ue60qpsLxB-BS3H2msxZkGZvgMxZaDiar4GOTx_0FTyCcqE9y3LQzayzypv0FPugyXJk1KHezjbkXRV44UpRl477pWfXn5cFtGKbGLpe0ysINn9SWPCygRJ1Kvzfc0tv5FPxkzI2AO1XLyJW9o4Za1_3ya1ZU5DokZo9CBzFt-gKE3bTCbKl6a0gIwISnKimz6HwgiFRUogRASvxdrC08hD5glnrJViCXjuXlMMSb9Dcp6AJ1jdf5U3K4361Mrl6ejDLJvEZc9eNLIDM56_JDicZCyqYoEJIdKrc6Z4qcy9PZvrPM-OaSBDNKK8nNbyIG-rGnnWXKDWyjAjTYUoJWQArYX7ftvIjoA7g=",
"msg": "成功",
"success": true
}
}
]Mehr entdecken
| API | Preis | Antwort |
|---|---|---|
Xiaohongshu (RED) Topic DetailsDiese API Xiaohongshu | $0.01 pro Aufruf | JSON |
Xiaohongshu | $0.01 pro Aufruf | JSON |
Xiaohongshu | $0.01 pro Aufruf | JSON |
Xiaohongshu | $0.01 pro Aufruf | JSON |
Xiaohongshu | $0.01 pro Aufruf | JSON |
Xiaohongshu | $0.01 pro Aufruf | JSON |
Anleitungen:Best Xiaohongshu API in 2026: Pricing Compared
Fragen
Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/topic-info mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.
$0.01 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.
Erforderlich: page_id (string). Optional: note_id (string) und source (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.
Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.
Nein. Xiaohongshu (RED) Topic Details läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Xiaohongshu API beantragen.