搜索群聊/Search groups

Xiaohongshuapi

About

搜索群聊/Search groups

Documentation

搜索群聊/Search groups

[中文]

用途:

  • 根据关键词搜索小红书群聊列表,支持分页

参数:

  • keyword: 搜索关键词(必需),如 "上海"
  • page_no: 页码,从 0 开始
  • search_id: 搜索ID,翻页时传入首次搜索返回的值
  • source: 来源,默认 "unifiedSearchGroup"
  • is_recommend: 是否推荐,0=否, 1=是

返回:

  • 搜索结果数据,包含群聊列表和分页信息

翻页说明:

  • 首次请求:search_id 留空(自动生成),page_no 传 0
  • 翻页请求:传入首次搜索返回的 search_id,page_no 递增

[English]

Purpose:

  • Search Xiaohongshu groups by keyword, supports pagination

Parameters:

  • keyword: Search keyword (required), e.g. "上海"
  • page_no: Page number, start from 0
  • search_id: Search ID, pass value from first search response for pagination
  • source: Source, default "unifiedSearchGroup"
  • is_recommend: Is recommend, 0=no, 1=yes

Return:

  • Search result data, including group list and pagination info

Pagination Guide:

  • First request: leave search_id empty (auto-generated), page_no pass 0
  • Next page: pass search_id from first search response, increment page_no

[示例/Example]

keyword="上海" page_no=0

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

Try 搜索群聊/Search groups

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

Open in Playground

Related Models