note_idstring필수
Note ID, e.g. "6a20edfa0000000021020951"
https://api.sandbase.ai/v1/api/xiaohongshu/pgy/note-detailReturns detailed information for a specific Pugongying (PGY) note on Xiaohongshu (RED). Look up content and metadata using a note identifier.
[
{
"data": {
"code": 0,
"data": {
"agentName": null,
"atUserList": null,
"cmtNum": 16,
"compClickData": null,
"content": "憨豆先生表情:盯梢三分钟然后默默点头……\n和我站在湖滨in77这家冰淇淋店前一模一样\n\t\n店员说:每天现做,卖不完当晚报废\n我:嗯?\n店员又说:绝不隔夜\n我:🙂(憨豆上身)\n\t\n一口气试吃了四个味道——\n西湖龙井奶香里带着茶回甘,很清透\n五常大米能嚼到糯糯的米粒,像在吃冰米粥\n金牌开心果满嘴坚果香,很润\n美国碧根果醇厚但不腻\n新鲜是真的吃得出来\n\t\n不说了看图!!!憨豆先生就是我的手替😋\n\t\n#雪巴比手工鲜制冰淇淋[话题]# #杭州gelato[话题]# #雪巴比新店开业[话题]# #雪巴比gelato[话题]# #杭州美食[话题]# #雪巴比杭州湖滨银泰in77店[话题]# #雪巴比杭州首店[话题]# #雪巴比浙江首店[话题]#",
"contentItemList": null,
"createTime": "2026-06-04 11:16",
"favNum": 20,
"featureTags": null,
"followCnt": 0,
"goodCaseCollect": false,
"headPhoto": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo31hpod1vijs705n36hcv4k5g5f8fn40g?imageView2/2/w/120/format/jpg",
"imagesList": [
{
"fileId": "1040g2sg320vr7gtc7l305n36hcv4k5g5po0qqo0",
"height": 1694,
"imageExtraInfo": {
"imageMetadata": "{\"thumbHash\":\"nhkGJQSWNsxVl5cXd0v3qYicb3X4\",\"RGB\":\"0xb08d37\"}",
"livePhotoVideoFileId": null,
"livePhotoVideoId": null
},
"latitude": null,
"longitude": null,
"original": "http://ci.xiaohongshu.com/1040g2sg320vr7gtc7l305n36hcv4k5g5po0qqo0",
"sticker": null,
"traceId": "1040g2sg320vr7gtc7l305n36hcv4k5g5po0qqo0",
"url": "http://ci.xiaohongshu.com/1040g2sg320vr7gtc7l305n36hcv4k5g5po0qqo0?imageView2/2/w/1080/format/jpg",
"width": 1290
},
{
"fileId": "notes_uhdr/1040g3qo320vr9a2sne705n36hcv4k5g54lakq38",
"height": 3395,
"imageExtraInfo": {
"imageMetadata": "{\"live_photo_info\":{\"keep_soundtrack\":true}}",
"livePhotoVideoFileId": "livephoto/1040g390320vr7gtc7o005n36hcv4k5g54iidc38",
"livePhotoVideoId": "137958944951835359"
},
"latitude": null,
"longitude": null,
"original": "http://ci.xiaohongshu.com/notes_uhdr/1040g3qo320vr9a2sne705n36hcv4k5g54lakq38",
"sticker": null,
"traceId": "notes_uhdr/1040g3qo320vr9a2sne705n36hcv4k5g54lakq38",
"url": "http://ci.xiaohongshu.com/notes_uhdr/1040g3qo320vr9a2sne705n36hcv4k5g54lakq38?imageView2/2/w/1080/format/jpg",
"width": 2545
},
{
"fileId": "notes_uhdr/1040g3qo320vr9a2sne7g5n36hcv4k5g5iab103g",
"height": 3841,
"imageExtraInfo": {
"imageMetadata": "{\"live_photo_info\":{\"keep_soundtrack\":true}}",
"livePhotoVideoFileId": "livephoto/1040g390320vr7gtc7o0g5n36hcv4k5g5rbpppko",
"livePhotoVideoId": "137958944968599607"
},
"latitude": null,
"longitude": null,
"original": "http://ci.xiaohongshu.com/notes_uhdr/1040g3qo320vr9a2sne7g5n36hcv4k5g5iab103g",
"sticker": null,
"traceId": "notes_uhdr/1040g3qo320vr9a2sne7g5n36hcv4k5g5iab103g",
"url": "http://ci.xiaohongshu.com/notes_uhdr/1040g3qo320vr9a2sne7g5n36hcv4k5g5iab103g?imageView2/2/w/1080/format/jpg",
"width": 2880
},
"… 6 more items in the full response"
],
"impNum": 14122,
"likeNum": 118,
"name": "一颗白菜",
"noteId": "6a20edfa0000000021020951",
"noteLink": "https://www.xiaohongshu.com/explore/6a20edfa0000000021020951?xsec_token=MBBPO92g9MMujzyOGeeA3hq8es2G9VWc5wZpYbO4S4CmA=&xsec_source=pc_pgy",
"readNum": 1121,
"recommendedKeywords": null,
"redId": null,
"reportBrandName": null,
"reportBrandUserId": null,
"shareNum": 14,
"time": {
"createTime": 1780542970000,
"updateTime": 1780550594000,
"userUpdateTime": 1780542970000
},
"title": "一种很抽象的表达方式……",
"type": 1,
"userId": "5c668b3e0000000012021605",
"userInfo": {
"advertiserId": null,
"avatar": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo31hpod1vijs705n36hcv4k5g5f8fn40g?imageView2/2/w/120/format/jpg",
"clickMidNum": 1560,
"contentTags": [
{
"taxonomy1Tag": "美食",
"taxonomy2Tags": [
"美食探店"
]
},
{
"taxonomy1Tag": "出行旅游",
"taxonomy2Tags": [
"城市出行"
]
}
],
"cooperType": 1,
"currentLevel": 2,
"fansNum": 10148,
"featureTags": [
"探店",
"氛围感",
"测评"
],
"gender": "女",
"interMidNum": 213,
"isCollect": false,
"kolType": 0,
"location": "浙江 杭州 钱塘区",
"mEngagementNum": 244,
"mengagementNum": 244,
"nickName": "一颗白菜",
"operateState": 1,
"personalTags": null,
"pictureInCart": null,
"picturePrice": 2500,
"pictureState": 1,
"priceState": 1,
"userId": "5c668b3e0000000012021605",
"userType": 2,
"videoInCart": null,
"videoPrice": 5000,
"videoState": 1
},
"videoInfo": null
},
"guid": null,
"msg": "成功",
"success": true
}
}
]예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.
Returns details for one Xiaohongshu (RED) note listed on the Pugongying (PGY) platform. It needs a note_id and returns the note text, images, engagement counts and a profile block for the author.
fansNum, picturePrice and videoPrice next to a note to review a creator before a campaign.curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy/note-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"note_id": "6a20edfa0000000021020951"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
note_id | string | Yes | Note ID, e.g. "6a20edfa0000000021020951" |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": {
"agentName": null,
"atUserList": null,
"cmtNum": 16,
"compClickData": null,
"content": "憨豆先生表情:盯梢三分钟然后默默点头……\n和我站在湖滨in77这家冰淇淋店前一模一样\n\t\n店员说:每天现做,卖不完当晚报废\n我:嗯?\n店员又说:绝不隔夜\n我:🙂…",
"contentItemList": null,
"createTime": "2026-06-04 11:16",
"favNum": 20,
"featureTags": null,
"followCnt": 0,
"goodCaseCollect": false,
"headPhoto": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo31hpod1vijs705n36hcv4k5g5f8fn40g…"
},
"guid": null,
"msg": "成功",
"success": true
}
| Field | Meaning |
|---|---|
data.title / data.content | Title and body text of the note. The body can contain line breaks and emoji. |
data.readNum / data.impNum | Read count and impression count of the note. |
data.likeNum / data.favNum / data.cmtNum / data.shareNum | Like, favorite, comment and share counts of the note. |
data.createTime / data.time.createTime | Publish time. createTime is a text date such as 2026-06-04 11:16. The time object holds the same moment and the update times as millisecond timestamps. |
data.imagesList[].url / data.imagesList[].original | Image link at 1080 px width and the original image link. width and height sit beside them. |
data.imagesList[].imageExtraInfo.livePhotoVideoFileId | File ID of the video clip when an image is a live photo. It is null for normal images. |
data.noteLink | Link to the note on xiaohongshu.com, with the xsec_token and xsec_source query values included. |
data.userInfo.nickName / data.userInfo.userId | Display name and user ID of the note's author. |
data.userInfo.fansNum / data.userInfo.location | Follower count and the listed location of the author. |
data.userInfo.picturePrice / data.userInfo.videoPrice | Listed prices for an image note and a video note from this author. |
data.userInfo.contentTags[].taxonomy1Tag / data.userInfo.contentTags[].taxonomy2Tags | Top-level content category and its sub-categories for the author, such as food and city travel. |
note_id is a 24-character hex string. It also appears in data.noteId and in the data.noteLink path.data.userInfo.userId is the author's ID. Pass it to Xiaohongshu (RED) PGY Blogger Details for the full creator profile.data.videoInfo is null for this image note, and several other fields can also be null.$0.02 per successful call. Failed calls are not charged.
빌드를 시작하세요
통합 인증 및 사용량 추적이 있는 플랫폼 API 엔드포인트입니다.
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy/note-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"note_id": "6a20edfa0000000021020951"
}'서버 환경에 SandBase API 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
note_idstring필수Note ID, e.g. "6a20edfa0000000021020951"
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
[
{
"data": {
"code": 0,
"data": {
"agentName": null,
"atUserList": null,
"cmtNum": 16,
"compClickData": null,
"content": "憨豆先生表情:盯梢三分钟然后默默点头……\n和我站在湖滨in77这家冰淇淋店前一模一样\n\t\n店员说:每天现做,卖不完当晚报废\n我:嗯?\n店员又说:绝不隔夜\n我:🙂(憨豆上身)\n\t\n一口气试吃了四个味道——\n西湖龙井奶香里带着茶回甘,很清透\n五常大米能嚼到糯糯的米粒,像在吃冰米粥\n金牌开心果满嘴坚果香,很润\n美国碧根果醇厚但不腻\n新鲜是真的吃得出来\n\t\n不说了看图!!!憨豆先生就是我的手替😋\n\t\n#雪巴比手工鲜制冰淇淋[话题]# #杭州gelato[话题]# #雪巴比新店开业[话题]# #雪巴比gelato[话题]# #杭州美食[话题]# #雪巴比杭州湖滨银泰in77店[话题]# #雪巴比杭州首店[话题]# #雪巴比浙江首店[话题]#",
"contentItemList": null,
"createTime": "2026-06-04 11:16",
"favNum": 20,
"featureTags": null,
"followCnt": 0,
"goodCaseCollect": false,
"headPhoto": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo31hpod1vijs705n36hcv4k5g5f8fn40g?imageView2/2/w/120/format/jpg",
"imagesList": [
{
"fileId": "1040g2sg320vr7gtc7l305n36hcv4k5g5po0qqo0",
"height": 1694,
"imageExtraInfo": {
"imageMetadata": "{\"thumbHash\":\"nhkGJQSWNsxVl5cXd0v3qYicb3X4\",\"RGB\":\"0xb08d37\"}",
"livePhotoVideoFileId": null,
"livePhotoVideoId": null
},
"latitude": null,
"longitude": null,
"original": "http://ci.xiaohongshu.com/1040g2sg320vr7gtc7l305n36hcv4k5g5po0qqo0",
"sticker": null,
"traceId": "1040g2sg320vr7gtc7l305n36hcv4k5g5po0qqo0",
"url": "http://ci.xiaohongshu.com/1040g2sg320vr7gtc7l305n36hcv4k5g5po0qqo0?imageView2/2/w/1080/format/jpg",
"width": 1290
},
{
"fileId": "notes_uhdr/1040g3qo320vr9a2sne705n36hcv4k5g54lakq38",
"height": 3395,
"imageExtraInfo": {
"imageMetadata": "{\"live_photo_info\":{\"keep_soundtrack\":true}}",
"livePhotoVideoFileId": "livephoto/1040g390320vr7gtc7o005n36hcv4k5g54iidc38",
"livePhotoVideoId": "137958944951835359"
},
"latitude": null,
"longitude": null,
"original": "http://ci.xiaohongshu.com/notes_uhdr/1040g3qo320vr9a2sne705n36hcv4k5g54lakq38",
"sticker": null,
"traceId": "notes_uhdr/1040g3qo320vr9a2sne705n36hcv4k5g54lakq38",
"url": "http://ci.xiaohongshu.com/notes_uhdr/1040g3qo320vr9a2sne705n36hcv4k5g54lakq38?imageView2/2/w/1080/format/jpg",
"width": 2545
},
{
"fileId": "notes_uhdr/1040g3qo320vr9a2sne7g5n36hcv4k5g5iab103g",
"height": 3841,
"imageExtraInfo": {
"imageMetadata": "{\"live_photo_info\":{\"keep_soundtrack\":true}}",
"livePhotoVideoFileId": "livephoto/1040g390320vr7gtc7o0g5n36hcv4k5g5rbpppko",
"livePhotoVideoId": "137958944968599607"
},
"latitude": null,
"longitude": null,
"original": "http://ci.xiaohongshu.com/notes_uhdr/1040g3qo320vr9a2sne7g5n36hcv4k5g5iab103g",
"sticker": null,
"traceId": "notes_uhdr/1040g3qo320vr9a2sne7g5n36hcv4k5g5iab103g",
"url": "http://ci.xiaohongshu.com/notes_uhdr/1040g3qo320vr9a2sne7g5n36hcv4k5g5iab103g?imageView2/2/w/1080/format/jpg",
"width": 2880
},
"… 6 more items in the full response"
],
"impNum": 14122,
"likeNum": 118,
"name": "一颗白菜",
"noteId": "6a20edfa0000000021020951",
"noteLink": "https://www.xiaohongshu.com/explore/6a20edfa0000000021020951?xsec_token=MBBPO92g9MMujzyOGeeA3hq8es2G9VWc5wZpYbO4S4CmA=&xsec_source=pc_pgy",
"readNum": 1121,
"recommendedKeywords": null,
"redId": null,
"reportBrandName": null,
"reportBrandUserId": null,
"shareNum": 14,
"time": {
"createTime": 1780542970000,
"updateTime": 1780550594000,
"userUpdateTime": 1780542970000
},
"title": "一种很抽象的表达方式……",
"type": 1,
"userId": "5c668b3e0000000012021605",
"userInfo": {
"advertiserId": null,
"avatar": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo31hpod1vijs705n36hcv4k5g5f8fn40g?imageView2/2/w/120/format/jpg",
"clickMidNum": 1560,
"contentTags": [
{
"taxonomy1Tag": "美食",
"taxonomy2Tags": [
"美食探店"
]
},
{
"taxonomy1Tag": "出行旅游",
"taxonomy2Tags": [
"城市出行"
]
}
],
"cooperType": 1,
"currentLevel": 2,
"fansNum": 10148,
"featureTags": [
"探店",
"氛围感",
"测评"
],
"gender": "女",
"interMidNum": 213,
"isCollect": false,
"kolType": 0,
"location": "浙江 杭州 钱塘区",
"mEngagementNum": 244,
"mengagementNum": 244,
"nickName": "一颗白菜",
"operateState": 1,
"personalTags": null,
"pictureInCart": null,
"picturePrice": 2500,
"pictureState": 1,
"priceState": 1,
"userId": "5c668b3e0000000012021605",
"userType": 2,
"videoInCart": null,
"videoPrice": 5000,
"videoState": 1
},
"videoInfo": null
},
"guid": null,
"msg": "成功",
"success": true
}
}
]더 살펴보기
| API | 가격 | 응답 |
|---|---|---|
Xiaohongshu | $0.02 / 호출 | JSON |
Xiaohongshu | $0.02 / 호출 | JSON |
Xiaohongshu | $0.02 / 호출 | JSON |
Xiaohongshu | $0.02 / 호출 | JSON |
Xiaohongshu | $0.02 / 호출 | JSON |
Xiaohongshu | $0.02 / 호출 | JSON |
질문
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/xiaohongshu/pgy/note-detail에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
호출당 $0.02, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.
필수: note_id (string). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
아니요. Xiaohongshu (RED) PGY Note Detail은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Xiaohongshu API 액세스를 별도로 신청할 필요는 없습니다.