1. 小红书系列插件
AI Conductor工具箱
  • 通用自媒体工具
    • 视频文件转音频
      POST
    • 音/视频转写文字
      POST
    • 音/视频转写文字_v2
      POST
    • 作品分享链接解析
      POST
    • 获取视频下载链接
      POST
    • 获取音视频时长
      POST
    • 图片永久云储存
      POST
    • 通用RSS解析器
      POST
  • 抖音系列插件
    • 获取作品详情
      POST
    • 获取作品评论
      POST
    • 获取用户视频_同步
      POST
    • 获取用户视频_异步_提交
      POST
    • 获取用户视频_异步_查询
      POST
    • 获取用户详情
      POST
    • 抖音用户搜索
      POST
    • 抖音视频搜索
      POST
    • 抖音视频搜索_高速
      POST
    • 作品链接转文字_v1
      POST
    • 作品链接转文字_v2
      POST
  • Markdown转换器
    • Markdown转PNG
      POST
    • Markdown转PDF
      POST
    • Markdown转HTML
      POST
    • Markdown转XLSX
      POST
    • Markdown转Docx
      POST
    • 文档转Markdown
      POST
    • Markdown转XHS
      POST
    • Markdown转Mindmap
      POST
    • URL转Markdown
      POST
  • 网页工具
    • 网页截图工具
    • 网页发布工具
  • 小红书系列插件
    • 获取笔记详情_v2
      POST
    • 获取笔记详情_v3
      POST
    • 笔记搜索(翻页)_v2
      POST
    • 获取用户详情_v2
      POST
    • 获取用户笔记(翻页)_v2
      POST
  • 微信公众号系列插件
    • 获取历史文章
    • 获取历史文章(指定账号范围)
    • 获取文章数据
    • 获取授权密钥
    • 文章存为草稿
    • 上传图片素材
    • 发布文章草稿
    • MD 转 WXHTML
  • 图像处理
    • 智能美颜
    • 智能换脸
    • 智能变美
    • 等比缩小
  • 通用工具
    • 网络信息搜索
  • 扣子工作流
    • 获取公众号历史文章
  • 用户管理
    • 查询账户余额
  • 图片生成工具
    • Seedream模型
  1. 小红书系列插件

获取用户笔记(翻页)_v2

POST
/api/xhs_user_notes_v2

接口信息#

URL: http://plugin.aiconductor.fun/api/xhs_user_notes_v2
方法: POST / GET
Content-Type: application/json
鉴权: 请求头 Authorization: Bearer <api_key>(兼容 body/query 中 api_key 参数)

功能说明#

根据用户ID获取小红书用户笔记列表,支持自动翻页,使用 max_pages 和 max_seconds 控制翻页范围。按页计费,每页计费一次(0.15元/页)。

请求参数#

参数名类型必填默认值说明
user_idstring是小红书用户ID,从用户主页链接 /user/profile/ 后提取
max_pagesinteger否1最大翻页数
max_secondsinteger否50最长运行时长(秒),超时自动停止
鉴权参数:api_key 通过请求头 Authorization: Bearer <api_key> 传递,不再列入请求参数表。

响应参数#

参数名类型说明
successboolean是否成功
messagestring响应消息
dataobject笔记列表数据
data.notesarray笔记列表
data.notes[].noteIdstring笔记ID
data.notes[].titlestring笔记标题
data.notes[].typestring笔记类型(video/normal)
data.notes[].timeinteger发布时间(毫秒时间戳)
billingobject计费信息
billing.service_feefloat单页服务费
billing.discount_appliedboolean是否应用折扣
billing.balance_beforefloat扣费前余额
billing.balance_afterfloat扣费后余额
billing.currencystring货币类型(CNY)
billing.pages_billedinteger实际计费页数
billing.total_service_feefloat总服务费
billing.transaction_idsarray交易ID列表

请求示例#

注意事项#

1.
按页计费,每成功获取一页数据扣费一次
2.
max_pages 控制最大翻页数,max_seconds 控制最长运行时间,两者任一达到限制即停止
3.
余额不足时自动停止翻页,已获取的数据正常返回
4.
采用后扣费模式,仅成功获取数据的页面才计费
5.
user_id 从小红书用户主页链接中提取,格式为 https://www.xiaohongshu.com/user/profile/{user_id}

请求参数

Header 参数

Body 参数application/json必填

示例
{
    "user_id": "5e7e31a20000000001004b48", 
    "max_pages": 1, 
    "max_seconds": 50
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://plugin.aiconductor.fun/api/xhs_user_notes_v2' \
--header 'Authorization: Bearer {{AICONDUCTOR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "user_id": "5e7e31a20000000001004b48", 
    "max_pages": 1, 
    "max_seconds": 50
}'

返回响应

🟢200成功
application/json
Body

