cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/search/analytics' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/tiktok/search/analytics',
params={},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const response = await fetch('https://api.keyapi.ai/v1/tiktok/search/analytics',
{
method: 'GET',
headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
}
);
const data = await response.json();
console.log(data);{
"code": 0,
"message": "success",
"data": [
{
"avatar": "https://echosell-images.tos-ap-southeast-1.volces.com/user-avatar/105/MS4wLjABAAAA7fFYOyzWslqGUq5-RPabVG7PBgUbWAnn8gEkAVHojMCMDuO2CvFv3OkZRdQOFbr6.jpg",
"category": "Entertainment",
"region": "US",
"highlight": null,
"contact_email": "spiritamethystt@gmail.com",
"influencer_level": "4",
"nick_name": "Spirit Amethystt 🌺",
"total_digg_cnt": 81730646,
"total_followers_cnt": 1623154,
"total_live_cnt": 1,
"total_live_views_cnt": 34432,
"total_post_video_cnt": 1342,
"total_product_cnt": 19,
"total_sale_cnt": 4582,
"total_sale_gmv_amt": 564100.61,
"total_views_cnt": 151867772,
"unique_id": "spiritamethystt",
"user_id": "6720730872091345925"
}
],
"requestId": "91c7d5fd-8091-4d4d-aff0-15f947d24e2e"
}{
"code": 400,
"data": null,
"message": "Missing required parameter: handle"
}{
"code": 401,
"data": null,
"message": "apiKey is null"
}{
"code": 402,
"data": null,
"message": "apiKey quota is not enough"
}{
"code": 429,
"data": null,
"message": "qps limit exceeded"
}{
"code": 500,
"data": null,
"message": "Internal server error"
}TikTok 内容数据
搜索分析
提供搜索功能,包含达人、商品、小店、视频、直播等搜索,接口支持分词、模糊以及精准搜索等特性。 注:该接口最多只会返回30条数据,并且该接口不会像列表接口一样返回很多指标、字段等, 如需等多数据请再调用相关的详情接口。
GET
/
v1
/
tiktok
/
search
/
analytics
cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/search/analytics' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/tiktok/search/analytics',
params={},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const response = await fetch('https://api.keyapi.ai/v1/tiktok/search/analytics',
{
method: 'GET',
headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
}
);
const data = await response.json();
console.log(data);{
"code": 0,
"message": "success",
"data": [
{
"avatar": "https://echosell-images.tos-ap-southeast-1.volces.com/user-avatar/105/MS4wLjABAAAA7fFYOyzWslqGUq5-RPabVG7PBgUbWAnn8gEkAVHojMCMDuO2CvFv3OkZRdQOFbr6.jpg",
"category": "Entertainment",
"region": "US",
"highlight": null,
"contact_email": "spiritamethystt@gmail.com",
"influencer_level": "4",
"nick_name": "Spirit Amethystt 🌺",
"total_digg_cnt": 81730646,
"total_followers_cnt": 1623154,
"total_live_cnt": 1,
"total_live_views_cnt": 34432,
"total_post_video_cnt": 1342,
"total_product_cnt": 19,
"total_sale_cnt": 4582,
"total_sale_gmv_amt": 564100.61,
"total_views_cnt": 151867772,
"unique_id": "spiritamethystt",
"user_id": "6720730872091345925"
}
],
"requestId": "91c7d5fd-8091-4d4d-aff0-15f947d24e2e"
}{
"code": 400,
"data": null,
"message": "Missing required parameter: handle"
}{
"code": 401,
"data": null,
"message": "apiKey is null"
}{
"code": 402,
"data": null,
"message": "apiKey quota is not enough"
}{
"code": 429,
"data": null,
"message": "qps limit exceeded"
}{
"code": 500,
"data": null,
"message": "Internal server error"
}🪙1 credit每次请求
Copy for AI
🤖 让 AI 帮你写调用代码
点击按钮复制一段结构化提示词,可直接交给 ChatGPT、Claude 或其他 AI 助手生成接口调用代码。
授权
查询参数
搜索词。
地区代码,可选;留空时不按地区筛选。
搜索类型,1=达人,2=商品,3=店铺,4=视频,5=直播。
最多返回 30 条数据。
搜索方式,0=模糊搜索,1=精确搜索;默认模糊搜索。
响应
请求成功
The response is of type object.
⌘I

