TikTok modelsapi generation api

tiktok/web/search-photo

Search photo

Input
Idle

Example output — click Run to generate your own

API README

Search photo

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.

Related Models