Back to catalog

Tikhub · Social

获取综合搜索列表/Get general search list

[中文] ### 用途: - 获取综合搜索列表 ### 参数: - keyword: 搜索关键词 - offset: 翻页游标,第一次请求时为0,第二次请求时从上一次请求的返回响应中获取,一般这个值的关键字为offset或者cursor。 - searchid: 搜索id,第一次请求时为空,第二次翻页时需要提供,需要从上一次请求的返回响应中获取。 - 例如: searchid = "20240828035554C02011379EBB6A00E00B" - JSON Path-1 : $.data.extra.logid - JSON Path-2 : $.data.logpb.imprid - cookie: 用户cookie(如果你需要使用自己的账号搜索,或者遇到接口报错,可以自行提供cookie,默认不需要提供) ### 返回: - 综合搜索列表 ### 备注: - 此接口返回的视频CDN直链需要携带返回的 ttchaintoken 才能访问,否则会返回 HTTP 403。 - 访问视频CDN直链时,请在请求头中携带 Cookie: ttchaintoken={ttchaintoken},其中 {ttchaintoken} 替换为接口返回的值。 - 如果视频CDN直链仍返回 HTTP 403: 1. 请改用响应中以 https://www.tiktok.com/aweme/v1/play/ 开头的视频链接(位于 video 下各 UrlList 中) 2. 请求该链接时不要携带任何 Cookie,携带 ttchaintoken 会导致 HTTP 403 - 如果需要无需任何 Cookie 即可直接访问的无水印视频链接,请使用 /fetchpostdetail 或 TikTok APP V3 目录下的接口。 # [English] ### Purpose: - Get general search list ### Parameters: - keyword: Search keyword - 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. - searchid: 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: searchid = "20240828035554C02011379EBB6A00E00B" - JSON Path-1 : $.data.extra.logid - JSON Path-2 : $.data.logpb.imprid - 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: - General search list ### Note: - The direct video CDN links returned by this interface require the returned ttchaintoken to be accessed, otherwise HTTP 403 will be returned. - When accessing a direct video CDN link, carry Cookie: ttchaintoken={ttchaintoken} in the request header, where {ttchaintoken} is the value returned by this interface. - If a direct video CDN link still returns HTTP 403: 1. Use the video link starting with `https://www.tiktok.com/aweme/v1/pla

Private Gateway connection

Data below comes from the configured private Gateway. Provider activation remains governed by its evidence and policy gates.

unverifiedRequest shape unavailableUnverified
Published API evidence
Public metadata only. Response bodies, credentials, and internal review notes are never displayed.

No verification date is claimed. No response capture is claimed.

Request parameters

  • cookie query · optional

    用户cookie(按需提供)/User cookie(if needed)

  • keyword query · required

    搜索关键词/Search keyword

  • offset query · optional

    翻页游标/Page cursor

  • search_id query · optional

    搜索id,翻页时需要提供/Search id, need to provide when paging

Sign in to run this operation, inspect live eligibility, and see governed execution and audit evidence. Sign in.