Xiaohongshu/小红书
获取笔记子级评论
POST
https://api.getoneapi.com/api/xiaohongshu/fetch_video_sub_comment请求参数
Header 参数
Authorization
string
必需
在 Header 添加参数 Authorization,其值为在 Bearer 之后拼接 apikey
默认值:
Bearer YOUR_API_KEY
Content-Type
string
必需
默认值:
application/json
Body 参数
application/jsonnoteId
string
笔记ID
必需
示例值:
68bebd21000000001b03315d
commentId
string
一级评论ID
必需
cursor
string
翻页参数
可选
上一页最后一条评论的ID
示例
{
"noteId" : "",
"cursor" : "",
"commentId" : ""
}返回响应
响应 200
application/jsoncode
integer
必需
message
string
必需
data
object
必需
示例
{
"code" : 200,
"message" : "success",
"data" : { }
}请求示例代码
替换 YOUR_API_KEY、参数占位符与请求数据后使用。第三方客户端需先安装对应依赖。
curl --globoff --request POST 'https://api.getoneapi.com/api/xiaohongshu/fetch_video_sub_comment' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"noteId" : "",
"cursor" : "",
"commentId" : ""
}'