TikTok Fetch Search Live
Search for live broadcasts matching a keyword. - `keyword` (required): Search term. - `count`: Number of results per page; defaults to 20. - `offset`: Page cursor; use 0 for the first request. - `search_id`: Continuation identifier for paging; leave empty for the first request, then reuse the value returned by the previous response together with the next offset. - `cookie`: Optional user cookie, only when needed. Returns a response whose `data` field contains the matching live-search results. The exact result fields depend on the returned data.
Pricing
| Condition | Charge |
|---|---|
| Each call | 2.07 credits/call |
2.07 credits/call Charges are per query. A successful query is billed even if it returns no results.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
count | integer | No | 每页数量/Number per page | 20 |
cookie | string | No | 用户cookie(按需提供)/User cookie(if needed) | — |
offset | integer | No | 翻页游标/Page cursor | 0 |
keyword | string | Yes | 搜索关键词/Search keyword | — |
search_id | string | No | 搜索id,翻页时需要提供/Search id, need to provide when paging | "" |
Invocation example
Copy the request and explore its response example.
/agent-api/v1/tool/executeX-Api-Keycurl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_tiktok_fetch_search_live' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"count": 20,
"keyword": "吸奶器",
"offset": 0
}
}'{
"code": 200,
"data": {
"backtrace": "",
"cookie": "[REDACTED]",
"cursor": 20,
"extra": {
"api_debug_info": null,
"fatal_item_ids": [],
"logid": "202611100541011668CBA41B5A6702DB8C",
"now": 1794289261000,
"search_request_id": ""
},
"has_more": 1,
"log_pb": {
"impr_id": "202611100541011668CBA41B5A6702DB8C"
}
},
"docs": "https://api.tikhub.io/#/TikTok-Web-API/fetch_search_live_api_v1_tiktok_web_fetch_search_live_get",
"message": "Request successful. This request will incur a charge.",
"message_zh": "请求成功,本次请求将被计费。",
"params": {
"count": "20",
"keyword": "吸奶器",
"offset": "0",
"search_id": ""
}
}This example shows part of the response. Copied content is valid JSON.

