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);HttpResponse<String> response = Unirest.get("https://api.keyapi.ai/v1/tiktok/search/analytics")
.header("Authorization", "Bearer <token>")
.asString();{
"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 内容数据
搜索通用接口-EchoTik
提供EchoTik搜索框的搜索功能,包含达人、商品、小店、视频、直播等搜索,接口支持分词、模糊以及精准搜索等特性。
注:该接口最多只会返回30条数据,并且该接口不会像列表接口一样返回很多指标、字段等, 如需等多数据请再调用相关的详情接口。
模糊搜索:需要2个及以上的词进行匹配 精准搜索:需要全部词进行匹配
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);HttpResponse<String> response = Unirest.get("https://api.keyapi.ai/v1/tiktok/search/analytics")
.header("Authorization", "Bearer <token>")
.asString();{
"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 助手生成接口调用代码。
授权
接口鉴权凭证。请在请求 Header 中传入 Authorization: Bearer <YOUR_API_KEY>。
可在 Dashboard 获取你的 API Key。
查询参数
响应
请求成功
The response is of type object.

