TikTok modelsapi generation api

tiktok/web/search-user

Search user

Input
Idle

Example output — click Run to generate your own

API README

Search user

Purpose:

  • Search user Parameters:
  • keyword: Search keyword
  • cursor: 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
  • 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:
  • User list Note:
  • If the status_code in the data field of the interface response is not 0, it means that the search request was not successful. Please check the exceptions in the response. You may be searching for keywords that TikTok does not allow, or searching for sensitive content. Please change the keywords and try again.

[Example]

keyword = "TikTok" cursor = 0 search_id = ""

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

Related Models