跳转到主要内容
POST
/
v1
/
tiktok
/
product
/
image-search
/
analytics
cURL
curl --request POST \
  --url 'https://api.keyapi.ai/v1/tiktok/product/image-search/analytics' \
  --header 'Authorization: Bearer <YOUR_API_KEY>'
import requests

response = requests.post(
'https://api.keyapi.ai/v1/tiktok/product/image-search/analytics',
params={},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())
const response = await fetch('https://api.keyapi.ai/v1/tiktok/product/image-search/analytics',
{
method: 'POST',
headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
}
);
const data = await response.json();
console.log(data);
{
  "code": 0,
  "message": "success",
  "data": [
    {
      "_index": "product_image_search",
      "_id": "1731083827559830517",
      "_score": 31.961123,
      "_source": {
        "product_id": "1731083827559830517",
        "priority_region": "US",
        "vector_source_image": "tos://echosell-images/product-cover/649/1731083827559830517_0.jpeg",
        "product_name": "Bibliophobia: A Memoir"
      }
    }
  ],
  "requestId": "79e17592-5dc7-42ed-97f9-a0929413d230"
}
{
"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 助手生成接口调用代码。

授权

Authorization
string
header
必填

接口鉴权凭证。请在请求 Header 中传入 Authorization: Bearer <YOUR_API_KEY>。 可在 Dashboard 获取你的 API Key。

请求体

application/json
image_base64
string
必填

Image base64 string

size
integer
必填

Maximum return 30 items

product_name
string

Product name (optional)

region
string

Region (optional). Sending this field will restrict the specific region; for example, you can send "US".

响应

请求成功

The response is of type object.