Xiaohongshu Topic Note List

26.19 credits/call
ae_xiaohongshu_topic_note_list

通过话题 ID 获取小红书话题下的笔记列表,支持按最热或最新排序以及游标分页。首次查询省略分页状态;后续页使用本工具上次返回的游标、搜索或会话状态,不能复用旧供应商的游标。

Social
26.19 credits/call

Pricing

26.19 credits/call
ConditionCharge
Each call26.19 credits/call

The fixed fee is 26.19 credits per call.

Successful requests are charged even when no notes are returned. Failed requests are not charged. Fetching the next page with a cursor is a separate call and is charged separately if successful.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
sortstringNo排序方式/Sort: trend(最热), time(最新)trend
sourcestringNo来源/Sourcenormal
page_idstringYes话题页面ID/Topic page ID—
session_idstringNo会话ID,翻页时保持一致/Session ID, keep consistent for pagination""
cursor_scorestringNo分页游标分数,翻页时传入/Pagination cursor score for next page""
last_note_ctstringNo上一页最后一条笔记创建时间,翻页时传入/Last note create time from previous page""
last_note_idstringNo上一页最后一条笔记ID,翻页时传入/Last note ID from previous page""
first_load_timestringNo首次加载时间戳,翻页时保持一致/First load timestamp, keep consistent for pagination""

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_xiaohongshu_topic_note_list' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "page_id": "62be8c8d000000000101ecb1",
    "sort": "time",
    "source": "normal"
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "code": 200,
  "data": {
    "code": 0,
    "data": {
      "has_more": false,
      "items": []
    },
    "debug_id": "d2207bb9",
    "debug_info": "gAAAAABq_BB77ubYddGdsES2rcyplaVue9ngP9wm-TaQMu5pOPKszlkQMYU0V7TsdCUnUnIWkG9I8mbgwsGMshGXawX0kqJBNzu4nP0xMV8JiUVacjL_h6R9afRnrujEkQQZBovuW27RAnjyR-IUET4vHipRJm89ufDwT1JQV6OF2RHlS_wG7koWCoLzE6vF6DLvmMNrlpo5ggAqV22PtRtiDl3DNUfwhIkKx4FL8TZlO8-iiPR4UKFz99HtHGNi",
    "msg": "成功",
    "success": true
  },
  "docs": "https://api.tikhub.io/#/Xiaohongshu-App-V2-API/get_topic_feed_api_v1_xiaohongshu_app_v2_get_topic_feed_get",
  "message": "Request successful. This request will incur a charge.",
  "message_zh": "请求成功,本次请求将被计费。",
  "params": {
    "cursor_score": "",
    "first_load_time": "",
    "last_note_ct": "",
    "last_note_id": "",
    "page_id": "62be8c8d000000000101ecb1",
    "session_id": ""
  }
}

This example shows part of the response. Copied content is valid JSON.