社交和社区

小红书 API 15 个接口,一种请求。

小红书的公开数据,返回 JSON:搜索、榜单趋势、内容详情等。每个接口的请求方式一样,返回的结构也一样。

获取 API key看文档

  • 15个接口
  • $0.0018每条最低价
  • 13个能用 cursor 翻页
  • 10个可用试用额度

小红书的全部接口

按返回的东西分组。点一行打开它的页面:参数、字段、代码和一次真实返回。

一次真实的返回

对「搜索笔记」的一次真实请求。点发送,本页会把它发给免费的演示接口。

GET /v1/demo/xiaohongshu/search?keyword=%E6%98%9F%E5%B7%B4%E5%85%8B
$ API="https://api.silklinedata.com"
$ curl "$API/v1/demo/xiaohongshu/search?keyword=%E6%98%9F%E5%B7%B4%E5%85%8B"

一次真实请求存下的返回 · 取数日期 2026-11-15 · 演示请求不收费 · 普通用户的名字已遮住。

200 OK
{
  "data": [
    {
      "type": "note",
      "noteId": "6ac4025e0000000012035ea2",
      "url": "https://www.xiaohongshu.com/explore/6…",
      "xsecToken": "YB6I…",
      "noteType": "image",
      "title": "星巴克🎄2026 Holiday Menu",
      "description": "Starbucks Holiday 2026 menu11/5就要⬆…",
      "authorName": "<masked>",
      "authorId": "<masked>",
      "authorRedId": "<masked>",
      "authorAvatar": "<masked>",
      "authorIpLocation": null,
      "authorVerified": false,
      "authorUrl": "<masked>",
      "publishedAt": "2026-10-05T20:02:38Z",
      "likes": 237,
      "collects": 63,
      "comments": 12,
      "shares": 272,
      "coverUrl": "https://sns-na-i27.xhscdn.com/notes_p…",
      "imageUrls": [
        "https://sns-na-i27.xhscdn.com/notes_p…",
        "https://sns-na-i27.xhscdn.com/notes_p…",
        "https://sns-na-i27.xhscdn.com/notes_p…",
        "https://sns-na-i27.xhscdn.com/notes_p…",
        "https://sns-na-i27.xhscdn.com/notes_p…",
        "https://sns-na-i27.xhscdn.com/notes_p…",
        "https://sns-na-i27.xhscdn.com/notes_p…"
      ],
      "videoUrl": null,
      "imageCount": 7,
      "durationSeconds": null,
      "hashtags": []
    },
    {
      "type": "note",
      "noteId": "6af563aa00000000160196e7",
      "url": "https://www.xiaohongshu.com/explore/6…",
      "xsecToken": "YBzd…",
      "noteType": "image",
      "title": "新🎄星:圣诞抹茶苹果奶",
      "description": "在⭐星巴克新品Snowy Apple drink的基础…",
      "authorName": "<masked>",
      "authorId": "<masked>",
      "authorRedId": "<masked>",
      "authorAvatar": "<masked>",
      "authorIpLocation": null,
      "authorVerified": false,
      "authorUrl": "<masked>",
      "publishedAt": "2026-11-12T06:58:51Z",
      "likes": 1254,
      "collects": 631,
      "comments": 47,
      "shares": 682,
      "coverUrl": "https://sns-na-i27.xhscdn.com/note_pr…",
      "imageUrls": [
        "https://sns-na-i27.xhscdn.com/note_pr…",
        "https://sns-na-i27.xhscdn.com/note_pr…"
      ],
      "videoUrl": null,
      "imageCount": 2,
      "durationSeconds": null,
      "hashtags": []
    },
    …
  ]
}