Posts
Get Xiaohongshu's explore feed: the notes it recommends now, with their authors, covers and likes.
GET | POST /v1/xiaohongshu/postsSend parameters as a query string with GET, or as a JSON body with POST. Both are equivalent.
Request
curl "https://gateway.apinoa.com/v1/xiaohongshu/posts" \
-H "x-api-key: $APINOA_API_KEY"What to Pass
| Pass | Reads | Notes |
|---|---|---|
| nothing | The explore feed | What Xiaohongshu recommends to a visitor now, about 30 notes |
Parameters
| Parameter | Type | Required | Notes |
|---|---|---|---|
username | string | Not served: the profile page lists a creator's posts without their ids. Ask profile, whose ext.posts lists them. |
The same parameters, and every response type, are in the OpenAPI document.
Response
Returns Page of Post in data. A real response, shortened: arrays keep their first entries and long text is cut.
{
"success": true,
"data": {
"platform": "xiaohongshu",
"items": [
{
"platform": "xiaohongshu",
"id": "6a730db50000000033011c29",
"url": "https://www.xiaohongshu.com/explore/6a730db50000000033011c29",
"author": {
"platform": "xiaohongshu",
"id": "641305180000000012012c22",
"displayName": "干完这票就碎觉",
"url": "https://www.xiaohongshu.com/user/profile/641305180000000012012c22",
"avatarUrl": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo31pnjhj14kk005p0j0kc4ib12…",
"ext": {
"xsecToken": "AByHSjvm2GViDK9ORqlP8Vshbv1Tg0fd5xEEEy03JJo2k="
}
},
"title": "share🫧两位数get的波点草莓刘海梳!ꈍᗜꈍ",
"ext": {
"type": "video",
"cover": {
"type": "image",
"url": "http://sns-web-i10.rednotecdn.com/202611270748/e56035417575c2c5e7743851c3a996…",
"width": 1290,
"height": 1720,
"thumbnailUrl": "http://sns-web-i10.rednotecdn.com/202611270748/ce04d5acb7f45ca2386e7ff4064f3a…",
"variants": [
{
"url": "http://sns-web-i10.rednotecdn.com/202611270748/ce04d5acb7f45ca2386e7ff4064f3a…",
"quality": "WB_PRV"
},
{
"url": "http://sns-web-i10.rednotecdn.com/202611270748/e56035417575c2c5e7743851c3a996…",
"quality": "WB_DFT"
}
]
},
"videoDurationSec": 32,
"metricsText": {
"likes": "28.9K"
},
"translation": {
"title": "share🫧Got this polka dot strawberry com"
},
"xsecToken": "ABnB-G86g96Km7WPUmitMAA99VGEbK1DDT-jTUeQI2msg="
},
"media": []
},
{
"platform": "xiaohongshu",
"id": "6ae89201000000002c01a61f",
"url": "https://www.xiaohongshu.com/explore/6ae89201000000002c01a61f",
"author": {
"platform": "xiaohongshu",
"id": "5746e9ea84edcd0e83e3f956",
"displayName": "琛宝的精致小厨房",
"url": "https://www.xiaohongshu.com/user/profile/5746e9ea84edcd0e83e3f956",
"avatarUrl": "https://sns-avatar-qc.rednotecdn.com/avatar/1040g2jo322ipun667u0048cmtvkuluam…",
"ext": {
"xsecToken": "ABN3EoBxnINmkfELcjl2HIomAPJUHpWRzUgxLNhst-huo="
}
},
"title": "在家自制宝宝火腿肠!巨香!巨好吃!",
"metrics": {
"likes": 320
},
"ext": {
"type": "video",
"cover": {
"type": "image",
"url": "http://sns-web-i10.rednotecdn.com/202611270748/13e65727db9498a360f057f3f6247a…",
"width": 2880,
"height": 3840,
"thumbnailUrl": "http://sns-web-i10.rednotecdn.com/202611270748/14240279651d9e5f8292df0b6e6c8c…",
"variants": [
{
"url": "http://sns-web-i10.rednotecdn.com/202611270748/14240279651d9e5f8292df0b6e6c8c…",
"quality": "WB_PRV"
},
{
"url": "http://sns-web-i10.rednotecdn.com/202611270748/13e65727db9498a360f057f3f6247a…",
"quality": "WB_DFT"
}
]
},
"videoDurationSec": 49,
"translation": {
"title": "DIY Baby Ham Sausages at Home! So fragra"
},
"xsecToken": "ABlGmzOS3GInWUNbvuM4MkcN__A92ZATOkBP30l-4SxhA="
},
"media": []
}
]
}
}Errors
| Status | Code | Meaning |
|---|---|---|
| 400 | INVALID_PARAMS | A parameter is missing, unknown or out of range. The message names it. |
| 401 | UNAUTHORIZED | The x-api-key header is missing, or the key is revoked or unknown. |
| 402 | INSUFFICIENT_CREDITS | Your credits do not cover this call. Choose a plan or top up in the dashboard. |
| 404 | NOT_FOUND | The account, post or group does not exist, or is private, deleted or age-restricted. |
| 429 | MARKETPLACE_SATURATED | Too many concurrent calls. Retry after the Retry-After seconds. |
| 502 | UPSTREAM_ERROR | The platform answered with something unusable. Retry with backoff. |
Every code is listed in Errors. Failed calls are not billed.
Pricing
Price 1 credit per call. Plans and credits.