小红书笔记数据 API:笔记搜索

小红书笔记数据 API:笔记搜索。只取数,不发帖。残缺交付不计费。

请求参数

  • keyword:搜索词
  • cursor:翻页游标,取上一页 next_cursor;首页留空
  • page:页码,从 1 起
  • page_size:每页条数
curl -sS -X POST 'https://api.xtree.io/api/xhs/notes/search' -H 'X-XTREE-Key: xt_live_...' -H 'Content-Type: application/json' -d '{"keyword": "中国日报", "page": 1}'

返回字段

  • has_more (boolean)
  • items (array)
  • page (number)
  • page_size (number)
  • total (number)

以后以目录标价为准。 API 目录 在开发文档里调试 小红书笔记搜索