搜索接口/Search API

Pipixiaapi

About

搜索接口/Search API

Documentation

搜索接口/Search API

[中文]

用途:

  • 搜索接口,支持搜索用户、作品等。

参数:

  • keyword: 搜索关键词。
  • offset: 翻页游标,默认为0,后续页码从上一页返回的 offset Key中获取对应值。
  • search_type: 搜索类型,可用值如下:
    • 1: 综合
    • 8: 热门
    • 9: 新鲜
    • 2:视频
    • 3:图文
    • 4:用户
    • 5:话题

返回:

  • 搜索结果

[English]

Purpose:

  • Search API, support search user, post, etc.

Parameters:

  • keyword: Search keyword.
  • offset: Page cursor, default is 0, get the corresponding value from the offset Key in the previous page.
  • search_type: Search type, available values are as follows:
    • 1: Comprehensive
    • 8: Hot
    • 9: Fresh
    • 2: Video
    • 3: Photo
    • 4: User
    • 5: Hashtag

Return:

  • Search result

[示例/Example]

keyword = "皮皮虾" offset = "0" search_type = "1"

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

Try 搜索接口/Search API

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

Open in Playground

Related Models