综合搜索/search all

Bilibiliapi

About

综合搜索/search all

Documentation

综合搜索/search all

[中文]

用途:

  • 综合搜索(返回所有类型的搜索结果)

参数:

  • keyword: 搜索关键词(必填)
  • cursor: 翻页游标。首页留空;翻页时把上一页响应里返回的 data.pagination.next 原样传回。 本接口为游标翻页,不支持按页码随机跳转。
  • page_size: 每页结果数量
  • order: 排序方式(0=综合排序)

返回:

  • 搜索结果,包含nav(分类导航)、item(搜索结果)、pagination(分页信息)等
  • 下一页游标:$.data.data.pagination.next,把它作为下一次请求的 cursor 传回; 当该字段缺失(末页时不返回 pagination)或为空字符串时,表示没有更多数据,应停止翻页

[English]

Purpose:

  • search all (returns all types of search results)

Parameters:

  • keyword: Search keyword (required)
  • cursor: Pagination cursor. Leave empty for the first page; for the next page pass back data.pagination.next from the previous response. This endpoint uses cursor pagination and does not support random access by page number.
  • page_size: Results per page
  • order: Sort order (0=comprehensive)

Return:

  • Search results including nav (category navigation), item (results), pagination, etc.
  • Next-page cursor: $.data.data.pagination.next; pass it back as cursor on the next request. When this field is absent (pagination is omitted on the last page) or empty, there is no more data and you should stop paginating.

[示例/Example]

keyword = "原神" cursor = "" page_size = 20

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

Try 综合搜索/search all

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

Open in Playground

Related Models