搜索照片/Search photo

TikTokapi

About

搜索照片/Search photo

Documentation

搜索照片/Search photo

[中文]

用途:

  • 搜索照片

参数:

  • keyword: 搜索关键词
  • count: 每页数量,建议保持默认值20。
  • offset: 翻页游标,第一次请求时为0,第二次请求时从上一次请求的返回响应中获取,一般这个值的关键字为offset或者cursor。
  • search_id: 搜索id,第一次请求时为空,第二次翻页时需要提供,需要从上一次请求的返回响应中获取。
    • 例如: search_id = "20240828035554C02011379EBB6A00E00B"
    • JSON Path-1 : $.data.extra.logid
    • JSON Path-2 : $.data.log_pb.impr_id
  • cookie: 用户cookie(如果你需要使用自己的账号搜索,或者遇到接口报错,可以自行提供cookie,默认不需要提供)

返回:

  • 视频列表

[English]

Purpose:

  • Search photo

Parameters:

  • keyword: Search keyword
  • count: Number per page, it is recommended to keep the default value 20.
  • offset: Page cursor, 0 for the first request, need to provide for the second paging, generally the keyword of this value is offset or cursor.
  • search_id: Search id, empty for the first request, need to provide for the second paging, need to get it from the return response of the last request.
    • For example: search_id = "20240828035554C02011379EBB6A00E00B"
    • JSON Path-1 : $.data.extra.logid
    • JSON Path-2 : $.data.log_pb.impr_id
  • offset: Page cursor
  • cookie: User cookie (If you need to search with your own account, or encounter an interface error, you can provide the cookie yourself, default is not required)

Return:

  • Video list

[示例/Example]

keyword = "TikTok" count = 20 offset = 0 search_id = ""

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

Try 搜索照片/Search photo

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

Open in Playground

Related Models