获取用户笔记列表/Get user posted notes

Xiaohongshuapi

About

获取用户笔记列表/Get user posted notes

Documentation

获取用户笔记列表/Get user posted notes

[中文]

用途:

  • 获取指定用户已发布的笔记列表,使用游标分页

参数:

  • user_id: 用户ID,如 "61b46d790000000010008153"
  • share_text: 小红书分享链接(支持APP和Web端分享链接)
  • 优先使用user_id,如果没有则使用share_text,两个参数二选一,如都携带则以user_id为准。
  • cursor: 分页游标,首次请求留空,翻页时传入上一次响应中返回的 cursor 值
    • 通常cursor取值方式为notes列表的最后一条笔记的 note_id
    • JSON路径示例: $.data.data.notes[-1].cursor

返回:

  • 用户笔记列表数据,包含笔记基本信息和分页信息

翻页说明:

  • 首次请求:cursor留空
  • 翻页请求:传入上一次响应中返回的 cursor 值

[English]

Purpose:

  • Get list of notes posted by a specified user, using cursor pagination

Parameters:

  • user_id: User ID, e.g. "61b46d790000000010008153"
  • share_text: Xiaohongshu sharing link (support APP and Web sharing link)
  • Prefer to use user_id, if not, use share_text, one of the two parameters is required, if both are carried, user_id shall prevail.
  • cursor: Pagination cursor, leave empty for first request, pass cursor value from previous response for next page
    • The cursor is usually the note_id of the last note in the notes list
    • JSON path example: $.data.data.notes[-1].cursor

Return:

  • User posted notes list data, including basic note info and pagination info

Pagination Guide:

  • First request: leave cursor empty
  • Next page: pass cursor value from previous response

[示例/Example]

user_id="61b46d790000000010008153"

Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.

Try 获取用户笔记列表/Get user posted notes

Test this model in the Sandbase Playground with your own prompts.

Open in Playground

Related Models