示例
{
    "success": true,
    "message": "用户笔记获取完成。成功获取 1 页数据,共 20 条记录。",
    "billing": {
        "service_fee": 0.15,
        "discount_applied": true,
        "balance_before": 780.7396,
        "balance_after": 780.5896,
        "currency": "CNY",
        "pages_billed": 1,
        "total_service_fee": 0.15,
        "transaction_ids": [
            1494944
        ]
    },
    "data": {
        "notes": [
            {
                "noteId": "69e7440a000000002301291d",
                "time": 1776763914000,
                "title": "光遇狂欢季季卡与非季卡物品展示,大家会入手季卡吗?#光遇[话",
                "type": "video"
            },
            {
                "noteId": "69e5ea99000000001b00102d",
                "time": 1776675481000,
                "title": "新季节动作转场来啦#光遇[话题]# #光遇追光计划[话题]#",
                "type": "video"
            },
            {
                "noteId": "69e493b9000000002302099c",
                "time": 1776587705000,
                "title": "绊爱穿搭展示!最后一套萌炸了!#光遇[话题]# #光遇追光计",
                "type": "video"
            },
            {
                "noteId": "69e338c3000000001d01e381",
                "time": 1776498883000,
                "title": "光遇绊爱联动新物品展示#光遇[话题]# #光遇追光计划[话题",
                "type": "video"
            },
            {
                "noteId": "69e20a490000000023011052",
                "time": 1776421449000,
                "title": "光遇绊爱全景演唱会!这还是我认识的光遇吗!还有新物品!#光遇",
                "type": "video"
            },
            {
                "noteId": "69e09b870000000023021f0a",
                "time": 1776327559000,
                "title": "我们这次是真的分手了#光遇[话题]# #光遇追光计划[话题]",
                "type": "video"
            },
            {
                "noteId": "69df56c60000000021005209",
                "time": 1776244422000,
                "title": "武士裤真的要复刻了!#光遇[话题]# #光遇追光计划[话题]",
                "type": "video"
            },
            {
                "noteId": "69de28f800000000230240ef",
                "time": 1776167160000,
                "title": "备注了什么呀#光遇[话题]# #光遇追光计划[话题]# #光",
                "type": "video"
            },
            {
                "noteId": "69dca467000000001d019efd",
                "time": 1776067688000,
                "title": "光遇红娘来了 (f:@Sky白昼 )#光遇[话题]# #光遇",
                "type": "video"
            },
            {
                "noteId": "69d4883b00000000210061f4",
                "time": 1775536187000,
                "title": "光之子们哈喽#光遇[话题]# #光遇追光计划[话题]# #光",
                "type": "video"
            },
            {
                "noteId": "69d080660000000023013215",
                "time": 1775272038000,
                "title": "宝宝说她新学了一个哄人方式#光遇[话题]# #光遇追光计划[",
                "type": "video"
            },
            {
                "noteId": "69c793630000000023026c07",
                "time": 1774687075000,
                "title": "当我的崽崽问我凭什么教育她,于是我拿出了我的…#光遇[话题]",
                "type": "video"
            },
            {
                "noteId": "69c63f7d0000000023021938",
                "time": 1774600061000,
                "title": "光遇狂欢季物品展示#光遇[话题]# #光遇追光计划[话题]#",
                "type": "normal"
            },
            {
                "noteId": "69c4fd7e0000000023011182",
                "time": 1774517630000,
                "title": "早说你喜欢呀#光遇[话题]# #光遇追光计划[话题]# #光",
                "type": "video"
            },
            {
                "noteId": "69c4fab7000000001d018540",
                "time": 1774516919000,
                "title": "光遇的腿控福利#光遇[话题]# #光遇追光计划[话题]# #",
                "type": "video"
            },
            {
                "noteId": "69c25428000000001d01b556",
                "time": 1774343209000,
                "title": "当我没文化又想撩时#光遇[话题]# #光遇追光计划[话题]#",
                "type": "video"
            },
            {
                "noteId": "69bfaa76000000002200d4c1",
                "time": 1774168694000,
                "title": "家崽们做完每日任务可以先不急着提交#光遇[话题]# #光遇追",
                "type": "video"
            },
            {
                "noteId": "69b682f3000000001d01c046",
                "time": 1773568755000,
                "title": "新季节无翼有可能坠机?小金人位置改动,依旧有坠机风险!#光遇",
                "type": "video"
            },
            {
                "noteId": "69b294480000000022032375",
                "time": 1773311048000,
                "title": "发型和裤子是代币!寻宝节新物品获取方式来啦!#光遇[话题]#",
                "type": "video"
            },
            {
                "noteId": "69afe9060000000022031ea1",
                "time": 1773136134000,
                "title": "子弹要飞多久才会变成和平的白鸽#光遇[话题]# #光遇追光计",
                "type": "video"
            }
        ]
    }
}
修改于 2026-04-22 04:00:39
上一页
获取用户详情_v2
下一页
获取历史文章
Built with